vps-security

vps-security is a skill for Claude Code, Codex from ogrodev/fsociety. It costs 266 tokens per session (1,524 once invoked), scanned A, original, MIT.

A security guide for protecting virtual private servers and other infrastructure used in red-team operations. It covers acquisition, server hardening, encrypted storage, command-and-control setup, monitoring, and teardown.

In plain words
What is it for?
It is for planning and securing VPS-based red-team infrastructure, including SSH, firewalls, encryption, network routing, monitoring, and recovery or teardown.
Why use it?
Attack infrastructure can expose operators, credentials, client data, and activity if it is poorly isolated or left running after use.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the trenton plugin — 5 skills, 12 commands, 2 agents shipped together

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/ogrodev/fsociety/vps-security
Any agent
npx skills add ogrodev/fsociety --skill vps-security
Clone the repo
git clone --depth 1 https://github.com/ogrodev/fsociety

Made for: Claude Code, Codex.

Or install trenton, the plugin that ships this one along with the rest of its 5 skills, 12 commands, 2 agents.

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 vps-security

README.md
[![agentmods](https://agentmods.dev/badge/skills/ogrodev/fsociety/vps-security.svg)](https://agentmods.dev/skills/ogrodev/fsociety/vps-security)
Your own site
<a href="https://agentmods.dev/skills/ogrodev/fsociety/vps-security"><img src="https://agentmods.dev/badge/skills/ogrodev/fsociety/vps-security.svg" alt="Measured on agentmods" height="20"></a>
Per session 266 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,524 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.00266 $0.01524
Opus 5 $0.00133 $0.00762
Sonnet 5 $0.00053 $0.00305
Haiku 4.5 $0.00027 $0.00152

Measured yesterday against content hash 1c4fa99ccd1f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

vps-security 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 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.

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.

trenton/skills/vps-security/SKILL.md · 140 lines

How it starts

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

VPS Security

End-to-end security for red team attack infrastructure — from anonymous acquisition through hardened provisioning, encrypted storage, C2 deployment, continuous monitoring, and rapid teardown.

This skill treats every VPS as a disposable, compartmentalized node in an attack infrastructure graph. The goal is never "secure a server for production" — it is "make this node operationally useful while leaving zero forensic trail when it burns."

Reference Files

Reference When to Read
references/anonymous-acquisition.md Acquiring VPS anonymously — providers, payment, identity separation
references/hardened-provisioning.md First-boot hardening playbook — SSH, firewall, port knocking, sysctl, updates
references/encrypted-storage.md LUKS, VeraCrypt, encrypted swap, nuke keys, plausible deniability
references/c2-infrastructure.md C2 hardening, redirectors, domain fronting, malleable profiles, TLS
references/teardown-and-recovery.md Rapid teardown, secure wipe, snapshot destruction, backup/recovery

Opsec Profile Integration

Every action in this skill adapts to the active opsec profile. Check the current profile before starting any VPS work:

node "${CLAUDE_PLUGIN_ROOT}/scripts/opsec-profile.js" show
Profile Acquisition Provisioning Monitoring Teardown
loud Any provider, credit card OK Basic hardening, password SSH OK Optional Manual cleanup
normal Mainstream provider, prepaid card Key-only SSH, UFW, fail2ban Logwatch daily Delete VPS via panel
stealth Privacy provider, crypto payment Port knocking, no DNS, encrypted disk Auditd + remote syslog Secure wipe + snapshot delete
paranoid Bulletproof/offshore, Monero only Multi-layer: knock + Tor-only SSH, full LUKS Real-time alerts, tripwire Nuke key + header destroy + provider account burn

Read the full file on GitHub · 140 lines

Files

What ships with it

5 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. yesterday First seen · 140 lines · 266 tokens per session scan A 1c4fa99ccd1f

Subscribe to this mod's changes

vps-security is a skill published in the GitHub repository ogrodev/fsociety (20 stars, last pushed 5mo ago), licensed MIT. It adds 266 tokens to every session and 1,524 once invoked, about $0.0013 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-09-03.

Related

Other skills, from other repositories

activate-site

Activates and provisions a Power Pages website in a Power Platform environment via the Power Platform REST API. Use when the user wants to activate, provision, turn on, or enable a Power Pages website or portal.

microsoft/power-platform-skills · 45 tokens

deploy

Builds and deploys a Power Apps code app to Power Platform. Use when deploying changes, redeploying an existing app, or pushing updates.

microsoft/power-platform-skills · 32 tokens

deploy-to-connect

Deploy or publish Python and R content to a Posit Connect server using rsconnect-python or the R rsconnect package. Handles interactive apps and dashboards, web APIs, rendered documents, and prepared bundles/manifests. Use whenever the user asks to deploy, publish, or redeploy content to Posit Connect, or mentions…

posit-dev/skills · 81 tokens

cloudflare-cron-triggers

Cloudflare Cron Triggers for scheduled Workers execution. Use for periodic tasks, scheduled jobs, or encountering handler not found, invalid cron expression, timezone errors.

secondsky/claude-skills · 38 tokens

cloudflare-workflows

Cloudflare Workflows for durable long-running execution. Use for multi-step workflows, retries, state persistence, or encountering NonRetryableError, execution failed errors.

secondsky/claude-skills · 37 tokens

cloudflare-browser-rendering

Cloudflare Browser Rendering with Puppeteer/Playwright. Use for screenshots, PDFs, web scraping, or encountering rendering errors, timeout issues, memory exceeded.

secondsky/claude-skills · 37 tokens