Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add 0dayInc/pwn --skill yubikeygit clone --depth 1 https://github.com/0dayInc/pwnWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/0dayinc/pwn/yubikey)<a href="https://agentmods.dev/skills/0dayinc/pwn/yubikey"><img src="https://agentmods.dev/badge/skills/0dayinc/pwn/yubikey/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/0dayinc/pwn/yubikey"><img src="https://agentmods.dev/badge/skills/0dayinc/pwn/yubikey.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00017 | $0.01869 |
| Opus 5.5 | $0.00007 | $0.00748 |
| Sonnet 5.5 | $0.00003 | $0.00374 |
| Haiku 4.5 | $0.00002 | $0.00187 |
Grade A, and why
pwn-plugins-yubikey scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 158 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PWN::Auth::YubiKey
Use the native Ruby wrapper around the official ykman executable. Never
provision, overwrite, repair or reset a slot as part of routine inventory,
authentication or vault access. See documentation/YubiKey.md for the device
contract and documentation/YubiKey-Vaults.md for storage/recovery integration.
When to use
- Inventory and application status, or explicit YubiKey management requests.
- Binary HMAC-SHA1 challenge-response from an already provisioned OTP slot.
- OATH account listing and retrieval with consent for authentication, remembered-key cleanup, counter and credential-repair effects.
- Do not use device management as a substitute for browser WebAuthn ceremonies.
Prerequisites
Install the official yubikey-manager separately. required_bins returns
['ykman']; available? probes --version without opening a device. Use a trusted
explicit ykman: path when PATH selection is unsuitable. The reviewed management
grammar is 5.9.1; automatic provisioning intentionally accepts only that version.
Use decimal String serials, integer slots 1 or 2, and a finite positive timeout.
How to call
PWN::Auth::YubiKey.help
PWN::Auth::YubiKey.available?
PWN::Auth::YubiKey.devices
PWN::Auth::YubiKey.info(serial: '12345678')
PWN::Auth::YubiKey.otp(args: ['info'], serial: '12345678')
PWN::Auth::YubiKey.cli_help(path: %w[piv keys generate])
Serials above are placeholders. Family methods take an args: argv Array after
the family name; omission returns official help. Use long options as separate
array elements, not a shell string or --option=value. command takes the full
management argv. All return raw output without logging it; successful output can
still contain secrets and must not be echoed into a transcript.
Public methods
required_bins,available?,devices,info,cli_help,help,authorscommand,interact,config,otp,oath,fido,piv,openpgp,hsmauth,security_domain(official sd family),apduchallenge_response,provision_challenge_response,oath_code
What ships with it
11 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 158 lines · 17 tokens per session scan A a1568039e7c4
pwn-plugins-yubikey is a skill published in the GitHub repository 0dayInc/pwn (102 stars, last pushed today), licensed MIT. It adds 17 tokens to every session and 1,869 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-02.
pwn-plugins-yubikey compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pwn-plugins-yubikey0dayInc/pwn | Skill | 102 | today | MIT | A | 17 | Claude Code |
| performing-jwt-none-algorithm-attackxalgorix/xalgorix | Skill | 1.6k | today | Apache-2.0 | A | 34 | Claude Code, Codex |
| pentesting-ipmixalgorix/xalgorix | Skill | 1.6k | today | Apache-2.0 | A | 64 | Claude Code, Codex |
| performing-zero-day-vulnerability-discoveryxalgorix/xalgorix | Skill | 1.6k | today | Apache-2.0 | B | 36 | Claude Code, Codex |
| analyzing-compiled-python-malwaremeltedinhex/analyst-ai-pack | Skill | 25 | 6d ago | Apache-2.0 | A | 76 | Claude Code, Codex |
| deserializePentesterFlow/agent | Skill | 1.5k | 3mo ago | Apache-2.0 | B | 96 | Claude Code |
| webvulnPentesterFlow/agent | Skill | 1.5k | 3mo ago | Apache-2.0 | B | 53 | Claude Code |