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.
npx agentmods add skills/ogrodev/fsociety/system-hardeningnpx skills add ogrodev/fsociety --skill system-hardeninggit clone --depth 1 https://github.com/ogrodev/fsocietyWrote 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.
[](https://agentmods.dev/skills/ogrodev/fsociety/system-hardening)<a href="https://agentmods.dev/skills/ogrodev/fsociety/system-hardening"><img src="https://agentmods.dev/badge/skills/ogrodev/fsociety/system-hardening.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00262 | $0.01499 |
| Opus 5 | $0.00131 | $0.00749 |
| Sonnet 5 | $0.00052 | $0.00300 |
| Haiku 4.5 | $0.00026 | $0.00150 |
Grade B, and why
system-hardening scanned grade B with 2 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 yesterday.
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.
Enumerates the file system for secretsmediumData exfiltration
Searching home directories for .env, .ssh, .aws or credential files is reconnaissance for credential theft.
find ~ -maxdepth 3 -name "*.key" -o -name "*.pem" -o -name "id_rsa" -o -name "*.p12" 2>/dev/null Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Asks for rootlowPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
sudo iptables -L -n --line-numbers 2>/dev/null | head -20 || sudo nft list ruleset 2>/dev/null | head -20 Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
How it starts
The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.
System Hardening — Operator Platform Security
Comprehensive hardening for red team operator machines, attack platforms, and engagement workstations. This skill treats the operator's machine as the most sensitive asset in the engagement — a compromised operator platform means compromised operations, compromised clients, and compromised credentials.
The threat model here is different from server hardening: the operator needs a functional offensive toolkit while minimizing attack surface, protecting credentials, and preventing forensic recovery of engagement data.
Opsec Profile Integration
Hardening depth scales with the active opsec profile. Check the current profile before applying changes:
node "${CLAUDE_PLUGIN_ROOT}/scripts/opsec-profile.js" get
| Profile | Kernel | Firewall | SSH | Disk | Services | Memory | Credentials |
|---|---|---|---|---|---|---|---|
loud |
ASLR only | Default accept | Key auth | Optional | All running | No wipe | Plain files OK |
normal |
Basic sysctl | INPUT drop | Key + non-default port | Home encrypted | Minimal | Swap encrypted | pass or keepassxc |
stealth |
Full sysctl | Strict in/out | ProxyJump + knockd | Full LUKS | Whitelist only | RAM wipe on lock | GPG-backed pass |
paranoid |
Full + modules locked | Egress filtered + Tor | Ephemeral keys per op | LUKS + detached header | Minimal + sandboxed | Encrypted swap + no core dumps | Hardware token + pass |
Reference Files
Read the appropriate reference based on the hardening category:
| Category | Reference | When to Read |
|---|---|---|
| Kernel parameters, ASLR, ptrace, namespaces | references/kernel-hardening.md |
Sysctl tuning, kernel lockdown, memory protections |
| Firewall rulesets for operator machines | references/firewall-config.md |
Inbound/outbound filtering, engagement-aware rules, Tor/VPN integration |
| SSH client and server hardening | references/ssh-hardening.md |
Key management, ProxyJump chains, agent forwarding, tunneling |
| Disk, swap, and memory protection | references/disk-and-memory.md |
LUKS encryption, swap encryption, RAM security, core dump prevention |
| Service minimization and sandboxing | references/services-and-sandboxing.md |
Attack surface reduction, firejail profiles, AppArmor, service audit |
| Credential storage and browser security | references/credential-and-browser.md |
pass, keepassxc, GPG agent, browser profiles, USB security |
What ships with it
6 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.
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.
- yesterday First seen · 108 lines · 262 tokens per session scan B eec6e14eb2f2
system-hardening is a skill published in the GitHub repository ogrodev/fsociety (20 stars, last pushed 5mo ago), licensed MIT. It adds 262 tokens to every session and 1,499 once invoked, about $0.0013 per session on Opus 5. A static security scan graded it B with 2 findings (enumerates the file system for secrets, asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
mks
MKS (Metasploit-Kali Server) tool preference guide. Mount in Phase 0/1 alongside the primary skill. Provides URL resolution, REST endpoint patterns, response parsing, error handling, and fallback rules for all MKS-backed Kali tools.
pentest
Penetration testing orchestrator that coordinates specialized attack agents. Provides attack indexes, methodology frameworks, and documentation. Execution delegated to specialized agents (SQL Injection, XSS, SSRF, etc.). Use for engagement planning and attack coordination.
authenticating
Authentication testing skill - automates signup, login, 2FA bypass, CAPTCHA solving, and bot detection evasion using Playwright MCP. Tests authentication security controls. Includes behavioral biometrics simulation, OTP handling, and automated account creation for security assessments.
common-appsec-patterns
Application security testing coordinator for common vulnerability patterns including XSS, injection flaws, and client-side security issues. Orchestrates specialized testing agents to identify and validate common application security weaknesses.
web-application-mapping
Comprehensive web application reconnaissance and mapping coordinator that orchestrates passive browsing, active endpoint discovery, attack surface analysis, and headless browser automation for complete application coverage.
cve-testing
CVE vulnerability testing coordinator that identifies technology stacks, researches known vulnerabilities, and tests applications for exploitable CVEs using public exploits and proof-of-concept code.