0day-scanner

0day-scanner is a skill for Claude Code, Codex from Security-Phoenix-demo/security-skills-claude-code. It costs 0 tokens per session (2,976 once invoked), scanned A, original, MIT.

A security-analysis skill for examining commits, pull requests, or files for previously unknown vulnerability patterns. A pull request is a proposed code change for review.

In plain words
What is it for?
Use it to scan a commit, pull request, or file after someone requests a vulnerability, zero-day, or security assessment.
Why use it?
It provides a focused way to look for serious security weaknesses when ordinary review may miss problems, with a fallback process when its external analysis service is unavailable.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is `../Security-automated-claude-skills/.claude/skills/security-reviewer/languages/{python,javascript-typescript,go,java,rust,ruby,dotnet}.md`.

Good fit Use it to scan a commit, pull request, or file after someone requests a vulnerability, zero-day, or security assessment.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Security-Phoenix-demo/security-skills-claude-code
agentmods
npx agentmods add skills/security-phoenix-demo/security-skills-claude-code/0day-scanner

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for 0day-scanner

README.md
[![agentmods](https://agentmods.dev/badge/skills/security-phoenix-demo/security-skills-claude-code/0day-scanner/github.svg)](https://agentmods.dev/skills/security-phoenix-demo/security-skills-claude-code/0day-scanner)
Your own site
<a href="https://agentmods.dev/skills/security-phoenix-demo/security-skills-claude-code/0day-scanner"><img src="https://agentmods.dev/badge/skills/security-phoenix-demo/security-skills-claude-code/0day-scanner/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.

agentmods 80×15 button for 0day-scanner

Your own site · 80×15
<a href="https://agentmods.dev/skills/security-phoenix-demo/security-skills-claude-code/0day-scanner"><img src="https://agentmods.dev/badge/skills/security-phoenix-demo/security-skills-claude-code/0day-scanner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,976 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.02976
Opus 5 $0.00000 $0.01488
Sonnet 5 $0.00000 $0.00595
Haiku 4.5 $0.00000 $0.00298

Measured 10d ago against content hash e2637ed57f2a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

0day-scanner 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 10d 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.

skills/Security Assessment/0day-scanner/SKILL.md · 380 lines

How it starts

The opening of the file, as written. The whole thing — 380 lines — stays where its author put it; the contents beside it link to each section on GitHub.

0-Day Vulnerability Scanner Skill

Purpose

Analyze code changes (commits, PRs, files) for potential zero-day security vulnerabilities using LLM-powered analysis. This skill provides conversational access to the 0-Day Scanner Agent with real-time token monitoring and knowledge graph integration.

Stack-aware fallback (when MCP unavailable): if analyze_for_zero_day_vulnerabilities is not reachable, detect the changed files' language(s) and load the matching reference pack from ../Security-automated-claude-skills/.claude/skills/security-reviewer/languages/{python,javascript-typescript,go,java,rust,ruby,dotnet}.md to drive a diff-only review using the assistant's built-in tools. Apply the 8-point check from ../Security-automated-claude-skills/.claude/skills/security-reviewer/SKILL.md scoped to the diff.

When to Use

  • User asks to "scan for vulnerabilities" or "check for security issues"
  • User mentions "0-day", "zero-day", or "security analysis"
  • User wants to analyze a specific commit, PR, or file for security
  • User requests vulnerability assessment during code review

Workflow

1. Parse User Request

Extract:

  • Target: Commit SHA, PR number, file path, or branch
  • Scope: Single commit (light), multiple commits (standard), or full branch (deep)
  • Budget: Max cost willing to spend (default: $0.10 for light mode)
  • Options: Link to graph, save to DB, return reasoning

2. Invoke Scanner

Use MCP tool analyze_for_zero_day_vulnerabilities:

{
  "commit_sha": "abc123def456",
  "mode": "light",
  "max_cost_usd": 0.10,
  "link_to_graph": true,
  "save_to_db": true,
  "stream_tokens": true,
  "return_reasoning": true
}

3. Monitor Progress

  • Stream token usage updates to user
  • Report estimated cost and time remaining
  • Show findings as they're discovered

4. Present Results

If vulnerabilities found:

  • Summarize each vulnerability with severity and type
  • Show affected code and proof of concept
  • Display knowledge graph context (affected symbols, blast radius)
  • Provide remediation suggestions

Read the full file on GitHub · 380 lines

Changes

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.

  1. 10d ago First seen · 380 lines · 0 tokens per session scan A e2637ed57f2a

Subscribe to this mod's changes

0day-scanner is a skill published in the GitHub repository Security-Phoenix-demo/security-skills-claude-code (70 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,976 tokens. 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-08-30.