Aube.Tuesday, 24 November 2026Support us

Aube.

News of progress
LabSingle source

Claude Shrinks OpenSSH Attack Surface, Fixes Shipped in 10.6

Languages for this article

Machine-translated from Japanese — read the original text. 7 languages available; yours is one click away.

Generated illustration for “Claude Shrinks OpenSSH Attack Surface, Fixes Shipped in 10.6”
AI-generated illustration — artist’s view, not documentary

OpenSSH, software widely used for remote connections, still contained code that unauthenticated clients could reach. On October 20 (local time), Anthropic published initial results from a study in which it used its AI model Claude to analyze and shrink the attack surface of software. The report was written by Chris Rohlf of the “Frontier Red Team,” the unit responsible for assessing AI risks at the company. In OpenSSH version 10.4, about 4,500 lines of experimental code for ML-DSA-44, a post-quantum digital signature scheme, were reachable by clients who had not been authenticated.

An attack surface is the range of code that outside attackers can reach. According to Rohlf, the traditional approach of finding and fixing vulnerabilities one at a time means that even when a serious flaw is patched, there is no insight into the remaining ones, making it hard to scale. An alternative is to move features that do not need to be exposed behind authentication, or to disable them by default, thereby narrowing the reach of attackers themselves. Even if undiscovered vulnerabilities remain, they become harder to exploit, lowering their severity. Rohlf compares this to closing unused windows and back doors first, rather than searching the house for weak spots one by one.

The study analyzed 25 open-source projects written in languages including C, C++, Java, PHP and Python, totaling more than 5 million lines of code. Of the more than 17,000 configuration options Claude identified across the projects, 3,842 options were related to security. The analysis focused on three questions: whether unnecessary code could be reached from outside under default settings, whether any combinations of settings caused problems, and whether complex processing ran before checks such as authentication. Overall, the study found 493 issues in total. In 11 projects that rely on authentication, code reachable from outside unintentionally was found in every one. There were 162 combinations of settings that were accepted without any error or warning, and in 94 of them, security features were unintentionally disabled. In one case, a setting requiring client certificate authentication, when combined with another setting, caused certificate checks to be skipped, allowing anyone to connect. This contradiction had reportedly existed for 21 years. Rohlf explained that none of these issues could be exploited immediately on its own, but that they unnecessarily widened the entry points for attacks.

The fixes in OpenSSH progressed across several versions after the report. Anthropic reported the issues to developers along with proposed fixes, and countermeasures were introduced in version 10.5. Claude then found two loopholes in those 10.5 countermeasures. Through repeated fixes in collaboration with developers, about one-fifth of the code reachable by unauthenticated clients was eliminated, and the changes were incorporated into version 10.6, released on October 6. Rohlf noted that OpenSSH is one of the most carefully audited codebases in the world, and that because unnecessary reachable paths remained even there, the same could happen anywhere.

The method has been packaged as reusable “skills,” and work is underway to incorporate it into OSS Scanner, a vulnerability-discovery service for open-source software. The skills analyze the three perspectives in sequence, and issues found are verified by actually running the programs. For fixes related to default settings, the project's tests are run to confirm that default behavior does not change. Changes that affect behavior beyond default settings are designed to be left to human judgment. It has not been disclosed when the integration will be completed. Even so, the initial results show that AI can take on the work of narrowing reach in advance, separate from developers searching for windows one by one.

493 issuesTotal issues Claude found across 25 open-source projects

Sources — read the originals(Paris time)

ITmedia NEWSJA
0000

Read next

Comments

Loading the thread…

Sign in to leave a comment. Sign in