Marco Paladin Profile
Marco Paladin

@paladin_marco

Followers
5,171
Following
786
Media
251
Statuses
3,028

Auditing Team Lead and co-founder @0xPaladinSec Brand new to Twitter, happy to share my expertise.

Joined July 2022
Don't wanna be here? Send us removal request.
Explore trending content on Musk Viewer
Pinned Tweet
@paladin_marco
Marco Paladin
2 years
⏰Solidity challenge time ⏰ So you think you are good at Solidity... When do these functions revert? 👇
Tweet media one
32
130
374
@paladin_marco
Marco Paladin
2 years
A story on how I as a solidity auditor just almost lost $10k in a single click, and on how you most certainly would have lost it... Learn how to not get rekt like I almost was and why you should ALWAYS inspect transactions below 👇
104
548
2K
@paladin_marco
Marco Paladin
1 year
🚨Rug Alert🚨 Be careful with interacting with ohm fork "Orion Finance" on @arbitrum presale in 30 minutes The on-chain contract 0xe1cd602a4ad658f2e0bba76b2c1f3b325840e279 appears to be deployed by serial ruggers.
21
71
370
@paladin_marco
Marco Paladin
2 years
Is this how you're supposed to use the new GPT-3 chat function? The highly awaited rap battle between SBF and CZ... 🤦‍♂️
Tweet media one
30
60
362
@paladin_marco
Marco Paladin
8 months
Today I messaged the SEAL911 hotline with a bug I found in production. 15 minutes later, the CEO of the project was informed. 50 minutes later, the code was patched and no longer exploitable 👀 I cannot recommend SEAL911 enough Save it:
9
38
303
@paladin_marco
Marco Paladin
2 years
/19 For anyone in , be extremely careful with removing your LP as you WILL GET RUGGED by the front-end if you remove more than $4k. There's $200k staked there now, which will likely largely get rugged as people don't check this. Please spread the word ❤️
2
74
283
@paladin_marco
Marco Paladin
1 year
🚨BREAKING NEWS: @coinbase $BASE chain makes mentions of a potential token deep within their open source codebase! I figured out how insiders are securing their airdrop allocation and will explain so below...
Tweet media one
38
22
275
@paladin_marco
Marco Paladin
2 years
🤓Solidity challenge 🤓 Loosely adapted from a resolution round I peer-reviewed today. Can you find the blunder?
Tweet media one
37
48
282
@paladin_marco
Marco Paladin
2 years
/17 It turned out that this frontend literally hardcoded that as soon as $4000 is exceeded in a transaction on the DEX, they would rug that transaction. An evil genious!! If everyone gets rugged by their swaps, people quickly ditch the project. If only 1% gets rugged however...
3
17
250
@paladin_marco
Marco Paladin
2 years
Anyone else prints their solidity code for auditing?
Tweet media one
27
14
247
@paladin_marco
Marco Paladin
2 years
/22 I've been able to learn this lesson without losing money, I hope you can finally learn a lesson the "easy way" as well. Good luck chiefs, stay safe 🫡
17
10
239
@paladin_marco
Marco Paladin
2 years
/18 So this ended up being it: I didn't get powned, I didn't experience a magical glitch... I just finally witnessed the single reason I've been checking these shitty bytecodes my whole life for, and boy I'm glad I check them.
1
5
211
@paladin_marco
Marco Paladin
2 years
/21 So how to avoid this? 1. Save all addresses you have large stakes in (metamask+spreadsheet) 2. Always check what you approve and only approve what you need 3. ALWAYS check the bytecode of the transaction you're interacting with if it's to a contract with a large allowance
20
17
206
@paladin_marco
Marco Paladin
2 years
🚨 Stabledoin update 🚨 After reading my thread, the stabledoin owner has officially pulled the rug. While the frontend was previously selectively rugging at $4k+ value, now it always rugs. I'll arrange a tool for everyone to exit through, 1 moment.
Tweet media one
@paladin_marco
Marco Paladin
2 years
A story on how I as a solidity auditor just almost lost $10k in a single click, and on how you most certainly would have lost it... Learn how to not get rekt like I almost was and why you should ALWAYS inspect transactions below 👇
104
548
2K
10
35
167
@paladin_marco
Marco Paladin
1 year
🚨 Rug Alert: @AlchemyFi_ is executing a clever rug on their Arbitrum Tomb genesis 🚨 DO NOT DEPOSIT and stay out. Please share.
9
54
159
@paladin_marco
Marco Paladin
1 year
Today I learned...
Tweet media one
17
5
135
@paladin_marco
Marco Paladin
2 years
Earlier today I posted a simple challenge which would yield to person that can crack it $15. Who cracked it? @deeberiroz Who got the reward? not @deeberiroz 👇
Tweet media one
10
20
122
@paladin_marco
Marco Paladin
2 years
/16 This would be crazy... would it? So I try adjusting my un-lp amount to $10 again, my wallet shows up, no rug! $6k: Rug $1k: No rug? $5k: Rug $3999 No rug? $4001: Rug???
1
4
120
@paladin_marco
Marco Paladin
1 year
Wow cool, a single line command to turn a string into a bytes32 (first 32 bytes). Assembly is so useful!!! Can you spot the vulnerability?
Tweet media one
10
12
120
@paladin_marco
Marco Paladin
1 year
A month ago I started learning the Move smart contract language for Aptos... Today I scored my first confirmed bug bounty 🥳 Here's how I did it...
8
3
114
@paladin_marco
Marco Paladin
2 years
/20 To conclude, it's important to remember that these days there's no room for error when farming, no way to grind yourself back from a -100% position. We're past that. You need to be HYPER CAREFUL:
1
0
111
@paladin_marco
Marco Paladin
5 months
Are you even a contest auditooor if you're not raising crits inside the mock directory... 💀
Tweet media one
19
7
108
@paladin_marco
Marco Paladin
2 years
ERC-1155 devs will literally find any way to mess up their contract... WHAT? Code loosely inspired (didn't copy the exact code).
Tweet media one
19
10
108
@paladin_marco
Marco Paladin
2 years
/11 To be clear: What had happened is that somehow the destination of my uniswap transaction was changed from my own wallet, to another person's wallet. This is NEVER SUPPOSED TO HAPPEN and when it happens it either means you got hacked, or the frontend was compromised.
2
1
90
@paladin_marco
Marco Paladin
1 year
🚨 Rug Alert 🚨 Even though I warned you degens an hour before this presale, it filled fully in 10 mins. The $320k in presale funds was just pulled, discord gone... Twitter still up: @Orion_Fi Funds are distributed over many wallets
@paladin_marco
Marco Paladin
1 year
🚨Rug Alert🚨 Be careful with interacting with ohm fork "Orion Finance" on @arbitrum presale in 30 minutes The on-chain contract 0xe1cd602a4ad658f2e0bba76b2c1f3b325840e279 appears to be deployed by serial ruggers.
21
71
370
5
12
94
@paladin_marco
Marco Paladin
2 years
/10 I end up removing my liquidity using remix and am frightened. Did my browser get hacked? It can't be... I got giga-chad op-sec. Do I? Maybe I shouldn't have installed that one vscode plugin? Maybe I shouldn't have ran npm install outside of a vm... Fuuuck.
2
3
91
@paladin_marco
Marco Paladin
2 months
Devs like this are really why I’ll stop auditing rather sooner than later. So exhausting. You find the most beautiful exploits in someone’s code and they insult you and demean your skills so that their employer maybe doesn’t believe that they messed up…
Tweet media one
21
5
94
@paladin_marco
Marco Paladin
1 year
You fell for this?
6
0
90
@paladin_marco
Marco Paladin
1 year
🚨BE WARNED: Arbitrum's @arb_tomb genesis looks like a rug 🚨 Code business logic looks weird and seems to have been setup to obfuscate the fact that they are capable of taking out all stakes.
Tweet media one
5
15
87
@paladin_marco
Marco Paladin
2 years
/1 So I enjoy farming "degen yield farms", auditing, staking, spotting and avoiding rugs in wilderness contracts is what keeps my mind sharp and my auditing game on-point. Yields are crushed, but I still enjoy it a lot.
2
1
80
@paladin_marco
Marco Paladin
2 years
Why can address(0) claim ownership in @OpenZeppelin 'Ownable2Step 😭
Tweet media one
14
10
80
@paladin_marco
Marco Paladin
2 years
UPDATE: Euhm... what?
Tweet media one
2
0
78
@paladin_marco
Marco Paladin
2 years
/15 Things start clicking: Did this farm's team really somehow add a threshold? If someone does a transaction larger than $ x,xxx -> take their money! Otherwise, do nothing.
1
2
78
@paladin_marco
Marco Paladin
2 years
I feel like I've audited more ERC-1155 projects with reentrancy exploits in them than without any. I mean- not bad for business to have standards with footguns but you know 🤔
6
0
81
@paladin_marco
Marco Paladin
8 months
For anyone wondering what a "simple loop" is in the 0.8.22 automatic unchecked loop optimization... Here are some examples of loops that WILL be optimized:
Tweet media one
2
8
74
@paladin_marco
Marco Paladin
2 years
@samczsun Legend says cz is refreshing this thread with us…
2
1
69
@paladin_marco
Marco Paladin
2 years
Say NO ⛔️ to rust solidity.
17
1
67
@paladin_marco
Marco Paladin
2 years
/8 Onto my final routine check, let's validate the contract data like I always do. I'm a perfectionist, I'm an auditor. I don't trust frontends. WTF!! WHERE IS MY ADDRESS??? removeLiquidityWithPermit always contains the destination wallet, but mine is not to be found here?!
Tweet media one
4
6
66
@paladin_marco
Marco Paladin
2 years
/13 What?? Now my address does show up????? Why did it show a wrong address before? Did I read it wrong? Am I losing my mind? Why can't I replicate this?? I end up concluding that by some magical reason the frontend logic must have spit out random bytes in pure magical unluck.
1
0
62
@paladin_marco
Marco Paladin
2 years
/9 What is this address? '0x557767186fA8d022C9556C31e31Dbeb83a562DD1'? That's not my wallet, this wallet hasn't had a single transaction on the blockchain?!
Tweet media one
1
0
64
@paladin_marco
Marco Paladin
2 years
/6 The auditor giga-chad that I am, I of course check the approval destination, luckily it's the router which I had stored in my notes. You wouldn't want the frontend to approve some malicious address would you now... All good so far!
Tweet media one
2
0
66
@paladin_marco
Marco Paladin
2 years
/2 One of these "funny" degen farms I came across was on "dogechain" (this project is in fact a rug so be careful): Intuitively, the codebase looked secure, nearly unchanged from Uniswap V2 and the MC didn't seem to allow for rugs to occur. All good!
2
0
61
@paladin_marco
Marco Paladin
2 years
Done 🫡 Worked together with my old friends at @RugDocIO to provide the affected fish with an way out Anyone who has LP stuck in here and is going to get rugged can use this tool to break up the LP safely. It avoids the frontend. Good luck!
3
7
64
@paladin_marco
Marco Paladin
2 months
The person in question made a 13 post long accusation of my company () on why we don't like the following code This snippet has two distinct vulnerabilities 1. It returns a potentially non-zero padded address 2. It interrupts all execution flow with return
Tweet media one
@paladin_marco
Marco Paladin
2 months
Devs like this are really why I’ll stop auditing rather sooner than later. So exhausting. You find the most beautiful exploits in someone’s code and they insult you and demean your skills so that their employer maybe doesn’t believe that they messed up…
Tweet media one
21
5
94
15
4
66
@paladin_marco
Marco Paladin
1 year
🚨Rug Alert: on Arbitrum 🚨 The 18 hour old DEX on Arbitrum called "OscarSwap" contains rug code in the MasterChef. Currently there appears to only be about $75k at risk, let's hope that doesn't increase. Please share so people stay out 🙏
6
26
61
@paladin_marco
Marco Paladin
2 years
/12 So I accept that I've been potentially powned and take a break. Once I'm calmed down, I attempt to replicate the issue. I had already removed my LP through contract interaction (using remix) manually so I test with $10 LP.
1
0
59
@paladin_marco
Marco Paladin
1 year
🚨 Rug Alert 🚨 on Ethereum has rug code!! 🙏 Please share so people don't stake in the pools
4
28
55
@paladin_marco
Marco Paladin
2 years
/14 But yesterday, I was so ready to withdraw the remainder of my stake (~$8k, I deposited some more). So I use the frontend again assuming that I just had a glitch. There it was, wallet DD1!!! I didn't lose my mind after all. But why couldn't I replicate it before?
1
0
57
@paladin_marco
Marco Paladin
1 year
Oh so you think you are an auditor? Name every tree you wasted printing code!
Tweet media one
10
2
54
@paladin_marco
Marco Paladin
1 year
Update: They pulled the rug :( $320k gone. I'm sorry for all the folks who didn't get to read my tweet in time ☹️
8
2
54
@paladin_marco
Marco Paladin
2 years
/3 So I staked a few days ago and made some money. Liquidity was literally like $10k in my pool so I didn't have to bridge anything to dominate a good portion of the pool. Good times.
1
0
52
@paladin_marco
Marco Paladin
9 months
I love the fact that I've audited so many protocols that whenever someone wants to know whether I'd be any good at auditing their protocol, say an options protocol, I can send them a past report like this:
7
5
50
@paladin_marco
Marco Paladin
2 years
@jwpark02 YES! The CRAZIEST part is that it's already in metamask??? It's just not enabled on sidechains, like who tf is out there getting rugged on Ethereum... @MetaMask please.
25
2
45
@paladin_marco
Marco Paladin
2 years
/4 A day or two ago, the project migrated to their "farms V2", essentially the same codes but a new factory, to my surprise, the code was still pretty clean. Time to move because now all the APR is for grabs in pool 3, and not pool 2 which my tiny stake was chilling in.
Tweet media one
1
0
51
@paladin_marco
Marco Paladin
1 year
Tweet media one
3
7
51
@paladin_marco
Marco Paladin
1 year
Who’se going to defisec summit in Paris? Would love to meet some folks
20
1
49
@paladin_marco
Marco Paladin
2 years
/7 Onto the actual transaction, it's nicely pointing to the router which I saved before, nice!
Tweet media one
1
0
47
@paladin_marco
Marco Paladin
2 years
/5 So here I go, I unstake from the masterchef, and am about to unwrap my LP. As this is a modern Uni V2 frontend, unwrapping goes with a signature flow where you don't need to send an approval transaction.
2
1
46
@paladin_marco
Marco Paladin
5 months
Was an absolute pleasure auditing this one. OApps can now be simpler due to unordered execution, you’ve now got complete control over your app’s security specification… And that all with complete interop with V1
@LayerZero_Labs
LayerZero Labs
5 months
V2 is live.
360
834
4K
3
4
42
@paladin_marco
Marco Paladin
1 year
@0xngmi Multichain is a highly secure bridge using cutting edge MPC (My Personal Cloud) technology.
4
9
42
@paladin_marco
Marco Paladin
1 year
Extremely proud to be writing and maintaining an EIP with these champions! As an auditor, I've gotten the chance to audit tens if not hundreds of vesting contracts, all very different from one-another. EIP-5725, the Transferable Vesting NFT, is set to change that 🔥
@ApeGurus
ApeGuru
1 year
2/2 I am teaming up with @Ape_tasti , @paladin_marco , and @MarioAtPaladin to create and co-author an Ethereum Improvement proposal to address this and create a common implementation for token locks and vesting. Looking to discuss and get feedback from anyone with expertise in this
1
1
13
3
5
41
@paladin_marco
Marco Paladin
1 year
Founder of @SpearbitDAO on evm flaws: transient storage Transient storage maxis in the room raging He does have a point
Tweet media one
3
0
40
@paladin_marco
Marco Paladin
7 months
Finally… LayerZero… V2. What a milestone. Behind the scenes everyone has been cooking so hard on this for so long. So glad that we at Paladin have helped out with the security design of this, was tons of fun and challenge🔥
@LayerZero_Labs
LayerZero Labs
7 months
9K
4K
9K
4
2
35
@paladin_marco
Marco Paladin
1 year
🔥🔥It was an absolute pleasure to work with the amazing folks from @unsheth_xyz during their audit! Audits like this one are what I live for, read below why...
@unsheth_xyz
unshETH
1 year
We chose prominent smart contract auditors @0xPaladinSec because they specialize in DeFi protocols, and were recommended to us by our partners at LayerZero (Paladin is one of their auditors). The co-founder and CTO @paladin_marco led our audit.
4
0
10
1
8
35
@paladin_marco
Marco Paladin
1 year
Tweet media one
5
2
37
@paladin_marco
Marco Paladin
10 months
❓SOLIDITY TRIVIA - Can you find the bug❓ This Game is vulnerable. Figure out and explain why 😉
Tweet media one
7
2
37
@paladin_marco
Marco Paladin
2 years
Is it just me or is <500 lines of code/file = fun times >500 lines of code/file = big sad
4
1
35
@paladin_marco
Marco Paladin
1 year
Rewrote a smart contract which has been perfectly functioning in prod for over a year for gas optimization. Does gas optimization really feel good to y'all? I feel like this is hugely -EV... Scares me a lot to hyper-optimize, have been re-reading optimized sections all day...
5
1
35
@paladin_marco
Marco Paladin
7 months
EVM maxis really out there implementing BRC-20 on their chains rn 💀💀💀💀 Boyyy, Ethereum was invented so you didn't have to do this lmfaooo
Tweet media one
8
3
33
@paladin_marco
Marco Paladin
9 days
Moving back to solidity security review after having a few consecutive Move jobs
Tweet media one
6
0
35
@paladin_marco
Marco Paladin
10 months
If anyone is doing on-chain vesting for their tokens, consider adoption this standard I helped write! Shoutout to the big brains @MarioAtPaladin @Ape_tastic @ApeGurus for spending many weeks of brainstorming on perfecting this one 🤙
@Ape_tastic
CypherSophic 🦇🔊
10 months
I'm really excited to announce that after a year of writing and review, "ERC-5725: Transferable Vesting NFT" became official today.🥳 The next goal is to integrate this standard into NFT marketplaces. My DMs are open if you would like to chat about it.😉
12
10
36
2
10
33
@paladin_marco
Marco Paladin
1 year
So you think you’re an auditor… How many kgs of paper have you printed? If the answer isn’t a forest… Send that resumé to TechRate instead 🙃
@CharlesWangP
CharlesWang
1 year
Back then @paladin_marco teached me auditing on paper - this is the last step I personally do before I finalize the audit and it is mainly focused on the very details. Developers sometimes forget a _ or assign wrong variables - this is a great way to find simple issues!
Tweet media one
10
9
93
11
4
29
@paladin_marco
Marco Paladin
11 months
@bytes032 HAAANK DON'T START REPLACING EACH PORTION OF SOLIDITY WITH ASSEMBLY HANK NOOOOO THIS IS NEVER WHAT I INTENDED NOOO IT WAS SUPPOSED TO BE THE OPTIMIZERS RESPONSIBILITY NOT YOURS HANKKKK
Tweet media one
4
0
33
@paladin_marco
Marco Paladin
1 year
Anyone else now learning Move/Aptos? Haha We started a study group.
16
0
33
@paladin_marco
Marco Paladin
1 year
Why is @AmbireWallet using account 6969 as a magic value for their EIP-4337 wallet?? lmao
Tweet media one
5
5
26
@paladin_marco
Marco Paladin
2 years
I deployed a simple on-chain Solidity CTF with a HUGE bounty Who can find the blunder? Who can break my bank? YOU ?? Good luck 🫡
Tweet media one
7
3
31
@paladin_marco
Marco Paladin
7 months
Smart contract hacks are down 95% after developers started added a terms of service to the top of their smart contract stating "you are not permitted to exploit this contract"
@paladin_marco
Marco Paladin
7 months
@veH0rny All the codebases from here on out!!
Tweet media one
1
1
5
1
3
27
@paladin_marco
Marco Paladin
1 year
🚨 Learn Move Challenge #1 🚨 Wouldn't it be cool if there was a language which learned from the flaws of Solidity, the EVM and Solana? People claim that language is... Move. Are they right? Only one way to find out... /1
6
1
30
@paladin_marco
Marco Paladin
2 years
@DanielWeb3Lover @PatrickAlphaC … I’ll call you back
1
0
31
@paladin_marco
Marco Paladin
2 years
@samczsun BNB Chain is literally going to be back up by the time he’s done…
1
0
31
@paladin_marco
Marco Paladin
2 years
@AmadiMichaels Dang mate if you supported dogechain, I could have demo'd your tool here. Still absolute champ that you support so many chains. It would be SO COOL to see this integrated in upstream metamask too...
19
0
24
@paladin_marco
Marco Paladin
1 year
@0xngmi I think the larger concern is that a single, potentially hostile, potentially not doxxed, person controls a domain name which can rek millions of our dollars ser, regardless of whether it will happen or not 😅
3
1
29
@paladin_marco
Marco Paladin
1 year
Just noticed tintinweb (The famous vscode solidity extensionoooor) replied to me!!! 🥹🥹🥹 Emotional day, sorry for noticing it 3 weeks late, champ 🫡
Tweet media one
0
4
25
@paladin_marco
Marco Paladin
1 year
I respect this so much, idk why. Nice work, @traderjoe_xyz @Louis_Mslf 🫡
Tweet media one
6
2
23
@paladin_marco
Marco Paladin
11 months
This is so perfect 🥰🥰
Tweet media one
2
0
28
@paladin_marco
Marco Paladin
7 months
And YOU can be exploited! And YOU are exploitable! (Me to all the functions in your carefully crafted codebase ❤️)
3
1
21
@paladin_marco
Marco Paladin
2 years
@devtooligan Though impressive, I modified your example a bit and it got quite a bit wrong.
Tweet media one
4
2
24
@paladin_marco
Marco Paladin
8 months
Sifu is a lot of things, but he's not exactly a gambler, to close his $20m short on chain, I assume he knows something.
4
2
25
@paladin_marco
Marco Paladin
2 years
/1 If you can solve this exercise without writing or running tests, you have the necessary understanding of Solidity's type conversion and literals framework and I salute you🔥 If not... This is your opportunity to catch up and learn 🤓
3
0
24
@paladin_marco
Marco Paladin
1 year
Security alert: Seems like the defillama team is splitting into two with some hostility 🚨 Uninstall the chrome extension and stay away from until the dust settles Both these products could rek you pretty hard if they are in malicious hands
1
5
20
@paladin_marco
Marco Paladin
10 months
@JJordan Client of ours increased line width by 50% and got a 30% discount with a competitor of us after they requoted the codebase, that being the only change. They still chose Paladin as they couldn’t phantom an auditor blindly quoting lines of code being any good haha
3
1
26
@paladin_marco
Marco Paladin
11 months
All the shade thrown on team Vyper... As if people really don't know the amount of compiler vulnerabilities which have been discovered and subsequently patched in solidity... Just a fun little example below
Tweet media one
1
3
25
@paladin_marco
Marco Paladin
2 years
Very proud to see our firm partnering with more and more chains. Being able to contribute to making the space safer in times like these means a lot. Looking forward to the collaboration, @ElastosInfo ! 🔥
@0xPaladinSec
Paladin Blockchain Security
2 years
Paladin is excited to become the security partner for the @elastosinfo ecosystem! Following several intriguing audits within Elastos, Paladin will leverage its careful knowledge of auditing methodologies and security experts to provide peace of mind to the Elastos' users.
6
14
59
0
3
25
@paladin_marco
Marco Paladin
1 year
Tell me I’m reading this wrong… Did an audit firm founder exploit @y00tsNFT in prod? Lmfao I don’t think that’s the procedure ser.
9
3
24
@paladin_marco
Marco Paladin
1 year
How do y'all feel when you audit a V1, then years later they release the unaudited V2 and a new feature gets exploited. For some reason I always feel bad about it ☹️
6
3
22
@paladin_marco
Marco Paladin
2 years
It appears that DD1 was able to steal about $60k in tokens stolen from the $200k which were at risk! 95% of DD1s profits came from a single wallet, C9Fa. Moment of silence for C9Fa ☹️ I do wonder if the remaining $140k was already big brain or got out because of this.
Tweet media one
1
0
21
@paladin_marco
Marco Paladin
1 year
Took me 20 minutes to figure out... Gosh I hate web stuff Cool new Move learning community is up though:
Tweet media one
3
2
17