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 bex-co/bex-security --skill finding-discoverygit clone --depth 1 https://github.com/bex-co/bex-securityWrote 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/bex-co/bex-security/finding-discovery)<a href="https://agentmods.dev/skills/bex-co/bex-security/finding-discovery"><img src="https://agentmods.dev/badge/skills/bex-co/bex-security/finding-discovery/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/bex-co/bex-security/finding-discovery"><img src="https://agentmods.dev/badge/skills/bex-co/bex-security/finding-discovery.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.00058 | $0.00921 |
| Opus 5.5 | $0.00023 | $0.00368 |
| Sonnet 5.5 | $0.00012 | $0.00184 |
| Haiku 4.5 | $0.00006 | $0.00092 |
Grade A, and why
finding-discovery 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 7d 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.
This is a copy
92% identical to finding-discovery — 161 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Security Finding Discovery
Identify technically plausible security vulnerabilities in the authorized source, using the threat model and applicable security policy. Discovery preserves evidence for later validation; it does not decide final severity.
Read ../../references/artifact-storage.md before saving output and ../../references/security-guidance.md before source review. Resolve applicable policy for each reviewed path, including delegated assignments. Honor explicit input and output paths; ask for an explicitly required input only when its absence prevents the requested analysis.
Select the Workflow
Standard and Deep workers use their coordinator's self-contained prompts rather than this phase skill.
- Running compact diff: read the supplied inventory through
list_codex_security_review_items, review every assigned changed file, and record all candidates once withrecord_codex_security_discovery_candidates. Do not create ranked worklists, per-finding ledgers, receipts, or discovery reports. - Standalone diff without a compact inventory: use
../security-scan/references/scan-artifacts-and-ledger.mdfor the changed-file worklist and retained phase artifacts. - Standalone repository discovery: apply the evidence criteria below to the authorized source and return the candidates and coverage limitations. Do not start a scan or run the diff worklist pipeline.
For a diff, inspect the actual changed behavior, including deleted files at the baseline revision. Follow supporting code far enough to understand the affected boundary; expand to sibling callers when a changed shared control affects them. Do not broaden into an unrelated repository audit.
Evidence Criteria
- Trace attacker-controlled input or a privileged operation through the closest relevant control to the sink and security impact. Explain why the control is absent, bypassable, or applied to the wrong value or boundary.
- Check runtime reachability and deployment assumptions. Record effective guards and containment as counterevidence; a safe sibling implementation does not establish that the candidate path is safe.
- Preserve the root-control location as well as entrypoints, wrappers, concrete implementations, and sinks needed to understand the claim. When the claim covers several implementations, inspect those implementations rather than asserting that all are affected.
- Keep independently reachable vulnerable instances addressable. Merge duplicate observations of the same source/control/sink/impact instead of splitting cosmetic variants; retain all affected locations and original candidate IDs when merging.
- Follow explicit user or advisory seeds to their exact source and control. Record the evidence that supports, disproves, or leaves the seed unresolved; a nearby issue in the same family does not close it. Use only authorized source material and do not fetch advisory links without permission.
- Distinguish concrete security impact from maintainability or robustness concerns. A crash, dangerous API, optional feature, or missing check is a lead, not a finding by itself. Carry plausible candidates with explicit proof gaps to validation rather than inventing evidence or discarding them for lack of a runnable reproduction.
What ships with it
1 file 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.
- 7d ago Changed · -114 lines ca30309e330d
- 2mo ago Changed · +2 lines 1d3a159a5ed8
- 3mo ago First seen · 158 lines · 58 tokens per session scan A 938b73329188
finding-discovery is a skill published in the GitHub repository bex-co/bex-security (53 stars, last pushed 2d ago), licensed Apache-2.0. It adds 58 tokens to every session and 921 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 92% identical to finding-discovery, differing in 161 lines, and is treated as a copy.
finding-discovery compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| finding-discoverybex-co/bex-security | Skill | 53 | 2d ago | Apache-2.0 | A | 58 | Codex |
| bugcrowd-reportingelementalsouls/Claude-BugHunter | Skill | 28k | yesterday | MIT | A | 171 | Claude Code |
| enterprise-vpn-attackelementalsouls/Claude-BugHunter | Skill | 28k | yesterday | MIT | A | 158 | Claude Code |
| hunt-api-misconfigelementalsouls/Claude-BugHunter | Skill | 28k | yesterday | MIT | A | 207 | Claude Code |
| hunt-atoelementalsouls/Claude-BugHunter | Skill | 28k | yesterday | MIT | A | 241 | Claude Code |
| cloud-iam-deepelementalsouls/Claude-BugHunter | Skill | 28k | yesterday | MIT | B | 238 | Claude Code |
| security-reviewcompozy/compozy | Skill | 2.9k | today | MIT | A | 61 | Claude Code |