Sshole Audit — Security skill for Claude Code
Find, prove and fix sshole: the OpenSSH password bypass where any 257-1024 byte password logs into a '' account on musl libc without PAM.
How to install Sshole Audit
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open schappim/sshole-audit and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Sshole Audit does
Find, prove and fix *sshole: the OpenSSH password bypass where any 257-1024 byte password logs into a '*' account on musl libc without PAM. Read-only probe, fleet scanner, dry-run remediation. Also a Claude Code skill.
Alternatives in Security
- Token Scan — Meme coin and token security scan — checks for rug pull vectors (hidden mint, honeypot, fee manipulation, LP l 3.8k ★
- ThinkWatch — Self-hosted AI API and MCP gateway for organizations: SSO and RBAC, per-user identity for MCP tool calls, PII 817 ★
- OpenTag — Open-source, channel-native agent gateway for Slack 499 ★
README
sshole-audit
Find, prove and fix **\*sshole** — the OpenSSH password bypass where, on musl libc without PAM, *any* password between 257 and 1024 bytes logs you in as an account that is supposed to have no password at all.
Disclosed 2026-11-05 by Özgün Kültekin (Wakefield). Fixed in **OpenSSH 10.6p2**. Alpine backported it to every supported branch. No CVE was assigned at the time Alpine published.
$ ssh root@alpine-box
root@alpine-box's password: # 300 × "A"
alpine-box:~# id
uid=0(root) gid=0(root) groups=0(root),10(wheel)
The bug in one paragraph
musl's `crypt()` returns the literal string `"*"` when it fails, and it fails for any password longer than 256 bytes with a `$5$`/`$6$` setting (`KEY_MAX`). When an account's `/etc/shadow` field is exactly `*`, sshd has no salt of its own, so it borrows one from another account's real hash — `pick_salt()`, added in 2016 to close the CVE-2016-6210 timing oracle — hashes the supplied password with it, gets `"*"` back, and compares that with the stored `"*"`. They match. glibc and libxcrypt return `NULL` or `"*0"`, never a bare `"*"`, and a PAM stack never calls `crypt()` for a `*` field, so only musl-without-PAM is affected.
Longer version, with the 1980→2026 history and the actual code path: [`references/mechanism.md`](references/mechanism.md).
Are you affected?
All four must hold. Miss one and you are not exploitable:
- sshd linked against musl — Alpine, OpenWrt, Buildroot, Yocto, and many Docker images
- no PAM — not linked against
libpam, orUsePAM no. Alpine'sopenssh-serveris built without PAM by default PasswordAuthentication yes(the default) and the account actually reachable — not blocked byPermitRootLogin,AllowUsers,DenyUsers,AllowGroups,DenyGroupsor aMatchblock- an account whose shadow field is exactly
*, plus another account with a$5$/$6$hash to donate the salt
`!`, `!!`, `*LK*` and `!$6$…`
Related Skills
Lightsword
If DarkSword is a weapon, LightSword uses the same exploit chain for good — x86-64 Linux (BusyBox, musl libc)
Exploit Confirm
Prove a SUSPECTED finding with one targeted, SOC-stealth, operator-supervised confirmation probe (confirm_ too
Review Cicd Pipeline
Audit CI/CD pipelines for missing quality gates, unpinned actions, secret exposure in logs, and deploy steps t
Claude Clean Context
Keep Claude Code's always-loaded context lean: deterministic memory guard-rail distiller + skills audit. Never
Fix Findings
Work through review or audit findings one at a time, confirming each is real, fixing it with a regression test
Audit MCP Fleet
Healthcheck + drift detect + rotation-reminder across all MCP servers in ~/.claude/mcp-registry.json
Related Agents
Mops Local Visibility
Discoverability and directory surface for any client account run on the marketing-operations fleet. Owns busin
Auth Tester
Authentication and session management testing agent. Use for login bypass, session fixation, password reset fl
Account
Creates a portal account when none exists, or signs in with a password this tool created earlier, for ONE appl