Catowice (@thekmj_) header
Catowice (@thekmj_) profile picture

Full-time cat. LSW @sherlockdefi Audit contests:🥇x 7,🥈x 4,🥉x 2, Judge x 10. My (chatty) server: https://teapaw.org/t.co/Bv3SOuwd89

Joined February 2024
Photo by Catowice (@thekmj_)Photo by Catowice (@thekmj_)Photo by Catowice (@thekmj_)Photo by Catowice (@thekmj_)
Excited to bring you what VulSight has been working on for the past few months. Agents have begun to transact. Ensuring their security is a really big concern. Would love to connect with founders and builders working on Agentic Payments.
1/9 Your AI agent can spend money. You should set the rules. Introducing Cerberus by VulSight: guardrails for agents paying with x402. Control spending, choose who gets paid, and review payments that need your approval. Try the free beta: cerberus.vulsight.com/ #AgenticFinance #x402 #Agents #Security
5
3
31
1,646
Catowice retweeted
In October last year, @thekmj_ and I won an audit contest for a prediction market on @sherlockdefi. The vulnerability that earned us the largest bounty was caused by a mismatch in the option trading fee calculation. Some background: Prediction markets like Polymarket are essentially binary options. This means that each market has a price for the call (yes) and put (no) options, a fixed payout (either 0 or 1), and an expiry time. These properties mean that users have two ways to exit a position: they can either sell their current contract or buy the opposite side. Mathematically, these are equivalent because, when selling, the user receives money from the open market, while buying the opposite side guarantees that one of the two contracts will always pay out. If the exchange wants to charge a trading fee, it cannot simply charge a percentage of the collateral being transacted. Why? Because whenever buying the opposite side requires less collateral than selling the existing position, users will always choose to buy instead of sell, effectively bypassing most of the trading fee. Consider the following simplified example: * There are two contracts: YES and NO. * The exchange charges a trading fee of 1%. * YES trades at $0.90 and NO trades at $0.10. * The user wants to exit a position of 100 YES contracts. If the user sells the 100 YES contracts on the open market, they receive $90 and pay a $0.90 trading fee. However, they could instead buy 100 NO contracts for $10, paying only a $0.10 trading fee. Since the market is binary, holding both YES and NO guarantees a payout of $100 at settlement, making this economically equivalent to selling the original position while paying a much lower fee. This asymmetry is why Polymarket implements a formula that calculates trading fees based on both the option prices and the collateral, ensuring that economically equivalent actions incur the same fee. I think these types of business logic vulnerabilities are among the hardest for AI to find. This is especially true when the underlying product is novel or based on mechanics that are not yet widely understood. If you are interested in learning more or discussing cyber sec/markets, reach out via DM.
5
5
2
72
21,842
Replying to @WhiteHatMage
“In this top tier codebase, a top tier finding was missed by top auditors at top security firms”
1
6
560
Catowice retweeted
We just published a new article about an edge case that allowed to drain 100k+ from different morpho vaults as a result of the resolve hack. There are still countless morpho vaults vulnerable to the same exploit/architectural weakness. scauditstudio.com/blog/Resol… As soon as the next "stablecoin" goes bust, the same thing will happen all over again
4
1
12
1,628
Catowice retweeted
Hot take: the main reason why contests are dead is because they became free. - There is less incentive to convince a customer to host a contest when you are not going to make money out of it, especially when there are more lucrative alternatives you can sell. - There is less incentive to allocate resources to improve a product you don't earn money from. - In addition to contests becoming free, the % going to judges has been decreasing over time, and meanwhile LLM spam has only gone up which only increases judging cost: this contest only had a disproportionate 4K judging pot, while the contest pot was 500K - and this is a complex codebase with 164K lines of code; If perhaps 30K was allocated to 2 or 3 senior judges + a cheaper presorter (remember C4 lookouts?) which could spend more time on judging maybe the story would be different.
6
5
1
105
7,755
We're excited to initiate @Zippel_Labs audits, a cryptography security led by I. ZKP's security is extremely important to build secure pillars of Privacy. *Currently most zkVMs are not fully audited, & for them offering subsidized audits.
4
19
4
71
10,759
Now live: A new standard for trust in DeFi. Our platform is officially in open beta — providing security scores, insights & vulnerability reports to help DeFi protocols protect their communities and earn user confidence. Transparency starts here. 🔗app.scauditstudio.com/
5
2
2
21
3,797
Literally me who made this
Be proud of it. Only a few can join this league 😂
1
16
2,549
How it feels having the primary report for 50 dupes
1
18
2,777
Contests are looking promising
3
35
3,503
So what's the default art skill level for smart contract auditors?
1
12
1,726