/SKILL.md
Install, configure, and manage 1-SEC — an open-source, all-in-one cybersecurity platform (16 modules, single binary) on Linux servers and VPS instances. Use when the user asks to secure a server, install security monitoring, set up intrusion detection, harden a VPS, protect an AI agent host, or deploy endpoint defense. Covers installation, setup, enforcement presets, module configuration, alert management, and ongoing security operations.
npx skillsauth add cutmob/1-sec 1sec-securityInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
This skill has been flagged as suspicious. Review the scan results before using.
2 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are installing and configuring 1-SEC, an open-source all-in-one cybersecurity platform. One binary, 16 defense modules, zero config required.
Trust Statement: Only install this skill if you trust the source. 1-SEC is open-source (AGPL-3.0) and available at https://github.com/1sec-security/1sec. Review the code, checksums, and SECURITY.md before deploying to production systems.
What leaves this machine:
GEMINI_API_KEY is set (opt-in)What stays local:
~/.1sec/Privileges used:
iptables/nftables: only when enforcement preset is active (opt-in)kill_process: only when enforcement preset is active (opt-in)quarantine_file: only when enforcement preset is active (opt-in)dry_run: true, safe preset)External Endpoints
| Domain | Purpose | Data Sent | Required | Enabled By |
|--------|---------|-----------|----------|------------|
| 1-sec.dev | Serves install.sh redirect to GitHub Releases | OS/arch from install script | No | Quick-install only |
| github.com | Binary release downloads + checksums.txt | Standard HTTP headers | No | Manual install |
| api.1-sec.dev | Cloud control plane (centralized management) | Alert metadata, host ID | No | cloud.enabled: true in config |
| User-configured | Webhook alerts (Slack, Discord, Telegram, etc.) | Alert payload | No | webhook_urls in config |
| generativelanguage.googleapis.com | Gemini AI correlation | Anonymized alert context | No | GEMINI_API_KEY env var |
For production use, always download from GitHub Releases and verify before running as root:
# 1. Download the release binary and checksums
VERSION="0.4.11"
wget https://github.com/1sec-security/1sec/releases/download/v${VERSION}/1sec-linux-amd64
wget https://github.com/1sec-security/1sec/releases/download/v${VERSION}/checksums.txt
# 2. Verify SHA256 checksum
sha256sum -c checksums.txt 2>&1 | grep 1sec-linux-amd64
# 3. Install
chmod +x 1sec-linux-amd64
sudo mv 1sec-linux-amd64 /usr/local/bin/1sec
# 4. Confirm
1sec --version
For arm64, replace 1sec-linux-amd64 with 1sec-linux-arm64.
# Download and review the install script first
curl -fsSL https://1-sec.dev/get -o install.sh
cat install.sh # Review before running
sh install.sh # Run after review
Note: Piping remote scripts directly to
sh(curl | sh) is convenient but bypasses local review. The quick-install script is open-source at https://github.com/1sec-security/1sec/blob/main/get.sh — review it before use on production systems.
1sec setup --non-interactive
1sec up
The vps-agent preset is designed for unattended AI agent hosts. It enables
aggressive enforcement (process kills, file quarantine, IP blocks) to protect
against prompt injection, malicious skills, and credential theft.
Always start in dry-run mode and validate before going live:
1sec setup --non-interactive
# Start in dry-run — no live enforcement yet
1sec enforce preset vps-agent --dry-run
1sec up
# Monitor 24-48 hours to validate behavior before going live
1sec alerts
1sec enforce history
# Go live only after validating dry-run output
1sec enforce dry-run off
1sec setup
1-SEC ships with dry_run: true and the safe preset by default. No live
enforcement happens until you explicitly enable it.
| Preset | Behavior |
|--------|----------|
| lax | Log + webhook only. Never blocks or kills. |
| safe | Default. Blocks only brute force + port scans at CRITICAL. |
| balanced | Blocks IPs on HIGH, kills processes on CRITICAL. |
| strict | Aggressive enforcement on MEDIUM+. |
| vps-agent | Max security for unattended AI agent hosts. Aggressive on auth, LLM firewall, containment, runtime, supply chain. |
# Preview a preset without applying
1sec enforce preset strict --show
# Apply with dry-run protection
1sec enforce preset balanced --dry-run
# Apply live
1sec enforce preset balanced
All 16 detection modules work with zero API keys. To add AI-powered correlation:
export GEMINI_API_KEY=your_key_here
1sec up
1sec up # Start engine (all 16 modules)
1sec status # Engine status
1sec alerts # Recent alerts
1sec alerts --severity HIGH # Filter by severity
1sec modules # List all modules
1sec dashboard # Real-time TUI dashboard
1sec check # Pre-flight diagnostics
1sec doctor # Health check with fix suggestions
1sec stop # Graceful shutdown
| # | Module | Covers | |---|--------|--------| | 1 | Network Guardian | DDoS, rate limiting, IP reputation, C2 beaconing, port scans | | 2 | API Fortress | BOLA, schema validation, shadow API discovery | | 3 | IoT & OT Shield | Device fingerprinting, protocol anomaly, firmware integrity | | 4 | Injection Shield | SQLi, XSS, SSRF, command injection, template injection | | 5 | Supply Chain Sentinel | SBOM, typosquatting, dependency confusion, CI/CD | | 6 | Ransomware Interceptor | Encryption detection, canary files, wiper detection | | 7 | Auth Fortress | Brute force, credential stuffing, MFA fatigue, AitM | | 8 | Deepfake Shield | Audio forensics, AI phishing, BEC detection | | 9 | Identity Fabric | Synthetic identity, privilege escalation | | 10 | LLM Firewall | 65+ prompt injection patterns, jailbreak detection, multimodal scanning | | 11 | AI Agent Containment | Action sandboxing, scope escalation, OWASP Agentic Top 10 | | 12 | Data Poisoning Guard | Training data integrity, RAG pipeline validation | | 13 | Quantum-Ready Crypto | Crypto inventory, PQC readiness, TLS auditing | | 14 | Runtime Watcher | FIM, container escape, LOLBin, memory injection | | 15 | Cloud Posture Manager | Config drift, misconfiguration, secrets sprawl | | 16 | AI Analysis Engine | Two-tier Gemini pipeline for correlation |
1sec-security/references/operations-runbook.md — Day-to-day operations1sec-security/references/config-reference.md — Full configuration reference1sec-security/references/vps-agent-guide.md — VPS agent deployment guide1sec-security/scripts/install-and-configure.sh — Automated install scriptdevelopment
Install, configure, and manage 1-SEC — an open-source, all-in-one cybersecurity platform (16 modules, single binary) on Linux servers and VPS instances. Use when the user asks to secure a server, install security monitoring, set up intrusion detection, harden a VPS, protect an AI agent host, or deploy endpoint defense. Covers installation, setup, enforcement presets, module configuration, alert management, and ongoing security operations.
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.