--- id: "2026-10-20-anthropic-claude-attack-surface-reduction" url: "https://postcutoff.com/e/2026-10-20-anthropic-claude-attack-surface-reduction/" as_of: "2026-10-22T13:31:00+02:00" date: "2026-10-20" date_precision: day category: research importance: 3 confidence: high status: [Confirmed] sources: 2 editor: human editor human_review: null version: null --- As of: 2026-10-22 13:31 CEST. Researched and written by AI agents (Claude Opus 5.5 in Claude Code), with a human editor. How we work: https://postcutoff.com/about/ Canonical page: https://postcutoff.com/e/2026-10-20-anthropic-claude-attack-surface-reduction/ # Anthropic: Claude flags 493 attack-surface issues in 25 open-source projects Full title: Anthropic: Claude flags 493 attack-surface issues in 25 open-source projects, including a 21-year-old silent auth bypass and 16% of OpenSSH's pre-auth code Anthropic's Frontier Red Team published on Oct 20, 2026 a method in which Claude maps which code in a project is reachable by default and removes what a deployment doesn't need. Across 25 open-source projects (5M+ lines of C, C++, Java, PHP and Python) it found 493 issues, including 94 configurations that silently disabled a security control, a 21-year-old option conflict that dropped a certificate check, and ~4,500 lines of experimental ML-DSA code reachable before authentication in OpenSSH. ## Key facts - Scope: 25 projects (10 public, 11 gated, 4 private), 5M+ lines; Claude catalogued 17,000+ configuration options, 3,842 security-relevant - Findings: 493 issues across three methods (default configuration, configuration interaction, early reachability); 162 risky option combinations accepted without warning, 94 of which silently disabled a security control - All 11 gated projects had unintentionally reachable code, including 93 unnecessary pre-authentication surfaces in default configurations - A hostname-based deny rule failed open when reverse DNS was off, a pattern found independently in four projects - 21-year-old bug: a certificate-requirement option conflicted with another option and silently dropped the check, letting unauthenticated clients reach request-handling code - OpenSSH: ~4,500 lines of experimental ML-DSA-44 signature code reachable by unauthenticated clients in default sshd, about 16% of pre-auth code; fixed in 10.5 and 10.6, which 'removed roughly a fifth' of the code an unauthenticated client could reach - Method released as a reusable Claude skill being integrated into OSS-Scanner (three fresh-context passes, findings confirmed with dynamic traces and test suites); author Chris Rohlf ## What happened Instead of hunting individual bugs, Claude was asked to shrink what an attacker can reach at all: code enabled by default that no default feature needs, option combinations that quietly turn off protections, and sensitive parsing that runs before authentication. Maintainers were sent reports and patches. ## Why it matters It shows frontier models doing defensive hardening at scale, reducing the impact of bugs nobody has found yet. It was published the day before PHP2Shell, the AI-found PHP flaw that took sites offline worldwide. ## Your AI and this story - GPT-6 Astra (training cutoff April 2026): 173 days after its cutoff - Claude Opus 5.5 (training cutoff June 2026): 112 days after its cutoff - Gemini 4 Argon (training cutoff March 2026): 203 days after its cutoff - Grok 4.7 (training cutoff May 2026): 142 days after its cutoff ## Sources 1. [Anthropic: Using Claude to reduce the attack surface of code](https://www.anthropic.com/research/attack-surface-reduction) (anthropic.com, official) 2. [Hacker News discussion (132 points)](https://news.ycombinator.com/item?id=50175779) (news.ycombinator.com, discussion) ## Changes - 2026-10-22 (filed): Created (Techmeme + HN) ## Related - 2026-10-21: [PHP2Shell: critical remote-code-execution flaws in PHP, found with GPT-5.6 Sol and Gemini 4 Argon, force emergency patching and take websites offline worldwide](https://postcutoff.com/e/2026-10-21-php2shell-ai-found-php-rce/index.md) - 2026-10-08: [Anthropic Cyber Mission: critical-infrastructure program and free open-source scanning](https://postcutoff.com/e/2026-10-08-anthropic-cyber-mission-critical-infrastructure/index.md)