knowledge/zero-day-hunter/SKILL.md
LLM-assisted workflow for hunting likely zero-day candidates in source code repositories. Use when asked to scan a file or repo for externally reachable vulnerabilities, prioritize suspicious files, generate per-file security context, and skeptically review candidate findings with local code search. Best suited for C and C++ projects but also useful for Go, Rust, Python, Java, JavaScript, TypeScript, PHP, and C#. Includes Python helpers for file discovery, scan orchestration, evidence gathering, and Markdown/JSON result output.
npx skillsauth add aeondave/malskill zero-day-hunterInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill to produce a practical shortlist of zero-day candidates in a local codebase. The goal is to help the user prioritize manual review, not to claim a vulnerability is real without verification.
Use a short external context pass before scanning when local code alone is likely to hide important assumptions behind middleware, framework glue, deployment architecture, or project-specific conventions.
Start with the smallest useful scope:
Prioritize code that parses attacker-controlled input, implements protocol handlers, deserializers, authentication logic, file format parsing, archive handling, crypto glue, or memory-unsafe interfaces.
Use Tavily-backed context enrichment before scanning when any of these are true:
Use scripts/build_external_context.py to create a small Markdown or JSON context pack from public sources. Keep only the top few relevant results and treat them as hypothesis fuel, not proof.
Use scripts/scan_zero_day.py for the first pass.
Suggested behavior:
If API credentials are missing, load them from environment variables or the workspace .env file.
Use --external-context-file when a Tavily-generated context pack is available.
Promote a finding only if the evidence shows all of the following:
Use scripts/source_grep.py to resolve constants, call paths, bounds checks, or type validation logic during review.
For each survivor, report:
Keep the output honest. "Likely", "plausible", and "needs manual verification" are features, not bugs.
Prioritize these classes first:
Deprioritize:
scripts/build_external_context.py — queries Tavily for a compact external context pack covering project purpose, likely trust boundaries, framework behavior, and public security clues.scripts/scan_zero_day.py — main scanner: discovers files, generates context, hunts candidates, optionally performs skeptical review, and writes Markdown/JSON output.scripts/source_grep.py — lightweight literal or regex code search helper for verifying constants, callers, checks, and data-flow clues.references/workflow.md — deeper workflow for target selection, triage discipline, and output interpretation.references/bug-classes.md — quick bug-class guide and false-positive filters by language and code pattern.references/context-enrichment.md — when and how to use Tavily-style external context without replacing local code review.data-ai
Scoped routing: Linux operator; hosts, sessions, users, services, packages, logs, containers, SSH, network paths, privilege evidence.
development
Offensive methodology for ICS/OT/SCADA environments in authorized industrial penetration testing and red team operations. Use when assessing PLCs, RTUs, HMIs, engineering workstations, historians, or field devices running Modbus, DNP3, EtherNet/IP, S7comm/S7+, Profinet, IEC 60870-5-104, BACnet, or OPC-UA. Covers passive OT network enumeration, protocol-level device interrogation, PLC coil/register read-write attacks, HMI session exploitation, historian and engineering workstation compromise, and safe escalation rules for critical infrastructure scope. Does not cover: general IT network exploitation (network-technique), physical hardware interfaces UART/JTAG/SPI (hardware-technique), wireless sensor network attacks (wireless-technique), RF/SDR signal analysis (hardware-ctf or wireless-technique), or CTF-framed ICS lab tasks (ics-ctf).
tools
Offensive methodology for authorized game security assessments, game client security research, and game-adjacent penetration testing in real-world engagements. Use when assessing game clients for cheating vulnerabilities, testing anti-cheat effectiveness, auditing game server protocols for score manipulation or economic fraud, reverse engineering game DRM or license validation, analyzing game save file protection, or assessing game mod/plugin security. Covers: process memory scanning and manipulation (Cheat Engine methodology), game binary reversing for license and DRM bypass, game network protocol analysis and packet replay, anti-cheat mechanism analysis, save file format reversing and tampering, speed hack and value injection techniques. Does NOT cover: CTF game challenges (game-ctf), game engine source code auditing (web-exploit-technique or vuln-search-technique for the backend), or general binary exploitation (pwn-ctf or reversing-technique).
development
Auth assessment: hardware/embedded methodology; UART/JTAG/SWD/SPI/I2C, firmware extraction, boot/debug paths, embedded OS evidence.