pentest-config-hardening

pentest-config-hardening is a skill for Claude Code, Codex from jd-opensource/JoySafeter. It costs 28 tokens per session (821 once invoked), scanned A, original, Apache-2.0.

A web-application security testing guide for checking security headers, encrypted connections, HTTP methods, and deployment settings.

In plain words
What is it for?
Use it during an authorised penetration test to inspect headers, TLS settings, supported HTTP methods, exposed administration pages, and related deployment risks.
Why use it?
It helps find common configuration weaknesses that a basic security scan may miss.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it during an authorised penetration test to inspect headers, TLS settings, supported HTTP methods, exposed administration pages, and related deployment risks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jd-opensource/joysafeter/pentest-config-hardening
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 jd-opensource/JoySafeter --skill pentest-config-hardening
Clone the repo
git clone --depth 1 https://github.com/jd-opensource/JoySafeter

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 pentest-config-hardening

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jd-opensource/joysafeter/pentest-config-hardening"><img src="https://agentmods.dev/badge/skills/jd-opensource/joysafeter/pentest-config-hardening.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 821 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 pass 7 Sept 2026
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.00028 $0.00821
Opus 5.5 $0.00011 $0.00328
Sonnet 5.5 $0.00006 $0.00164
Haiku 4.5 $0.00003 $0.00082

Measured 3mo ago against content hash 30ec6a1a588f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pentest-config-hardening 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 3mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- curl for manual header inspection
skills/pentest-config-hardening/SKILL.md · 64 lines

How it starts

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

Pentest Config Hardening

Purpose

Shannon checks only 2 of 14 WSTG-CONF items. The remaining 12 are "low-hanging fruit" findings expected in every professional pentest report — straightforward to test systematically.

Prerequisites

Authorization Requirements

  • Written authorization with infrastructure testing scope
  • Target URL list for all web-facing endpoints
  • CDN/WAF awareness — some headers may be set by infrastructure, not application

Environment Setup

  • testssl.sh for comprehensive TLS analysis
  • nmap with ssl-enum-ciphers script
  • curl for manual header inspection
  • nuclei with misconfig templates

Core Workflow

  1. HTTP Security Headers: Audit HSTS (+ preload), CSP policy analysis, X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy, CORP/COEP/COOP (WSTG-CONF-07/14).
  2. TLS Configuration: Protocol versions (TLS 1.0/1.1 deprecation), cipher suite strength, certificate validity, HSTS preload status, certificate transparency.
  3. HTTP Method Handling: OPTIONS enumeration, PUT/DELETE on static resources, TRACE for XST, method override headers (WSTG-CONF-06).
  4. Infrastructure Exposure: Admin interfaces (WSTG-CONF-05), default credentials on management consoles, exposed monitoring endpoints (/metrics, /health, /debug).
  5. Cloud Storage Misconfig: Public S3 buckets, Azure blob containers, GCP storage referenced in app code or responses (WSTG-CONF-11).
  6. CSP Bypass Analysis: unsafe-inline, unsafe-eval, overly broad source lists, JSONP on allowed domains, missing base-uri (WSTG-CONF-12).
  7. Cookie Security: Secure flag, HttpOnly flag, SameSite attribute, cookie scope, session cookie entropy.

WSTG Coverage

WSTG ID Test Name Status
WSTG-CONF-02 Test Application Platform Configuration ✅
WSTG-CONF-03 Test File Extensions Handling ✅
WSTG-CONF-04 Review Old Backup and Unreferenced Files ✅
WSTG-CONF-05 Enumerate Infrastructure and Admin Interfaces ✅
WSTG-CONF-06 Test HTTP Methods ✅
WSTG-CONF-07 Test HTTP Strict Transport Security ✅
WSTG-CONF-08 Test RIA Cross Domain Policy ✅
WSTG-CONF-09 Test File Permission ✅
WSTG-CONF-11 Test Cloud Storage ✅
WSTG-CONF-12 Test Content Security Policy ✅
WSTG-CONF-13 Test for Subdomain Takeover ✅
WSTG-CONF-14 Test Security Headers ✅

Read the full file on GitHub · 64 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 64 lines · 28 tokens per session scan A 30ec6a1a588f

Subscribe to this mod's changes

pentest-config-hardening is a skill published in the GitHub repository jd-opensource/JoySafeter (318 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 28 tokens to every session and 821 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

pentest-config-hardening compared with skills from other repositories

pentest-config-hardening next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pentest-config-hardeningjd-opensource/JoySafeterSkill3181mo agoApache-2.0A28Claude Code, Codex
skill-authoringmateaix/mateclawSkill1.2k3d agoApache-2.0A18Claude Code, Codex
swarmclawswarmclawai/swarmclawSkill7175mo agoMITB67Claude Code, Codex
Email Marketing Command CenterLeoYeAI/openclaw-master-skillsSkill2.2k8d agoMITA29Claude Code, Codex
Freelance EmpireLeoYeAI/openclaw-master-skillsSkill2.2k8d agoMITA71Claude Code, Codex
ai-drama-prompt-factoryLeoYeAI/openclaw-master-skillsSkill2.2k8d agoMITA165Claude Code, Codex
aclawdemyLeoYeAI/openclaw-master-skillsSkill2.2k8d agoMITA30Claude Code, Codex