apiscan
API security audit — REST, GraphQL, JWT analysis, parameter discovery
Assess and apply OS hardening measures — firewall, SSH, kernel params, services, MAC
> /plugin marketplace add ogrodev/fsociety > /plugin install fsociety@ogrodev-fsociety
How it fires
How this command gets triggered: by you, by Claude, or both.
/op-hardenContext preview
What this command does when you run it.
Assess and apply OS hardening measures — firewall, SSH, kernel params, services, MAC
description: Assess and apply OS hardening measures — firewall, SSH, kernel params, services, MAC allowed-tools: ToolSearch, Bash, Read, Write, Glob, Grep, Task argument-hint: <target-host> [--scope kernel|ssh|firewall|services|mac|full] [--apply]
> **Storage Policy**: ALL output files MUST be saved in the project directory. NEVER write to /tmp/ or any system temporary directory.
Target and options: `$ARGUMENTS`
1. Parse `$ARGUMENTS` for target host, `--scope` (default `full`), and `--apply` flag. Store parsed values for use throughout the command.
2. Load tools via `ToolSearch`: system administration, network configuration tools. Identify available Hexstrike MCP tools for remote system assessment.
3. For each scope category enabled by the `--scope` flag, run assessment checks via Hexstrike MCP tools. Collect all findings before generating the report.
4. Log each finding to the ops tracker:
node "${CLAUDE_PLUGIN_ROOT}/scripts/ops-tracker.js" add <target> hardening-check <category> "<action>" <result> <severity>5. **Kernel** (`--scope kernel` or `full`): Check sysctl parameters for secure defaults:
6. **SSH** (`--scope ssh` or `full`): Parse `sshd_config` and verify:
7. **Firewall** (`--scope firewall` or `full`): Check iptables/nftables configuration:
8. **Services** (`--scope services` or `full`): List all running services via `systemctl list-units --type=service --state=running`. Flag unnecessary or risky services (telnet, rpcbind, avahi-daemon, cups, nfs, rsh, rlogin).
9. **MAC** (`--scope mac` or `full`): Check if macchanger is installed and configured for interface randomization on boot. Verify NetworkManager dispatcher scripts or systemd unit for automatic MAC rotation.
10. If `--apply` flag is set: Generate remediation commands for each failed check. Present the full remediation plan to the user and execute only after explicit confirmation. Apply changes incrementally and verify each one.
11. Write the hardening report to the project directory. Include a summary table of all checks with PASS/FAIL/WARN status, severity ratings, and remediation commands for failed checks.
12. Update session metrics:
node "${CLAUDE_PLUGIN_ROOT}/scripts/session-state.js" metric checks_passed
node "${CLAUDE_PLUGIN_ROOT}/scripts/session-state.js" metric checks_failedMulti-plugin marketplace for Claude Code offensive security plugins
Repo: ogrodev/fsociety
API security audit — REST, GraphQL, JWT analysis, parameter discovery
Archive or list previous engagement snapshots
Password brute force and hash cracking against target services
Resume or execute an attack campaign with progress tracking
Show running scans, system health, and engagement status