pentest-stig

pentest-stig is a skill for Claude Code from fatihkan/badi. It costs 60 tokens per session (1,638 once invoked), scanned A, original, MIT.

A guide for auditing systems against DISA STIGs, which are US Department of Defense security configuration rules. It also covers SCAP scan results, Windows Group Policy remediation, checklists, and reasons for leaving an exception open.

In plain words
What is it for?
Use it to review STIG or OpenSCAP results, map findings to severity and rule IDs, plan Linux or Windows hardening, and analyse CKL checklist files.
Why use it?
It helps teams compare system settings with a defined security baseline and document both fixes and accepted exceptions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Part of the badi plugin — 81 skills, 86 commands, 30 agents, 7 hooks shipped together

Good fit Use it to review STIG or OpenSCAP results, map findings to severity and rule IDs, plan Linux or Windows hardening, and analyse CKL checklist files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fatihkan/badi/pentest-stig
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.

Any agent
npx skills add fatihkan/badi --skill pentest-stig
Clone the repo
git clone --depth 1 https://github.com/fatihkan/badi

Made for: Claude Code.

Or install badi, the plugin that ships this one along with the rest of its 81 skills, 86 commands, 30 agents, 7 hooks.

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 pentest-stig

README.md
[![agentmods](https://agentmods.dev/badge/skills/fatihkan/badi/pentest-stig/github.svg)](https://agentmods.dev/skills/fatihkan/badi/pentest-stig)
Your own site
<a href="https://agentmods.dev/skills/fatihkan/badi/pentest-stig"><img src="https://agentmods.dev/badge/skills/fatihkan/badi/pentest-stig/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 pentest-stig

Your own site · 80×15
<a href="https://agentmods.dev/skills/fatihkan/badi/pentest-stig"><img src="https://agentmods.dev/badge/skills/fatihkan/badi/pentest-stig.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,638 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 71
    Tool calls are chained to bypass individual safety checks or escalate capabilities beyond what any single tool call would allow.
    Fix: Limit tool chaining depth and validate the output of each tool before passing it to the next. Require explicit user approval for multi-step chains.
  • medium Privilege Escalation · line 71
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 102
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
How audits are shown
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.00060 $0.01638
Opus 5 $0.00030 $0.00819
Sonnet 5 $0.00012 $0.00328
Haiku 4.5 $0.00006 $0.00164

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

Security

Grade A, and why

pentest-stig scanned grade A with 1 finding 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.

Asks for rootlowPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

| RHEL-08-010370 | sudo logging | II |

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

.claude/skills-vault/pentest-stig/SKILL.md · 177 lines

How it starts

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

pentest-stig

DISA STIG audit + remediation advisory. Standard in government, finance, and critical-infrastructure engagements.

Triggers

  • "STIG audit"
  • "SCAP / OpenSCAP scan"
  • "GPO hardening"
  • "keep-open justification"
  • "CKL file analysis"
  • "compliance baseline"

What STIG Is

A security configuration baseline published by the US Department of Defense Defense Information Systems Agency (DISA). Specific rules for Linux, Windows, web servers, network devices, databases, and applications.

Format:

  • STIG ID (Group_ID + Rule_ID): maps to GENERIC-NIST-800-53
  • Severity: CAT I (critical), CAT II (high), CAT III (medium)
  • Vulnerability discussion: why it matters
  • Check Text: how it is checked
  • Fix Text: how it is fixed

SCAP Scan

# OpenSCAP (Linux audit)
oscap xccdf eval --profile xccdf_org.ssgproject.content_profile_stig \
  --results scan-results.xml \
  --report scan-report.html \
  --datastream-id ds-rhel8.xml \
  ssg-rhel8-ds.xml

# Windows: SCC Tool (DISA) or the OpenSCAP Windows port
# Web: scap-security-guide / OpenSCAP web UI

CKL (Checklist) Format

An XML format opened with the DISA STIG Viewer. Per STIG ID:

  • NotAFinding — compliant
  • Open — a finding exists
  • Not_Applicable — out of scope
  • Not_Reviewed — not yet reviewed

Common STIG Categories (Linux RHEL 8)

ID Title CAT
RHEL-08-010020 Crypto Policy = FIPS I
RHEL-08-010049 Banner login warn message III
RHEL-08-010130 SSH PermitRootLogin no II
RHEL-08-010140 Disable USB mass storage II
RHEL-08-010210 /tmp nosuid mount II
RHEL-08-010370 sudo logging II
RHEL-08-010460 password complexity (pwquality) II
RHEL-08-010620 session timeout 15min III
RHEL-08-020220 account lockout 3 try II
RHEL-08-040340 firewalld enabled II

Common STIG Categories (Windows Server 2022)

ID Title CAT
WN22-00-000010 Inactive accounts disable III
WN22-AC-000010 Lockout duration II
WN22-AC-000020 Lockout threshold II
WN22-AU-000010 Audit Account Logon II
WN22-SO-000020 Anonymous SID lookup I
WN22-SO-000080 LM hash storage off I
WN22-SO-000100 LMCompat Level 5 I

Read the full file on GitHub · 177 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. 2d ago First seen · 177 lines · 60 tokens per session scan A b6dded71dd76

Subscribe to this mod's changes

pentest-stig is a skill published in the GitHub repository fatihkan/badi (7 stars, last pushed yesterday), licensed MIT. It adds 60 tokens to every session and 1,638 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-06.

Related

Other skills, from other repositories

pr-triage

4-phase PR backlog management with audit, deep code review, validated comments, and optional worktree setup. Use when triaging pull requests, catching up on pending code reviews, or managing a backlog of open PRs. Args: 'all' to review all, PR numbers to focus (e.g. '42 57'), 'en'/'fr' for language, no arg = audit…

FlorianBruniaux/claude-code-plugins · 86 tokens

audit-agents-skills

Audit Claude Code agents, skills, and commands for quality and production readiness. Use when evaluating skill quality, checking production readiness scores, or comparing agents against best-practice templates.

FlorianBruniaux/claude-code-plugins · 41 tokens

eval-agents

Audit Claude Code agents defined in .claude/agents/ for description specificity, model tier appropriateness, tools scoping, and system prompt quality. Detects dispatch ambiguity between agents, flags over-permissive tool grants, and checks for human-in-the-loop patterns that break programmatic orchestration. Use when…

FlorianBruniaux/claude-code-plugins · 93 tokens

check-cache-bugs

Audit Claude Code setup for cache bugs (CC#40524): sentinel, --resume/--continue, attribution header + ArkNill B3/B4/B5.

FlorianBruniaux/claude-code-plugins · 38 tokens

issue-triage

3-phase issue backlog management with audit, deep analysis, and validated triage actions. Use when triaging GitHub issues, sorting bug reports, cleaning up stale tickets, or detecting duplicate issues. Args: 'all' to analyze all, issue numbers to focus (e.g. '42 57'), 'en'/'fr' for language, no arg = audit only.

FlorianBruniaux/claude-code-plugins · 81 tokens

git-ai-archaeology

Analyze AI config evolution in a git repo. Use when mapping AI adoption history, finding when configs were first introduced, charting commit velocity by month, or identifying maturity phases in a project's AI tooling.

FlorianBruniaux/claude-code-plugins · 47 tokens