Artificial intelligence is changing cybersecurity in two directions at once. It helps defenders inspect code, test suspicious behavior, and find bugs that might otherwise stay hidden for years. The same broad capabilities can help malicious actors research targets, produce convincing messages, automate parts of an operation, or build technical tools. AI does not make every user an expert hacker, and it does not replace the people who validate a vulnerability or carry out an attack. But it can change how quickly a person or team can move from an idea to a result.
A recent Alpine Linux security issue makes that dual use unusually clear: AI-assisted testing helped identify a serious authentication flaw, while the flaw itself could let an attacker reach an account without knowing its password under specific conditions.
Alpine Linux: an AI-assisted discovery, and a serious SSH flaw
Tracked as CVE-2026-123158, the issue is in SSH password authentication on certain Linux systems built with the musl C library when OpenSSH runs without PAM. Alpine Linux is a prominent example. In affected configurations, an attacker who can reach the SSH service could submit a password between 257 and 1,024 bytes long and authenticate as a qualifying account whose password field is *—a marker commonly used for accounts that cannot authenticate with a password.
That description needs an important qualification. This is not a flaw in the sudo command, and a long string does not grant root on every Alpine machine. The bypass depends on a combination of conditions, including password authentication being enabled, an account with the * field, and at least one other active local account with a supported password hash. A successful SSH login may still lead to root if the account has sudo or doas privileges. The actual exposure depends on the machine’s configuration.
The bug emerged from how OpenSSH and musl handled an unusually long password. OpenSSH used a stored hash as a salt in a code path for accounts without a usable password hash. For inputs over musl’s limit, crypt() returns * to indicate an error. Because * can also represent a locked or passwordless account in the system’s password data, the returned error value could be mistaken for a match. The result was a password-authentication bypass.
Security researcher Özgün Kültekin at Wakefield says he used AI agent swarms to help explore combinations of OpenSSH builds and authentication configurations, running thousands of unusual login tests. That is a concrete example of AI assisting security research: agents can repeat test cases, vary parameters, and help sift through a large search space. The researcher still had to investigate the behavior, establish the conditions, report it, and communicate the result. AI helped find the signal; responsible human research and maintainer work turned it into an actionable disclosure.
OpenSSH released version 10.6p2 with a workaround, and Alpine published fixed packages for affected supported branches. Alpine notes that upgrading the package alone may not restart a running SSH daemon, so operators should follow the project’s advisory and restart the service. If immediate patching is not possible, disabling SSH password authentication is a mitigation. This is why disclosure must end with a deployed fix, not just a headline or a proof that a bug exists.
Malicious use is already more than a thought experiment
The other side of the story is not that AI has invented cybercrime. It is that AI can assist with work that already matters to attackers: reconnaissance, translation, persuasive writing, coding, and analysis. Google’s Threat Intelligence Group has reported state-linked actors experimenting with AI for tasks such as research, phishing-lure creation, and data exfiltration, and has identified malware designed to use language models during execution. Those observations show an evolving capability, but they do not mean every attack is autonomous or that AI is the main reason an operation succeeded.
The risks also extend beyond computer networks. In its September 2026 threat-intelligence report, Anthropic described a weapons-development cell based in northern Yemen that used Claude Code to help write guidance, navigation, and control software for rockets. Anthropic says the group conducted a live test of a guided rocket that appears to have failed, and that it found no evidence the actors fielded an operational weapon. The company banned associated accounts and shared information with partners.
Anthropic did not name the group as the Houthis. News coverage connected the case to the Houthis because the activity was based in northern Yemen, territory controlled by the movement. That distinction matters: the reported location is clear, while the specific public attribution is not. The case is still a sobering example of AI being used to assist weapons work, even with safeguards in place and even without evidence that an operational system resulted.
These examples show different kinds of harm and different levels of evidence. The Alpine report is a publicly reproducible software flaw found through AI-assisted testing and fixed by maintainers. The Yemen case is a company’s account of attempted weapons development using its model. Google’s threat reporting documents actors testing AI in cyber operations. They should not be collapsed into one claim that “AI is hacking everything.” Instead, they show that AI can increase the speed and scale of some existing activities, while the precise effect varies by case.
What responsible use looks like
For defenders, AI can help generate test cases, review unfamiliar code, summarize a patch, correlate alerts, or find inconsistencies across a large system. Those outputs need review. A plausible-looking explanation can be wrong, and an automated scanner can produce false positives or miss a flaw that requires unusual context. Researchers should validate findings, protect sensitive data, and coordinate disclosure so maintainers have a fair chance to fix problems before attackers can exploit them widely.
Operators can make that work count by keeping an accurate inventory of internet-facing services, applying vendor updates promptly, restarting affected services when required, and checking logs for suspicious access. For SSH in particular, key-based authentication and disabling password logins where practical reduce exposure to password-based attacks. Container images and cloud templates need the same attention as traditional servers: a patched package in a repository does not fix an old image already running in production.
AI providers also have a role. They need safeguards that respond to malicious use, ways to investigate patterns across sessions, and processes for sharing useful threat information with affected organizations. Safeguards will not stop every determined actor, especially when someone can switch accounts or tools, but detecting misuse and disrupting it can raise the cost of harmful activity.
AI is making security work more asymmetric: a small research team may be able to examine more code, and a malicious operator may be able to automate more routine tasks. The answer is not to treat every AI system as inherently harmful or inherently safe. It is to measure what these tools actually do, keep human accountability around high-impact decisions, and make verification and patching move as quickly as discovery. The Alpine SSH bypass shows both sides in one story: AI-assisted analysis helped reveal a flaw, and patch engineering work by maintainers was needed to close it.
Sources
- Alpine Linux security advisory: OpenSSH password authentication bypass · Alpine Linux
- OpenSSH 10.6p2 release notes · OpenSSH
- OpenSSH Password Authentication Bypass on musl Linux · Wakefield
- Detecting and countering misuse of AI: September 2026 · Anthropic
- Threat actors misuse AI to enhance operations · Google Threat Intelligence Group
- GTIG AI Threat Tracker: Advances in Threat Actor Usage of AI Tools · Google Cloud Threat Intelligence