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 loot_querygit 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/loot_query)<a href="https://agentmods.dev/skills/0dayinc/pwn/loot_query"><img src="https://agentmods.dev/badge/skills/0dayinc/pwn/loot_query/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/loot_query"><img src="https://agentmods.dev/badge/skills/0dayinc/pwn/loot_query.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.00016 | $0.00472 |
| Opus 5.5 | $0.00006 | $0.00189 |
| Sonnet 5.5 | $0.00003 | $0.00094 |
| Haiku 4.5 | $0.00002 | $0.00047 |
Grade A, and why
pwn-ai-agent-tools-lootquery 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 26d ago.
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.
What it actually says
loot_query
Use the registered loot_query tool to query, store, ingest, or offer engagement
loot. This file registers a tool; it does not define a Tools::LootQuery module.
How to call
Select op: query (the default) with engagement, host, service, kind, or
finding_id filters to obtain metadata without plaintext credentials. The Vault
query handler does not decrypt or open a device. Dispatch's separate output
redaction can require access to stored hardware secrets.
For store or ingest, pass yubikey: {slot: 2, serial: "12345678", timeout: 30}
only when hardware protection is intended. The slot must already be provisioned
for HMAC-SHA1. An empty selector chooses hardware defaults. The model-facing
schema allows only slot, serial, and timeout; never put a PIN, PUK, key,
password, or executable path in the selector. offer can use the same selector
when decrypting matching hardware loot.
Pitfalls
- Missing hardware or failed touch raises; do not retry with software protection.
- Replacing an existing hardware label without a selector retains that backend.
- Treat
offerresults as secrets. Dispatch redacts array results before returning them; direct Ruby callers must not print or persist plaintext credentials. VAULT_EXPANSION_FAILEDmeans Dispatch did not execute the handler.VAULT_REDACTION_FAILEDwithhandler_executed: truemeans it already ran; reconcile effects before retrying.
Verification
Use PWN::AI::Agent::Registry.lookup(name: 'loot_query') to inspect its schema
and handler after discovery. Offline tests stub only the device HMAC boundary,
use an isolated home, verify encrypted loot has no disk master key, and reject
selector executable overrides through Dispatch before any vault access.
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.
- 26d ago Changed · +1 lines · -10 tokens per session 426645b1d9dc
- 2mo ago First seen · 46 lines · 26 tokens per session scan A db73ae2cce0a
pwn-ai-agent-tools-lootquery is a skill published in the GitHub repository 0dayInc/pwn (102 stars, last pushed 3d ago), licensed MIT. It adds 16 tokens to every session and 472 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-09-19.
pwn-ai-agent-tools-lootquery compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pwn-ai-agent-tools-lootquery0dayInc/pwn | Skill | 102 | 3d ago | MIT | A | 16 | Claude Code |
| osmedeus-expertj3ssie/osmedeus | Skill | 6.7k | 5d ago | MIT | A | 113 | Claude Code, Codex |
| performing-jwt-none-algorithm-attackxalgorix/xalgorix | Skill | 1.5k | yesterday | Apache-2.0 | A | 34 | Claude Code, Codex |
| performing-ai-assisted-vulnerability-discoveryxalgorix/xalgorix | Skill | 1.5k | yesterday | Apache-2.0 | A | 91 | Claude Code, Codex |
| analyzing-linux-elf-malwaremukul975/Anthropic-Cybersecurity-Skills | Skill | 37k | 3mo ago | Apache-2.0 | B | 82 | Claude Code |
| performing-zero-day-vulnerability-discoveryxalgorix/xalgorix | Skill | 1.5k | yesterday | Apache-2.0 | B | 36 | Claude Code, Codex |
| supabasePentesterFlow/agent | Skill | 1.5k | 3mo ago | Apache-2.0 | A | 120 | Claude Code |