pentester-knowledge-base

A runtime lookup guide for a penetration-testing knowledge base stored under .agents/knowledge. It uses an index to find relevant material for different testing phases.

In plain words
What is it for?
Use it to search phase-specific guidance, check knowledge indexes, add sanitized findings, and locate supporting material during authorized security assessments.
Why use it?
It helps retrieve focused reference material without treating every archive or index as an active working list. It also defines where new tier-one knowledge should be written.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/fb0sh/pentester/pentester-knowledge-base
Any agent
npx skills add fb0sh/pentester --skill pentester-knowledge-base
Clone the repo
git clone --depth 1 https://github.com/fb0sh/pentester

Made for: Claude Code, Codex.

Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 377 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00039 $0.00377
Opus 5 $0.00019 $0.00188
Sonnet 5 $0.00008 $0.00075
Haiku 4.5 $0.00004 $0.00038

Measured 2d ago against content hash 5e5e22785879, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pentester-knowledge-base 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 2d 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.

.agents/skills/pentester-knowledge-base/SKILL.md · 35 lines

What it actually says

Knowledge Base (runtime adapter)

Interface (sole): .agents/knowledge/LOOKUP.md + node .agents/bin/lookup.js
Phase map of knowledge: PTES-INDEX.md only
Not for phase bags: INDEX.md (pointer page only), TIER2-CATALOG.md, DIRECTORY.md, ctf-lab/
Not this skill: bulk archive import → pentester-knowledge-import

Query

node .agents/bin/lookup.js --phase ${N} --keywords "<from handoff summary>"
node .agents/bin/lookup.js --check-index

Read 3–10 returned tier-1 paths. Miss → tier-2 via TIER2-CATALOG.md / archives or web_search.

Write tier-1

  1. Category under recon/ | vuln-analysis/ | exploitation/ | post-exploitation/ | tooling/ | reporting/ | defensive/
  2. Template: knowledge/TEMPLATE.md
  3. Sanitize secrets / PII
  4. Required: link in PTES-INDEX.md if phase-mapped
  5. Do not grow INDEX.md as a second bag — keep it a pointer page
  6. node .agents/bin/lookup.js --check-index

Safety

  • Offensive cmds: Environment contract (env-render.js)
  • Binaries stay under target/${ID}/
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. 2d ago First seen · 35 lines · 39 tokens per session scan A 5e5e22785879

Subscribe to this mod's changes

pentester-knowledge-base is a skill published in the GitHub repository fb0sh/pentester (23 stars, last pushed 1mo ago), licensed MIT. It adds 39 tokens to every session and 377 once invoked, about $0.0002 per session on Opus 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-08-30.

Related

Other skills, from other repositories

transilience-report-style

Threat Intelligence Report Design System — ReportLab-based PDF generation for A4 reports with Transilience branding, typography, and layout standards.

transilienceai/communitytools · 31 tokens

firewall-review

Evidence-safe firewall ruleset audit reference specification — 22 documented detector patterns (17 vendor-agnostic plus 5 FortiGate-specific), a 15-check semantic catalogue, CIS Fortinet FortiGate Benchmark guidance, a custom customer-policy benchmark, and consolidated network-team Excel profiles including grouped…

transilienceai/communitytools · 100 tokens

pentest-engagement

Run a professional penetration engagement OR a network vulnerability scan from a scope. WEB mode (apex domains / app URLs) — mandatory surface expansion, systematic OWASP attack-class coverage, reversible active exploitation, authoritative validation, Transilience PDF. NETWORK mode (a list of IPs/CIDRs, e.g. 1500…

transilienceai/communitytools · 140 tokens

attack-path-stitcher

Stitches confirmed single-asset findings into multi-hop attack paths across the organization. Builds a graph where nodes are assets and edges are confirmed exploit hops citing the findings that enable them.

transilienceai/communitytools · 42 tokens

coordination

Pentest coordination — orchestrates executor and validator agents with context-controlled spawning. Entry point for all engagements.

transilienceai/communitytools · 24 tokens

hackerone

HackerOne bug bounty automation - parses scope CSVs, deploys parallel pentesting agents per asset, validates PoCs, and generates platform-ready submission reports.

transilienceai/communitytools · 36 tokens