Vulnerability Reports Are Not Special Anymore

2026年6月23日

AI 摘要 AI 生成,可能有误

作者曾担任 Go 安全团队负责人,他解释说,漏洞报告历来受到特殊对待——理应获得及时响应和署名致谢——因为研究人员提供的洞见十分稀缺,而且他们所要求的保密性使漏洞得以在攻击者利用之前被修复。如今,大语言模型(LLM)发现漏洞的能力已不亚于大多数研究人员,攻击者同样可以做到,这种洞见不再珍贵,保密性也变得无足轻重,使得对大量嘈杂报告的分拣成为真正的瓶颈。因此,漏洞报告受特殊对待的时代可能已经终结,这项工作的重心将转向分拣、快速修复和预防,不过作者和评论者都指出,某些极为严重或来自可信来源的报告可能仍需特殊处理。

A requirement for staying sane while working in public as an open source maintainer is realizing that every issue, PR, and piece of feedback is a present, not an obligation. You can accept it, ignore it, and use it partially or not at all.

Except…

For years, as lead of the Go Security team at the time,1 I’ve told new team members that it doesn’t apply to vulnerability reports. No, vulnerability reports are special. Security researchers are doing us a favor by reporting things confidentially instead of doing full disclosure, so we owe them something, which is not true of regular issues opened on the issue tracker.2

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Filippo Valsorda

The NIST Elliptic Curves Seeds Bounty Has Been Claimed

AI 摘要A team from Anthropic claimed the author's three-year-old bounty by discovering that the NIST elliptic curve seeds were generated in 1997-98 using the drand48 random number generator seeded with UNIX timestamps, disproving the lore that they came from hashed English sentences. The findings rule out the NSA-backdoor conspiracy theories, since the seeds offered too little freedom to intentionally target weak curves, restoring confidence in NIST elliptic curve cryptography. The prize was donated to ISRG, the non-profit behind Let's Encrypt, tripling its value to $36,864.

(Post-Quantum) Cryptographic Right Answers

AI 摘要This article presents an updated edition of the 'Cryptographic Right Answers' guidance for developers, driven by the accelerated post-quantum transition timeline that now targets completion by 2029. It explains that while symmetric cryptography remains largely unchanged, nearly all asymmetric recommendations have shifted, offering concrete picks such as XAES-256-GCM or XChaCha20Poly1305 for encryption, Argon2id or scrypt for passwords, X25519+ML-KEM-768 for key exchange, HPKE with X-Wing for asymmetric encryption, and ML-DSA-44 for signatures. It also highlights that LLM-based code review is now a standard recommendation alongside using memory-safe languages.

Production ML-DSA Verification in 350 Lines of Python

AI 摘要The author presents a production-ready ML-DSA (post-quantum signature) verifier written in 350 lines of pure, dependency-free Python, available on PyPI with an API modeled after pyca/cryptography and support for all parameter sets. Performance is described as decent—around 230 ML-DSA-44 verifications per second, roughly 60x slower than Go—and the implementation is thoroughly tested with Wycheproof vectors, CCTV vectors, and mutation testing. The project originated as a way to validate the author's Go implementation by writing an independent one, and since verification involves no secrets, Python's lack of constant-time guarantees is not a concern.

Opaque, Interoperable Passkey Records (and a Go API)

AI 摘要The article argues that passkeys are the key solution to phishing but that server-side adoption suffers from non-interoperable database schemas, so the author proposes a c2sp.org/passkey-record format—borrowing PHC string syntax and WebAuthn's authenticator data encoding—that lets applications store passkeys as opaque strings, much like password hashes. Building on this, the author drafts a stateless Go crypto/passkey API covering registration and login flows, where the application only stores per-user passkey records and caches login challenges while the library handles verification. The author notes the format naturally avoids credential-ID collision attacks, invites feedback on the format and API (possibly a proposal for Go 1.28), and closes with personal and sponsor notes.

Quantum Computers Are Not a Threat to 128-bit Symmetric Keys

AI 摘要The article debunks the common misconception that quantum computers will 'halve' the security of symmetric keys, arguing that AES-128 and other 128-bit symmetric primitives remain safe against quantum attacks. Because Grover's algorithm cannot be effectively parallelized (as proven by Zalka in 1997), breaking AES-128 would require roughly 140 trillion quantum circuits of 724 logical qubits each running in parallel for a decade—making it astronomically more expensive than Shor's algorithm attacks on 256-bit elliptic curves. This near-consensus position is supported by NIST, the German BSI, and experts like Samuel Jaques, meaning no symmetric key sizes need to change as part of the post-quantum cryptography transition.