deepcode.eth (@deepcode) header
deepcode.eth (@deepcode) profile picture

information technologist

🦇🔊
Joined January 2009
Photo by deepcode.eth (@deepcode)
Me & @deepcode finally did it! Write up soon. Stay tuned. Tx: 0xce7f9b1ab525bf067194a55f6a85aca523fb9d19f36eb4e60bcf383ff40edb84
Wow found 400$ from the 2022 👀
2
3
27
6,081
deepcode.eth retweeted
New framework on developer-targeted intrusions. Based on SEAL's incident responses, it covers the most common attack vectors we observe against devs. Learn to threat model your execution environment and stay secure against persistent malware campaigns. frameworks.securityalliance.…
3
17
3
62
7,615
deepcode.eth retweeted
Use our tx debugger agent skill to understand the chain of events in this exploit ⤵️ ➡️ Throwaway contract freed ETH-A collateral from 4 GEB SAFEs via GlobalSettlement ➡️ exited it as WETH ➡️ unwrapped it ➡️ forwarded ~5.9436 ETH back to the attacker teapawt.net/exvulsec/status/209481…
🚨 ALERT — Exploit on Ethereum A GEB/RAI-style CDP deployment (Reflexer's GEB framework, in Global Settlement since Jan 2021) was just drained of its leftover ETH-A collateral. ~5.94($14k) ETH stolen. Root cause: several SAFEs were owned by the shared GebProxyActions library itself (0x84fe452d9fb495a335c74a225e6ad52c35eb8616), not by user proxies. Its quitSystem() is public and unauthenticated, so the attacker called it directly — GebSafeManager's msg.sender == ownsSAFE[safe] check passed (the library calling as itself) — and migrated other users' collateral to himself, then freeCollateral + exit. Flow (per SAFE): processSAFE → quitSystem → freeCollateral → CollateralJoin.exit → WETH.withdraw Attack tx: etherscan.io/tx/0xfbce28e35c… Attacker: 0xb929c7215c0ec8ebad5fbf73b1da63bccfff1896 Exploit contract: 0x6a213f0b5bd9eed865d3e2efc867b73dfe9039e7 Lesson: never let a stateless, shared "proxy-actions" contract become the registered owner of a position — its public helpers turn into anyone's withdraw button. Subscribe to our TG bot for real-time attack alerts 👉 exvul.com/skyeye-monitor
4
14
102
15,590
deepcode.eth retweeted
If every team’s OpSec lessons could compound across the ecosystem, more projects could learn the easy way. @officer_secret is turning hard-earned security lessons into practical guides, research, and education that help Web3 teams stay safer before things go wrong. Learn more: youtube.com/watch?v=ByLFMiKx… Support: qf.giveth.io/project/opsec-h…
5
1
16
1,689
deepcode.eth retweeted
TheDAO is back. BULLISH A decade later, we’re opening a new chapter. TheDAO Security Fund: activating 75,000+ ETH to strengthen Ethereum security. thedao.fund/
255
247
168
1,261
511,805
deepcode.eth retweeted
A betrayed blockchain expert becomes the ultimate insider threat. Who truly holds the power, the architects of the system, or those who can break it? Explore the dark side of Defi with this new work of fiction by Rekt News. rekt.news/talesfromchain-dec…
3
12
1
53
5,228
A crack team of 40 white hat hackers, led by @samczsun, and called SEAL 911, is taking on the hackers in real time. Via @CointelegraphZN, Author: @maxparasol cointelegraph.com/magazine/s…
38
54
9
220
98,412
deepcode.eth retweeted
We are now 2 days away from Ethereum's Dencun upgrade, the largest fork since the Merge. Here's a summary of the biggest changes in Dencun and how they'll affect you 🧵:
82
290
41
1,404
270,510
Executing whitehacks is hard also for security professionals 🤖 But there are three important rules: - test and don't change before execution - execute in a single tx - execute privately ( reorg 🤞) Here a starter foundry repo 🫡 github.com/emilianobonassi/w…
2
19
2
106
11,660
deepcode.eth retweeted
CREATE2 opcode usage potential issues/attack vectors: - deployment griefing by front-running with same `salt` param - selfdestruct opcode leads to a "metamorphic" contract - not checking if the returned value is not the zero address (failed deployment) What else?
4
19
110
10,422
deepcode.eth retweeted
Next up: Storage Structs (aka "explicit storage buckets," "Diamond storage," "unstructured storage"). A pattern for preventing layout collisions in upgradeable contracts, seen recently in @radicle Drips and @AstariaXYZ. mirror.xyz/horsefacts.eth/EP…
10
31
2
154
18,534
(1/13) Introducing: Inevitable Ethereum A new wiki-style site dedicated to @ethereum, the World Computer. History, finance, computer science, elliptic curve cryptography... everything needed to see the future. To see what I see: Ethereum is inevitable. inevitableeth.com/
38
214
29
583
🔥⚒️ PRBMath V3 is live 🔥⚒️ This is the most significant iteration on my Solidity library for advanced fixed-point math. What's new: - User defined value types SD59x18 and UD60x18 - Free functions - Migration to Foundry - Various optimizations 1/7 github.com/paulrberg/prb-mat…
10
47
4
209
deepcode.eth retweeted
For doing your best in any job role, you need to have the right mindset for that job. My blog post on @viamirror "A White hat hacker mindset: From the eyes of a Smart Contract Auditor" discusses 5 key mindsets for a smart contract auditor. mirror.xyz/shanzson.eth/jJR3… #web3
1
3
deepcode.eth retweeted
if you inspect a transaction which calls an unverified contract, you'll get a best-effort recovery of the original function parameters. works as long as the contract uses the standard abi. no more hand-deciphering calldata!
17
14
236
deepcode.eth retweeted
Immunefi is proud to present the Web3 Security Library, which aims to be the go-to resource for Web3 security. You can access the repository here: github.com/immunefi-team/Web… Keep an eye on the repository as we will regularly update it with new resources 📚
10
82
6
225
These two ways of transferring ETH below are functionally identical - but there can be surprising difference in gas usage. In fact the call() version can pay approximately three times more in extra gas per 32 bytes of data returned! 1/5
7
41
4
250
deepcode.eth retweeted
Do you know what happens when you send 1 DAI ? I don’t think you really do. I spent weeks seeking for the truth in Ethereum’s depths. Leaving all previous assumptions behind. And I'm sharing this incredible learning journey with you👇 notonlyowner.com/learn/what-…
90
172
37
435