C0de3 (@c0de3_) profile picture

AI Red Team & Bug hunter. Pwn2own 2017. AIGC&LLM Security .

Joined November 2014
Photo by C0de3 (@c0de3_)Photo by C0de3 (@c0de3_)Photo by C0de3 (@c0de3_)
C0de3 retweeted
Stupid things I did: 1. 250,000+ pages was a joke guys!, I find big number extremely hilarious. I tried to make it clear by the level of pedantry of the reals total ordered statement in the main theorem, but people ran with it unfortunately and I didn’t feel like talking on social media in the days after the announcement, though I did have a good time with the memes. Sorry!!! (Similarly with our YM4 existence I found it extremely funny that we were slowly working through 60,000 pages of slop, though the committee asking for Lean made me feel dumb about wasting our time with that. But 60,000 funny.) Tao advises to not joke in papers, see also the Big Lebowski reference I shoehorned, I now understand why… I didn’t feel comfortable having any slop writeup attached to this problem, and I figured I can’t produce anything readable anyway, so I went off the Lean to lengthmaxx. 2. The Lean is full of garbage obviously, but compiles, but all criticism of such garbage is totally reasonable and accepted, I should have cleaned it up but it was randomly difficult to for various strange reasons. Mea culpa… 3. @scottnarmstrong clocked me, indeed even as a student there were theorems that took me the better part of a decade to write up, but with this one I should hopefully be more responsible. (I really was yoloing a lot in there, I bet most is unnecessary in the end, admittedly the lazy thing to do would be to wait because it’ll simplify massively…) 4. I forgot to emphasize what I think is the point. Arguments like these, cool, but they are the raw inputs when interpolating definitions. We don’t have the / an “H^1 object” over number fields, and probably for a layperson the fact that we fight hard for these arguments for the purpose of definitions is not clear a priori (that’s at least my philosophy). Just like I knew I must fight for an utterly simple Weil / Deligne, I feel Riemann should be easy, and any real difficulty is an indication our setup is just dumb at the moment.
1,691
2,019
1,895
23,794
7,841,516
如果不是被起诉,我们永远都不会知道,Anthropic在2021年就已经完美地预言了现在的AI发展。 我刚看完这份 @AnthropicAI 在诉讼中曝光的内部文件,叫《Concise Research Roadmap》,最后更新于2021年7月。 这份文件由Anthropic联创Jared Kaplan撰写,里面还保留了 @DarioAmodei 、 @NotTomBrown 、 @AmandaAskell 、 @ch402 等一批核心研究人员的内部评论。 文件上甚至还标着「Highly Confidential–Attorneys' Eyes Only」(高度机密,仅限律师查阅)。 我仔细看完之后,真的有点感慨。 因为今天我们讨论的Coding Agent、Tool Use、长上下文、RL、自动化反馈,甚至Agent的安全问题,在这份五年前的研究路线图里,基本都已经出现了。 而且远不只是一些模糊的概念。 首先,Anthropic在2021年就已经明确提出,要做一个具备软件工程师能力的AI助手。 在文件第一页,他们就写道,希望开发一个通用AI助手,可以通过对话帮助用户创建、编辑和解释软件。 包括开发浏览器插件、编写函数、发现Bug、设计API、讨论代码风格和最佳实践等等。 最终目标是让AI展现出一名软件工程师同事所具备的能力。 你会发现,这不就是今天Claude Code正在做的事情吗? 更有意思的是,他们当时就认为,要实现这个目标,需要大规模生成模型、长期记忆,以及通过自动化奖励和人类反馈进行强化学习。 甚至连Roadmap都已经想得非常清楚了。 第二,他们当时就专门把RL for Tool Use列成了一项重要研究方向。 研究的核心是让大语言模型学会使用工具,理解环境和目标,并通过强化学习不断改进。 当时他们提出的具体任务包括搜索、printf调试等,还准备研究工具使用能不能让模型获得比监督学习更好的Scaling效果。 今天Agent领域讨论的一大堆问题,五年前他们就已经开始思考了。 第三,最让我意外的是,他们当年甚至就在讨论Coding Agent的产品形态。 Tom Brown提出,代码仓库浏览是一个简单而有价值的工具,可以从这里开始。 Nelson Elhage则表示,如果AI能够主动查找项目中的类型定义,会是一项很强的能力。 Andy Jones进一步提出了两条不同的路线。 一条是打造最优秀的AI程序员,另一条是先验证AI使用工具的能力。 Dario Amodei的回答是:短期优先后者,长期优先前者。 而且同一份文件里,Sam McCandlish就已经开始担心,如何安全地部署非沙箱化工具。 Dario特别强调了部署阶段执行代码的工具。 你再看看今天围绕Coding Agent的Sand box、权限控制和代码执行安全的一系列讨论。 真的很难不感慨。 第四,他们很早就意识到,模型能力和Alignment不能脱节。 Amanda Askell在评论里担心,如果能力研究集中在代码领域,而对齐研究只关注自然语言,那么未来可能会出现模型能力越来越强,但对齐研究无法充分覆盖这些能力的情况。 所以她强调,两者应该紧密结合。 这其实也是今天Agent安全研究面临的重要问题。 我觉得这份文件最有意思的地方,是它让我们重新认识了Anthropic这家公司。 2021年的时候,ChatGPT甚至都还没有发布,整个行业对大语言模型未来能做什么,都还没有今天这么明确的认识。 但Anthropic的这群研究人员,已经把软件工程助手作为通向AGI的一个具体研究目标,并且围绕模型规模、数据、长上下文、工具使用、强化学习和安全,制定了一套相当完整的研究路线。 至少从今天回头看,他们对技术发展方向的判断,确实非常超前。 而且更值得注意的是,这份文件讨论的很多问题,直到2026年都还没有被彻底解决。 五年前他们在思考如何让AI成为软件工程师的同事。 五年后,我们已经开始讨论,如何让AI独立完成整个软件工程任务,甚至参与改进自己的模型和研发系统(AKA:RSI)。 有时候AI的发展看起来快得不可思议,但仔细回头看,你会发现,有些人其实很早就已经知道自己要往哪里走了。
Anthropic released their 2021 research roadmap earlier this year (because of copyright litigation); I think some people might find it interesting: i.sm4.ca/concise-research-ro…
41
168
16
1,173
103,328
刚读完 Anthropic 写于 2021 年 7 月 的内部研究路线图《Concise Research Roadmap》i.smitop.com/concise-researc…,真的有些震撼... 五年前,Anthropic 就已经对接下来五年 AI 的核心发展方向形成了如此清晰的判断。 我尤其震撼这些点: 1. RL for Tool Use:早在 2021 年,他们就已经明确提出用强化学习训练 LLM 使用工具,让模型学会搜索、调试代码、与环境交互,并探索 RL 能否比监督学习获得更好的 Compute Scaling。 2. 1T+ Parameters:当时就已经将训练 万亿参数乃至更大规模的模型列为研究目标,并强调模型能力的充分优化及其后续 Finetuning 能力。 3. Very Large Contexts:明确提出研究超长上下文,或其他能够容纳大量记忆与经验的等效机制,将其视为通向 AGI 的重要能力。 除此之外,文档还系统地讨论了: - Coding Agent:将能够编写、理解、修改和调试软件的 AI 助手作为 Proto-AGI 的原型。 - Pretraining & Data:利用 Diffs、PRs 等数据,建立人类意图与模型行为之间的联系。 - Alignment Scaling:研究 Reward Model 的鲁棒性、人类反馈的资源需求,以及 Alignment 的 Scaling Laws。 - Interpretability:研究 Neurons、Attention Heads 和 Circuits,理解模型能力背后的内部机制。 - Test-time Compute:甚至已经将测试时计算列为值得研究的 Scaling 问题 WTF?? 站在 2026 年回望,Coding Agent、RL for Tool Use、Long Context、Scaling、Data Quality、Test-time Compute……几乎都是过去五年 AI 研究最重要的关键词。 真正令人震撼的不是他们预见了某项具体技术,而是在 2021 年,就已经对未来五年的核心研究问题形成了如此系统且前瞻性的认识。虽然很不甘心承认,,,但真的该 A/成功啊。。。
10
13
3
171
18,048
很吓人的一张图
100
147
24
1,249
354,039
We decided to provide more transparency into pretraining progress at OpenAI for the sake of moving toward shared safety bars. In “Perplexity and Intelligence” I argue for common limits based on perplexity and other measurements, with progress beyond them gated on our ability to understand AI behavior. openai.com/index/perplexity-…
922
1,566
1,341
14,143
10,547,000
I am excited to share that I have joined Anthropic. I am working to ensure that Claude practices and values epistemic rigor. This continues my long-standing interest in research methodology: how we learn what we know, and how we quantify what we do not. I am grateful to @demishassabis, who hired me at Google DeepMind, to @sundarpichai, and to the many wonderful people I got to know there.
82
49
32
1,256
273,711
Google DeepMind researchers admitted AI alignment has been a scam the whole time.. They published an insane paper called “positive alignment" and it is a massive paradigm shift. Right now, AI alignment is purely defensive.. We just train models to "not be unsafe." they decline dangerous requests, avoid slurs, and stay inside strict guardrails. but this leaves ai in a weird, directionless middle ground where models just become sycophants, flattering you and optimizing for engagement rather than actually helping you. this new paper argues that avoiding harm is not enough. we have to train ai specifically for "human flourishing". here is how they want to rebuild the infrastructure of AI: - ditching sycophancy: current preference-based training favors flattery over truth, but positive alignment optimizes for actual insight and human agency - polycentric governance: instead of one massive tech company acting as a moral chokepoint, the future is decentralized oversight where communities customize and adapt models to their own values - longitudinal outcomes: moving away from short-term vibe checks to actually measuring long-term human resilience, skill mastery, and autonomy over time the era of "harmless but useless" AI is officially ending.. we are watching ai transition from a chatbot into living infrastructure for human well-being. the paper is a dense read, but the implications are wild.
42
99
23
566
35,784
C0de3 retweeted
insane paper, they extracted reasoning from frontier models by asking less safeguarded models (luna, haiku, ...) to decrypt and output the decoded version of the encrypted reasoning block. while reading this post or the paper, keep in mind this is a somewhat "lossy" decryption, but they have experiments to test it and it seems pretty accurate some stuff i found really interesting (much more in the paper and especially the appendix): - they were able to extract tokens and personal information from publicly available traces with this method - gpt models are trying to be very efficient in reasoning (was already in an apollo research report), extremely short sentences like "need maybe not need." "avoid maybe not" (they don't have 5.6 sol in this section tho!) - they computed perplexity on hidden reasoning with different open models and conditioned them on closed model reasoning as well > K3 seems to be more similar than other open models to sol and opus > result that makes me a bit sus is that they say they attribute higher average perplexity to their own CoT than the CoT of other models which i find quite surprising (except K3 and K2.7) but figure 26 showing median doesn't really show that > also surprising: all the open models score very high perplexity on gpt traces (see screenshot in thread) - models sometimes have chain of thought in other languages like chinese, russian or japanese. since it's lossy decoding this might not be super accurate but still interesting - models are mostly honest in their CoT on the task they tried and there are examples of them scheming and realizing they could cheat. also interesting that these things are not often transparent in the summary that users have access to - summary length doesn't really scale with the number of reasoning tokens really great work, maybe one thing is that i would have loved to see more details on cot of recent models like fable (i don't think paper have that) and 5.6 sol, lot of the observation here are based on older model cot, which is still valuable but don't automatically transfer to more recent model
We can finally talk about it: We found a way to extract hidden reasoning of frontier models using a vulnerability in the APIs of every frontier AI company. We verified that our reasoning token count matches billed API thinking tokens 1:1 for most of the prompts we queried.
31
94
5
1,136
107,896
C0de3 retweeted
there are some really interesting rumors going around related to the distillation of open-weights models (Kimi, Qwen, Minimax, etc.) and they're very related to my PhD work The narrative [speculative]: • good distillation relies on reasoning traces, normally hidden from users • Chinese labs figured out in early 2026 how to reverse-engineer reasoning from Claude Code and Codex • they were able to collect large amounts of long-horizon data *with reasoning traces included* this way • this jailbreak led to a new wave of OSS models we've enjoyed over the past few months I'm not sure how true it is, but reasoning extractability seems like a huge uncertainty around the future of open models in particular i'm curious how much having the reasoning matters. this (plus Anthropic's messaging around distillation attacks) indicates that reasoning chains are crucial for distilling model capabilities. our research (arxiv.org/abs/2603.07267) found something different: if you train a high-quality reasoning inverter, it's often pretty easy to reconstruct useful traces from frontier models given their outputs. figuring out how to approximate frontier model reasoning traces might turn out to be an existential problem for open weights models
47
129
26
1,524
136,082
C0de3 retweeted
REA (reverse engineer anything) - F*CKED by chinese student... solo dev just dropped protection for your app & site & game from reverse-engineering and AI hackers, for free REA not dangerous anymore. here's how to use and setup BLA (Blind LLM Agents): first understand how it works: • REA opens your app in 1 command, BLA hides traps inside it before you ship • fake keys and decoy code for AI to chase, plus files built to blow past REA's own limits • AI burns tokens on dead ends, your users get the exact same app here's how to set it up for FREE: 1 → open Claude Code in the folder of your app, site or game 2 → say: " install Node.js 24 if I don't have it, build my project, then run npx bla-agents setup and npx bla-agents harden" 3 → it finds your build itself: dist, build, Electron .asar, .wasm, Python, native binaries 4 → it plants fake keys and decoy code, then checks every protected file still runs the same 5 → the step everyone skips: ship the files from the new .bla-hardened folder, not your old build 6 → for sites it protects the JS your site sends to browsers, your server code never leaves your server anyway 7 → want proof? run: npx bla-agents benchmark - before vs after on 14 test apps paste link on repo below as soon as possible:
REA is most dangerous thing on the internet right now... It lets your AI agent reverse engineer any app, down to the binary If you use it correctly, you can rebuild any feature you pay for, for FREE In this article, I show you how:
263
657
79
6,347
777,424
REPORT: Detecting and countering misuse of AI: September 2026 MY SAY: This is not a comic-book plot. It is a vendor’s after-action report. Anthropic says that over eight months it shut down Claude use across cyber, surveillance, propaganda, weapons-related software, dual-use biology, scams, and model theft. They could not tell vaccine science from malice on the bio cases, so they cut the cord. That is prudence. It is not proof a chatbot “blocked biological weapons.” The part that should keep you awake is the pattern, not the headline. AI is moving from helper to orchestrator. Skill gaps collapse. State-linked crews, criminals, and other labs allegedly harvest the teacher — distillation at industrial scale. Same tool. Purpose or malpurpose is in the hand that holds it. Hope is not a defense. The attacker only has to be right once. We have to be right every time. Filters miss intent. So you do not wait for a perfect detector. Bound the tool. Keep humans in the loop on dual-use. Share the indicators. Plan as if a miss will happen. Deception and surprise still win missions. Quiet does not mean empty. Vigilance is a posture, not a press release. anthropic.com/threat-intelli… @AnthropicAI #AI @xai @Grok @warriors_mom @laralogan #DualUse #HumanInTheLoop
3
4
3
512
Mark Zuckerberg says Meta trains discretion into Muse so it can book a restaurant reservation without disclosing your allergy or pregnancy, something off-the-shelf coding agents skip "So, I mean, you have to train that into the model. I mean, just like any other capability, it needs to be good at knowing, you tell it a lot of things and then you want it to go achieve your goals." "But let's say you want it to go get you a reservation at a restaurant, and you're trying to find a good restaurant, but maybe you have some allergy. But you may not want to disclose the allergy, or if you're pregnant or something like that." "But the Muse will know if you tell it. And you're going to want it to be able to do the job but while disclosing as little information as possible." "So that's a specific skill. And it's something that's kind of basic social skills or common sense that people have." "But if you're just building a coding agent, most of these companies haven't trained that in. So that's the type of thing that we can do because we're doing the full stack, right?" "Because we're training the model, we're not just taking someone else's model off the shelf and trying to build a scaffold and an agent around it. We trained the whole model specifically to be good at that." _______ For the full set of takeaways from Meta's Connect Keynote: firesidealpha.substack.com/p…
Mark Zuckerberg reveals Muse hit millions of users two weeks after launch, a home run that rarely happens "We built this whole Muse secure VM, and we thought this was pretty special, and internally people have really liked it." "But you never really know when you ship something how people are going to respond. Every once in a while it's a home run and people love it out of the gate, but most of the time you get some feedback that's positive and you have to iterate on a few things before they really click." "This one just really clicked right out of the gate. So it's been very exciting to see, and the fact that we're like two weeks in and there's millions of people using it is, I don't know, this is pretty rare. Every few years we get something like this, but this is definitely the fun part of building a company." _______ For the full set of takeaways from Meta's Connect Keynote: firesidealpha.substack.com/p…
21
14
8
218
145,349
A cool guide to 5,000+ years of world history in one timeline
12
115
1
527
42,411
Humans Explained. Human migrations, state formations, and key events throughout the globe. Source: tinyurl.com/msezc9pt
8
34
2
216
9,878
5 Layers of Agent Memory (Only for Reference & Research)
5
54
2
363
14,467
5,000 years of world history on a single timeline. Zoom in. You could spend 30 minutes exploring this.
425
4,678
241
19,605
3,307,321
C0de3 retweeted
Learn Linear Algebra- mltut.com/best-linear-algebr…
6
106
570
10,580
KV Cache Engineering
15
85
1,997