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 oathgit 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/oath)<a href="https://agentmods.dev/skills/0dayinc/pwn/oath"><img src="https://agentmods.dev/badge/skills/0dayinc/pwn/oath/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/oath"><img src="https://agentmods.dev/badge/skills/0dayinc/pwn/oath.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.00019 | $0.01446 |
| Opus 5.5 | $0.00008 | $0.00578 |
| Sonnet 5.5 | $0.00004 | $0.00289 |
| Haiku 4.5 | $0.00002 | $0.00145 |
Grade A, and why
pwn-plugins-yubikey-oath scanned grade A with 1 finding 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
cache.fetch(device_id: id) # raw bytes or nil How it starts
The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Native OATH
When to use
Use PWN::Auth::YubiKey::OATH for OATH application APDUs, not software-only OTP
or browser WebAuthn. The root YubiKey router owns transport lifetime.
Public API
execute(args:, connection:, ...)implementsinfo,reset,access change,remember,forget, andaccounts add,uri,import,list,code,rename,delete. Empty/group args return local metadata.operations,help,authorsare local metadata.code(connection:, account:, confirm: true, ...)returns one numeric String.calculate(connection:, account:, challenge:, confirm: true, ...)returns a raw full HMAC, not a formatted OTP.calculate_all(connection:, timestamp:, confirm: true, ...)returns credential records withcodevalue/validity Hashes; HOTP and touch records have nil codes.parse_uri(uri:)validates and parses an in-memory otpauth URI locally.
Procedure
- Use a caller-selected APDU connection. Never select the first device implicitly.
- Pass the exact complete ID returned by LIST, including period/issuer prefixes, whitespace and UTF-8 bytes. No substring, case folding or Unicode normalization is performed when identifying an account.
- Use
codefor one numeric OTP String; leading zeroes are significant. Optionaltimestamp:is nonnegative Integer epoch seconds. TOTP periods come from the credential ID, while HOTP uses an empty challenge and increments its counter. - Supply
password:or sixteen raw bytes inaccess_key:in memory, or an explicitsecret_provider:callback. Authentication is single-attempt with mutual HMAC-SHA1 verification after SELECT. Missing or wrong credentials never trigger default guesses, repair, cached-key deletion, fallback or retry. - For account creation supply
secret:(raw bytes) or strictsecret_base32:;--generatereturns the generated seed in memory. Metadata options include oath-type, algorithm (SHA1/SHA256/SHA512), digits (6–8), period, issuer, initial HOTP counter and touch. Invalid values fail before authentication. Existing IDs require explicitoverwrite: trueor--forcein addition to consent. - URI input goes in
uri:, not argv. Conflicting issuer fields, noncanonical Base32, duplicate URI parameters and invalid periods are rejected, not repaired. - Bulk import accepts
credentials:(complete Hash records) orpskc:(in-memory PSKC 1.0 XML). Validate the complete batch before any authentication/write; never silently skip a bad entry. Each successful PUT is checked with LIST. Partial device failure is not rolled back or retried. - Use
access changewithnew_password:/new_access_key:, or--clear. Changes read back protection state only, not secret contents. Reset uses DEAD confirmation bytes and verifies regenerated salt, unlocked state and empty inventory. Rename/delete verify exact IDs and never delete as a repair step.
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 · 116 lines · 19 tokens per session scan A c3baad0da9a5
pwn-plugins-yubikey-oath is a skill published in the GitHub repository 0dayInc/pwn (102 stars, last pushed today), licensed MIT. It adds 19 tokens to every session and 1,446 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-02.
pwn-plugins-yubikey-oath compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pwn-plugins-yubikey-oath0dayInc/pwn | Skill | 102 | today | MIT | A | 19 | 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 |