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 otpgit 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/otp)<a href="https://agentmods.dev/skills/0dayinc/pwn/otp"><img src="https://agentmods.dev/badge/skills/0dayinc/pwn/otp/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/otp"><img src="https://agentmods.dev/badge/skills/0dayinc/pwn/otp.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.00021 | $0.01303 |
| Opus 5.5 | $0.00008 | $0.00521 |
| Sonnet 5.5 | $0.00004 | $0.00261 |
| Haiku 4.5 | $0.00002 | $0.00130 |
Grade A, and why
pwn-plugins-yubikey-otp 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 — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PWN::Auth::YubiKey::OTP
Native Ruby OTP application commands over the selected Connection.exchange
boundary. No executable, subprocess, interpreter or network backend. HID framing
and CRC validation belong to Transport; APDU status handling belongs to
Protocol. The caller owns its transport connection.
Operations
execute(args: [...], connection: ...) accepts argv after otp.
operations lists ten leaves: info, swap, ndef, delete, yubiotp,
static, chalresp, calculate, hotp, settings. Empty args return local
metadata, not a device query. Unknown flags/commands and credential argv raise.
Typed methods: info, swap, delete_slot, configure_ndef, settings,
provision_yubiotp, provision_static, provision_hotp,
provision_challenge_response, challenge_response, calculate, help,
authors. Read runtime help for the full option contract.
Safe workflow
- Select the exact intended device using root transport selectors. Do not scan or open real hardware in default tests. A model name does not establish its supported/enabled applications.
- Read
infowithout authentication. Firmware/status observations, not guessed credentials, gate slot operations. NDEF additionally checks actual NFC support. - Require literal
confirm: truefor every write or calculation.--forceis syntactic compatibility, not consent. Never provision to repair a vault-open failure, stale response, wrong slot or missing device. - Supply secrets as raw in-memory
key:,password:,private_id:,access_code:andnew_access_code:. An explicitsecret_providerreceives a missing secret's Symbol. No implicit terminal reads or factory secrets. Generated material requiressecret_sink.call(field, raw_secret). The sink is caller-controlled and must not log or publish secrets. challenge_response(connection:, challenge:, slot: 2, confirm: true)accepts 1–64 raw bytes and returns 20 raw HMAC-SHA1 bytes. It never hex-encodes, truncates to a TOTP or caches a response. Trailing zero challenges use distinct padding. USB calculation requires OTP HID; smartcard calculation is NFC-only.provision_challenge_responsedefaults to touch-required and performs a fresh native OpenSSL HMAC comparison against device output after programming and separate status readback. Its default return is:verified;details: truereturns scoped verification metadata.execute ['chalresp', '2']returns the metadata and follows prior CLI default of no touch unless--touch.--totpexplicitly decodes supplied Base32 key text in memory; otherwisekey_encodingdefaults to raw. Keys 21–64 bytes cannot fit this application; longer HMAC keys are SHA1-shortened per HMAC.- Check
verification, not onlyverified. Other OTP credentials/settings have no secret/config export command: their verification is programming sequence and slot-state readback, not proof of keyboard output or secret equality. Known 5.0–5.4.2 smartcard zero-sequence responses are labeledfirmware_quirk_slot_state; HMAC provisioning must still pass the cryptographic challenge comparison. Never claim that state metadata proves an NFC URI's emitted value. Failed or stale readback raises an uncertainty error; no write is automatically replayed.
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 · 98 lines · 21 tokens per session scan A eb1339af4dc6
pwn-plugins-yubikey-otp is a skill published in the GitHub repository 0dayInc/pwn (102 stars, last pushed today), licensed MIT. It adds 21 tokens to every session and 1,303 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-otp compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pwn-plugins-yubikey-otp0dayInc/pwn | Skill | 102 | today | MIT | A | 21 | 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 |