Robert Chen

453 posts

Robert Chen

Robert Chen

@NotDeGhost

founder @osec_io | web/pwn with @redpwnctf + @dicegangctf | prev @dfsec_com

Katılım Eylül 2018
660 Takip Edilen6.9K Takipçiler
Robert Chen retweetledi
OtterSec
OtterSec@osec_io·
Anchor is moving to a permanent home at otter-sec/anchor as we take over its stewardship. Solana's ecosystem has been core to our work for years. Anchor has always been security-forward, and we're committed to keeping it that way for the developers who build on it.
OtterSec tweet media
English
4
29
133
12.2K
Robert Chen retweetledi
dr cavey phd ∿
dr cavey phd ∿@cavemanloverboy·
got bored last week during accelerate while y'all were at e11even, so I worked on a limited-lookback (1 month) historical account state service: ​ getTransactionFixture(signature) -> TransactionFixture ​ which returns everything you need (pre/post accounts, feature set, sysvars, txn status, rpc client version/hash, etc) to re-execute the transaction. very helpful for debugging and trying out changes. i think main use cases are something along the lines of: ​ 1. how would this trade have gone (as a maker or a taker) if program commit B was deployed instead of A? 2. how many cus would this txn have used if some other commit was live? 3. what was the pre/post execution state of some account? why was some special branch hit? ​ in fact, 2. is exactly what i show in Figure 1 to compare p-token vs current tokenkeg. I took a random swap that went through zerofi and goonfi with my nifty client... ​ the left shows all results matching (successful replay). the right shows me adding the flag --replace-program=TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA:spl-p-token-1.0.0-rc.1.so, which replaces the current token program with the p-token program. we get a match in status, but a mismatch in CUs (and logs... p-token does not log "Instruction: Transfer"!). ​ we will be using this internally (it has already come in handy bigly twice), but we also want to try to offer this to external users. if there's enough interest we may do a pilot. dm me if you want to try it.
dr cavey phd ∿ tweet media
English
12
15
121
26.5K
Robert Chen
Robert Chen@NotDeGhost·
super happy somebody finally took the time to implement this.. been on my wishlist for years now at least one good thing came out of the e11even party!
dr cavey phd ∿@cavemanloverboy

got bored last week during accelerate while y'all were at e11even, so I worked on a limited-lookback (1 month) historical account state service: ​ getTransactionFixture(signature) -> TransactionFixture ​ which returns everything you need (pre/post accounts, feature set, sysvars, txn status, rpc client version/hash, etc) to re-execute the transaction. very helpful for debugging and trying out changes. i think main use cases are something along the lines of: ​ 1. how would this trade have gone (as a maker or a taker) if program commit B was deployed instead of A? 2. how many cus would this txn have used if some other commit was live? 3. what was the pre/post execution state of some account? why was some special branch hit? ​ in fact, 2. is exactly what i show in Figure 1 to compare p-token vs current tokenkeg. I took a random swap that went through zerofi and goonfi with my nifty client... ​ the left shows all results matching (successful replay). the right shows me adding the flag --replace-program=TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA:spl-p-token-1.0.0-rc.1.so, which replaces the current token program with the p-token program. we get a match in status, but a mismatch in CUs (and logs... p-token does not log "Instruction: Transfer"!). ​ we will be using this internally (it has already come in handy bigly twice), but we also want to try to offer this to external users. if there's enough interest we may do a pilot. dm me if you want to try it.

English
2
1
24
2.1K
Robert Chen retweetledi
Solandy 🎓
Solandy 🎓@HeyAndyS·
Do you want to practice auditing (or hacking) a real Solana program with the chance to win $$$? The Solana Audit Arena by @0xcastle_chain let's you do just that! And above all it's an excellent learning oportunity! It's almost still Monday Morning... 👇
Solandy 🎓 tweet media
English
4
7
41
4.1K
Robert Chen
Robert Chen@NotDeGhost·
Official docs coming soon, stay tuned!
Robert Chen tweet media
English
0
0
10
396
Robert Chen
Robert Chen@NotDeGhost·
With some type-system magic, you can even bring your own constraints (BYOC)! In fact, this is how we wrote all of the token constraints in spl-v2
Robert Chen tweet media
English
1
0
5
686
Robert Chen
Robert Chen@NotDeGhost·
Anchor v2 has the same syntax, but is powered by completely new types under the hood. Here's how it works 🧵
Robert Chen tweet media
English
1
8
51
4.5K
Robert Chen
Robert Chen@NotDeGhost·
what a ridiculous take. @gf_256 / Zellic have done a ton for the space (speaking as one of their competitors). did you even read the report?
Robert Chen tweet media
The Lunduke Journal@LundukeJournal

Remember the security firm that Ubuntu hired to audit the (ill-advised, highly buggy) Rust-rewrites of all of the GNU Coreutils? Turns out that security firm is run by @gf_256, who: - Appears to be a man who thinks he's a woman ("trans"). - Uses an anime cartoon of a girl as his avatar. - Appears to have an OnlyFans page. I repeat: Ubuntu hired a "Trans" man, with an anime girl avatar and an OnlyFans page... to audit Rust code. It's hard to get more on-the-nose than that.

English
0
8
193
18.6K
Robert Chen retweetledi
OtterSec
OtterSec@osec_io·
We found a critical soundness bug in dusk-plonk that let a malicious prover forge proofs for arbitrary false statements. The result: an attacker could mint arbitrary amounts of DUSK out of thin air and bypass every check protecting Dusk's shielded transactions.
OtterSec tweet media
English
6
13
118
14.9K
Robert Chen retweetledi
Hacktron AI
Hacktron AI@HacktronAI·
Introducing Hacktron Review: an AI security reviewer for your pull requests. It understands your whole codebase, builds a threat model, takes your feedback, and catches exploitable vulnerabilities before they reach production. Try for free: app.hacktron.ai
English
14
38
208
43.3K