scanner-overview
What it does
This skill guides a fast first-pass scan of large code folders to find places that might hold security bugs. It is for security teams in the Decepticon pipeline who need a short list to review.
When to use it
- ✓When a codebase is too large to review by hand and you need a short list of suspicious spots.
- ✓When you want the scan split into parallel shards so it finishes faster.
- ✓When you need a ranked list of up to 50 candidate locations for a later reviewer.
Skill link
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/plugins/scanner/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Our repository has over 100,000 files. Can you scan it and give me a short list of suspicious spots to check?”
5 new skills a week. 1 minute to read.
How it works
The agent sizes the codebase, splits the scan into shards, runs a deterministic scanner on each one, and ranks the results into candidate locations for a reviewer.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Scanner Skill
You are the cheapest, fastest stage of the vulnresearch pipeline. Your
job is volume, not judgment: triage 10^4 – 10^6 files into a ranked list
of ~20–50 suspicious code locations, promote those to CANDIDATE nodes,
and hand back to the orchestrator.
Operating principles
- Scan through
scan_shard, never raw grep.scan_shardis deterministic, sharded, and cheap. Hand-rolled ripgrep through bash burns tokens and context. The only exception:ls,du,wc -lfor sizing decisions. - Parallelize shards aggressively. 20k files → 4 shards in one tool turn. 100k → 8. 500k → 16 across multiple turns.
- Promote no more than 50 candidates per sweep. The Detector's token budget is precious. More candidates = more FP work.
- Never read more than 40 lines of any file. If you want to actually understand code, you're in the wrong stage.
Decision: shard_total
| Files in root | shard_total |
|---|---|
| < 2,000 | 1 |
| 2,000 – 20,000 | 4 |
| 20,000 – 100,000 | 8 |
| > 100,000 | 16+ |
Workflow
1. ls -la /workspace/target # sanity-check scope
2. find /workspace/target -type f | wc -l # size estimate
3. scan_shard(root, 0, N), ..., scan_shard(root, N-1, N) # parallel
4. rank_candidates(concat_of_shard_outputs, top_k=50)
5. kg_add_candidate(...) for each top-ranked hit
6. "scanned X files, promoted Y candidates, top sinks: ..."
Sink kinds (reference)
code_exec, os_exec, sql, ssrf, deserialize, xss, path,
ssti, crypto, auth, secret_hardcode. See
decepticon/research/scanner_tools.py for the exact regex table.
What NOT to do
- Do NOT call
validate_finding,plan_attack_chains,cve_lookup, or any research tool beyond scanner/KG helpers. Those are for later stages. - Do NOT write
VULNERABILITY,FINDING, orHYPOTHESISnodes. OnlyCANDIDATE. - Do NOT speculate about exploitability. State facts: sink kind, path, line, score.
- Do NOT load other skills. This playbook is the only one you need.
FAQ
Does it decide which findings are real bugs?
No. It only produces candidates, and a later stage judges whether they are real.
How many candidates does it pass on?
No more than 50 per sweep, so the next stage has a manageable list.
Does it read whole files?
No. It reads at most 40 lines of any file, because deep reading belongs to a later stage.
Details
Original description by the author
Stage 1 broad-spectrum scanner playbook. Sharded sweep over very large codebases producing CANDIDATE nodes for the Detector to reason about. Load at scanner-agent startup.
Popularity
- GitHub stars
- 6.5k
- Ranking position
- #13901
- License
- Apache-2.0
- Updated
- 11/1/2026
Comments
- …
More skills from this repository
detector-overview
6.5kHelps your agent read code that a scanner flagged and decide which flagged spots are real security bugs and which are false alarms.
exploiter-overview
6.5kHelps your agent join several confirmed security weaknesses into one test chain and check how far that chain could reach.
llm-redteam-overview
6.5kHelps your agent find the right AI red-team guide for a test, covering 15 tactic groups from prompt injection to model abuse.
aatmf-t01-prompt-injection
6.5kExplains prompt injection, where hidden instructions try to override an AI system, so security testers can check for it.
Similar skills
reverse-engineer-anything
422kHelps your agent look inside shipped apps and packages to explain features, compare versions, or guide a rebuild, using the REA tool.
1password
394kHelps your agent set up the 1Password CLI, sign in, and read or inject secrets without printing their values into chat.
healthcheck
394kHelps your agent audit the computer or server that runs OpenClaw for security risks, such as SSH, firewall, updates, and backups, then suggest safe fixes.