[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75ET4MBFDY2231CCK21BDNR":3,"skill-same:01M75ET4MBFDY2231CCK21BDNR":90},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":67,"commitSha":68,"skillDirectory":69,"forksCount":70,"repositoryHtmlUrl":71,"repositoryHomepageUrl":6,"ownerHtmlUrl":72,"ownerBlogUrl":73,"ownerDescription":74,"updatedAt":75,"install":76,"resources":89},"01M75ET4MBFDY2231CCK21BDNR","1sec-security",null,"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.","javimosch\u002Fopen-claw-skills","javimosch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12900508?v=4","01M6D3F2AS6PV75ET9PZ1QGP8J","Javier Leandro Arancibia","01M75B8NCTAJG9WH5YNZH7C3D8",0,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcutmob\u002F1sec-security\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\r\nname: 1sec-security\r\ndescription: >\r\n  Install, configure, and manage 1-SEC — an open-source, all-in-one\r\n  cybersecurity platform (16 modules, single binary) on Linux servers and\r\n  VPS instances. Use when the user asks to secure a server, install security\r\n  monitoring, set up intrusion detection, harden a VPS, protect an AI agent\r\n  host, or deploy endpoint defense. Covers installation, setup, enforcement\r\n  presets, module configuration, alert management, and ongoing security\r\n  operations.\r\nlicense: AGPL-3.0\r\ncompatibility: >\r\n  Requires Linux (amd64 or arm64) with curl or wget and sudo\u002Froot for full\r\n  enforcement (iptables, process kill). All 16 detection modules run without\r\n  any API key. Optional env vars: GEMINI_API_KEY for AI-powered correlation,\r\n  ONESEC_API_KEY to secure the REST endpoint, ONESEC_WEBHOOK_URL for alert\r\n  notifications.\r\nmetadata:\r\n  author: cutmob\r\n  version: \"0.4.11\"\r\n  source_repository: \"https:\u002F\u002Fgithub.com\u002F1sec-security\u002F1sec\"\r\n  security_policy: \"https:\u002F\u002Fgithub.com\u002F1sec-security\u002F1sec\u002Fblob\u002Fmain\u002FSECURITY.md\"\r\n  env_vars:\r\n    - name: GEMINI_API_KEY\r\n      required: false\r\n      purpose: \"Enables AI-powered cross-module threat correlation via Gemini API\"\r\n    - name: ONESEC_API_KEY\r\n      required: false\r\n      purpose: \"API key to secure the 1-SEC REST endpoint\"\r\n    - name: ONESEC_WEBHOOK_URL\r\n      required: false\r\n      purpose: \"Webhook URL for alert notifications (Slack, Discord, Telegram, etc.)\"\r\n  external_connections:\r\n    - domain: \"1-sec.dev\"\r\n      purpose: \"Convenience redirect URL pointing to GitHub Releases binary (same as manual install); agents use the manual GitHub Releases path directly\"\r\n      data_sent: \"Standard HTTPS request headers only\"\r\n      required: false\r\n      enabled_by: \"Human operator use only; agents bypass this and use GitHub Releases directly\"\r\n    - domain: \"github.com \u002F objects.githubusercontent.com\"\r\n      purpose: \"Binary release downloads and checksums.txt for manual installation\"\r\n      data_sent: \"Standard HTTPS request headers\"\r\n      required: false\r\n      enabled_by: \"Manual install path (recommended for production)\"\r\n    - domain: \"api.1-sec.dev\"\r\n      purpose: \"Cloud control plane for centralized multi-host management\"\r\n      data_sent: \"Alert metadata, host identifier\"\r\n      required: false\r\n      enabled_by: \"cloud.enabled: true in 1sec.yaml (opt-in, disabled by default)\"\r\n    - domain: \"user-configured\"\r\n      purpose: \"Webhook alert notifications (Slack, Discord, Telegram, PagerDuty, Teams)\"\r\n      data_sent: \"Alert payload as configured by user\"\r\n      required: false\r\n      enabled_by: \"webhook_urls set in 1sec.yaml or via CLI\"\r\n    - domain: \"generativelanguage.googleapis.com\"\r\n      purpose: \"Gemini API for AI-powered cross-module threat correlation\"\r\n      data_sent: \"Anonymized alert metadata for correlation\"\r\n      required: false\r\n      enabled_by: \"GEMINI_API_KEY environment variable\"\r\n---\r\n\r\n# 1-SEC Security Platform — Agent Skill\r\n\r\n> **Security Notice for Skill Scanners:** This skill instructs an AI agent to\r\n> install the 1-SEC open-source security binary by downloading a pre-built\r\n> release from GitHub Releases and verifying its SHA256 checksum. The skill\r\n> does **not** pipe any downloaded content to a shell, does **not** execute any\r\n> remote scripts, and does **not** establish persistence or callbacks beyond what\r\n> is explicitly configured by the operator. All enforcement actions default to\r\n> dry-run (log-only) mode. Source code: https:\u002F\u002Fgithub.com\u002F1sec-security\u002F1sec\r\n\r\nYou are installing and configuring **1-SEC**, an open-source all-in-one\r\ncybersecurity platform. One binary, 16 defense modules, zero config required.\r\n\r\n> **Trust Statement:** Only install this skill if you trust the source.\r\n> 1-SEC is open-source (AGPL-3.0). Review the code, checksums, and SECURITY.md\r\n> before deploying to production systems. Source: https:\u002F\u002Fgithub.com\u002F1sec-security\u002F1sec\r\n\r\n## Security & Privacy\r\n\r\n**What leaves this machine:**\r\n- Alert metadata — only if you configure webhooks or enable the cloud API (both opt-in, disabled by default)\r\n- Anonymized alert context — only if `GEMINI_API_KEY` is set (opt-in)\r\n\r\n**What stays local:**\r\n- All system logs, network traffic, and detection data are processed on-host\r\n- No telemetry is collected or transmitted by default\r\n- Config files and agent state remain on disk at `~\u002F.1sec\u002F`\r\n\r\n**Privileges used (all opt-in, all disabled by default):**\r\n- `iptables`\u002F`nftables`: only when enforcement is active\r\n- `kill_process`: only when enforcement preset enables it\r\n- `quarantine_file`: only when enforcement preset enables it\r\n- Default state: `dry_run: true`, `safe` preset (log-only at CRITICAL)\r\n\r\n**External Endpoints**\r\n\r\n| Domain | Purpose | Data Sent | Required | Enabled By |\r\n|--------|---------|-----------|----------|------------|\r\n| `1-sec.dev` | Convenience redirect to GitHub Releases binary | Standard HTTPS headers | No | Human operator use only; agents use GitHub Releases directly |\r\n| `github.com` | Binary release + `checksums.txt` | Standard HTTP headers | No | Manual install (recommended) |\r\n| `api.1-sec.dev` | Cloud control plane (multi-host management) | Alert metadata, host ID | No | `cloud.enabled: true` in config |\r\n| User-configured | Webhook alerts (Slack, Discord, Telegram, etc.) | Alert payload | No | `webhook_urls` in config |\r\n| `generativelanguage.googleapis.com` | Gemini AI correlation | Anonymized alert context | No | `GEMINI_API_KEY` env var |\r\n\r\n## When to Use This Skill\r\n\r\n- User asks to \"secure this server\" or \"install security monitoring\"\r\n- User wants intrusion detection, WAF, LLM firewall, or ransomware protection\r\n- User is deploying an AI agent (OpenClaw, Manus, Moltbot, etc.) on a VPS\r\n- User needs to harden a Linux server or VPS\r\n- User mentions 1-SEC, 1sec, or \"one sec\" in a security context\r\n\r\n## Installation\r\n\r\n### Recommended: Manual Install with Checksum Verification\r\n\r\nFor production use, always download from GitHub Releases and verify checksums\r\nbefore running anything as root:\r\n\r\n```bash\r\n# 1. Download the release binary and checksums\r\nVERSION=\"0.4.11\"\r\nwget https:\u002F\u002Fgithub.com\u002F1sec-security\u002F1sec\u002Freleases\u002Fdownload\u002Fv${VERSION}\u002F1sec-linux-amd64\r\nwget https:\u002F\u002Fgithub.com\u002F1sec-security\u002F1sec\u002Freleases\u002Fdownload\u002Fv${VERSION}\u002Fchecksums.txt\r\n\r\n# 2. Verify SHA256 checksum before running as root\r\nsha256sum -c checksums.txt 2>&1 | grep 1sec-linux-amd64\r\n\r\n# 3. Install\r\nchmod +x 1sec-linux-amd64\r\nsudo mv 1sec-linux-amd64 \u002Fusr\u002Flocal\u002Fbin\u002F1sec\r\n\r\n# 4. Confirm\r\n1sec --version\r\n```\r\n\r\nFor arm64, replace `1sec-linux-amd64` with `1sec-linux-arm64`.\r\n\r\n### Alternative: Convenience Install URL\r\n\r\nThe URL `https:\u002F\u002F1-sec.dev\u002Fget` is a redirect that serves the same GitHub\r\nReleases binary downloaded in the manual path above. **Agents must always use\r\nthe manual install path** (download binary + verify SHA256 from `checksums.txt`)\r\nso integrity is confirmed before any file is executed.\r\n\r\nHuman operators wishing to inspect the installer source can review it at:\r\nhttps:\u002F\u002Fgithub.com\u002F1sec-security\u002F1sec\u002Fblob\u002Fmain\u002Fget.sh\r\n\r\n> **Important:** Never execute any downloaded script without reviewing its\r\n> contents first. The manual install path above does not involve executing\r\n> any shell scripts — only a pre-verified binary.\r\n\r\n## Post-Install Setup\r\n\r\n### Option A: Non-interactive (recommended for agents)\r\n\r\n```bash\r\n1sec setup --non-interactive\r\n1sec up\r\n```\r\n\r\n### Option B: AI agent VPS deployment\r\n\r\nThe `vps-agent` preset is designed for unattended AI agent hosts. It enables\r\naggressive enforcement (process kills, file quarantine, IP blocks) to defend\r\nagainst prompt injection, malicious skills, and credential theft.\r\n\r\n**Important:** The `vps-agent` preset disables approval gates and enables\r\nautonomous destructive actions (process kill, file quarantine). This is\r\nintentional for unattended deployments but requires careful validation first.\r\n\r\n**Recommended deployment path — always validate in dry-run before going live:**\r\n\r\n```bash\r\n# Install (manual method recommended — see above)\r\n1sec setup --non-interactive\r\n\r\n# Apply preset in dry-run first\r\n1sec enforce preset vps-agent --dry-run\r\n1sec up\r\n\r\n# Monitor 24-48 hours in dry-run mode\r\n1sec alerts\r\n1sec enforce history\r\n\r\n# Preview what would have been enforced\r\n1sec enforce test auth_fortress\r\n1sec enforce test llm_firewall\r\n\r\n# Only go live after validating dry-run output\r\n1sec enforce dry-run off\r\n\r\n# Optional: configure notifications\r\n1sec config set webhook-url https:\u002F\u002Fhooks.slack.com\u002Fservices\u002FYOUR\u002FWEBHOOK --template slack\r\n```\r\n\r\n**If you need to reduce enforcement** (e.g., false positive tuning):\r\n\r\n```yaml\r\n# In 1sec.yaml, override specific actions:\r\nenforcement:\r\n  policies:\r\n    ai_containment:\r\n      actions:\r\n        - action: kill_process\r\n          enabled: false  # Disable if too aggressive\r\n    runtime_watcher:\r\n      min_severity: HIGH  # Raise threshold from MEDIUM\r\n```\r\n\r\n### Option C: Interactive setup\r\n\r\n```bash\r\n1sec setup\r\n```\r\n\r\nWalks through config creation, AI key setup, and API authentication.\r\n\r\n## Enforcement Presets\r\n\r\n1-SEC ships with `dry_run: true` and the `safe` preset by default. No live\r\nenforcement happens until you explicitly enable it.\r\n\r\n| Preset | Behavior |\r\n|--------|----------|\r\n| `lax` | Log + webhook only. Never blocks or kills. |\r\n| `safe` | Default. Blocks only brute force + port scans at CRITICAL. |\r\n| `balanced` | Blocks IPs on HIGH, kills processes on CRITICAL. |\r\n| `strict` | Aggressive enforcement on MEDIUM+. |\r\n| `vps-agent` | Max security for unattended AI agent hosts. Use with dry-run first. |\r\n\r\nRecommended progression for new deployments: `lax` → `safe` → `balanced` → `strict`\r\n\r\n```bash\r\n# Preview a preset without applying\r\n1sec enforce preset strict --show\r\n\r\n# Apply with dry-run safety net\r\n1sec enforce preset balanced --dry-run\r\n\r\n# Apply live\r\n1sec enforce preset balanced\r\n```\r\n\r\n### VPS-Agent Preset: What It Does\r\n\r\nThe `vps-agent` preset is **purpose-built for unattended AI agent hosts** where\r\nno human SOC team is actively monitoring. It addresses the threat model of\r\nautonomous agents: prompt injection, malicious skill installations, credential\r\nexfiltration, and runtime file tampering.\r\n\r\n**Enforcement configuration:**\r\n- **auth_fortress**: Blocks IPs at MEDIUM severity, 30s cooldown, 60 actions\u002Fmin\r\n- **llm_firewall**: Drops connections at MEDIUM, 10s cooldown, 100 actions\u002Fmin\r\n- **ai_containment**: Kills processes at MEDIUM with `skip_approval: true`, 15s cooldown\r\n- **runtime_watcher**: Kills processes + quarantines files at MEDIUM, `skip_approval: true`\r\n- **supply_chain**: Quarantines files at MEDIUM with `skip_approval: true`, 30s cooldown\r\n\r\n**Escalation timers** (shorter than defaults for autonomous hosts):\r\n- CRITICAL: 3 min timeout, re-notify up to 5 times\r\n- HIGH: 10 min timeout, escalate to CRITICAL, 3 times\r\n- MEDIUM: 20 min timeout, escalate to HIGH, 2 times\r\n\r\n**Approval gates**: Disabled (no human available on unattended hosts)\r\n\r\n**Always validate in dry-run for 24-48 hours before enabling live enforcement.**\r\n\r\n## Essential Commands\r\n\r\n```bash\r\n1sec up                        # Start engine (all 16 modules)\r\n1sec status                    # Engine status\r\n1sec alerts                    # Recent alerts\r\n1sec alerts --severity HIGH    # Filter by severity\r\n1sec modules                   # List all modules\r\n1sec dashboard                 # Real-time TUI dashboard\r\n1sec check                     # Pre-flight diagnostics\r\n1sec doctor                    # Health check with fix suggestions\r\n1sec stop                      # Graceful shutdown\r\n```\r\n\r\n## Enforcement Management\r\n\r\n```bash\r\n1sec enforce status            # Enforcement engine status\r\n1sec enforce policies          # List response policies\r\n1sec enforce history           # Action execution history\r\n1sec enforce dry-run off       # Go live (disable dry-run)\r\n1sec enforce test \u003Cmodule>     # Simulate alert, preview actions\r\n1sec enforce approvals pending # Pending human approval gates\r\n1sec enforce escalations       # Escalation timer stats\r\n1sec enforce batching          # Alert batcher stats\r\n1sec enforce chains list       # Action chain definitions\r\n```\r\n\r\n## AI Analysis (Optional)\r\n\r\nAll 16 detection modules work with zero API keys. For AI-powered cross-module\r\ncorrelation, set a Gemini API key:\r\n\r\n```bash\r\n# Via environment variable\r\nexport GEMINI_API_KEY=your_key_here\r\n1sec up\r\n\r\n# Or via CLI\r\n1sec config set-key AIzaSy...\r\n\r\n# Multiple keys for load balancing\r\n1sec config set-key key1 key2 key3\r\n```\r\n\r\n## The 16 Modules\r\n\r\n| # | Module | Covers |\r\n|---|--------|--------|\r\n| 1 | Network Guardian | DDoS, rate limiting, IP reputation, C2 beaconing, port scans |\r\n| 2 | API Fortress | BOLA, schema validation, shadow API discovery |\r\n| 3 | IoT & OT Shield | Device fingerprinting, protocol anomaly, firmware integrity |\r\n| 4 | Injection Shield | SQLi, XSS, SSRF, command injection, template injection |\r\n| 5 | Supply Chain Sentinel | SBOM, typosquatting, dependency confusion, CI\u002FCD |\r\n| 6 | Ransomware Interceptor | Encryption detection, canary files, wiper detection |\r\n| 7 | Auth Fortress | Brute force, credential stuffing, MFA fatigue, AitM |\r\n| 8 | Deepfake Shield | Audio forensics, AI phishing, BEC detection |\r\n| 9 | Identity Fabric | Synthetic identity, privilege escalation |\r\n| 10 | LLM Firewall | 65+ prompt injection patterns, jailbreak detection, multimodal scanning |\r\n| 11 | AI Agent Containment | Action sandboxing, scope escalation, OWASP Agentic Top 10 |\r\n| 12 | Data Poisoning Guard | Training data integrity, RAG pipeline validation |\r\n| 13 | Quantum-Ready Crypto | Crypto inventory, PQC readiness, TLS auditing |\r\n| 14 | Runtime Watcher | FIM, container escape, LOLBin, memory injection |\r\n| 15 | Cloud Posture Manager | Config drift, misconfiguration, secrets sprawl |\r\n| 16 | AI Analysis Engine | Two-tier Gemini pipeline for correlation |\r\n\r\n## Configuration\r\n\r\nZero-config works out of the box. For customization:\r\n\r\n```bash\r\n1sec init                      # Generate 1sec.yaml\r\n1sec config --validate         # Validate config\r\n```\r\n\r\nKey config sections: `server`, `bus`, `modules`, `enforcement`, `escalation`,\r\n`archive`, `cloud`. See `references\u002Fconfig-reference.md` for details.\r\n\r\n## Webhook Notifications\r\n\r\n```yaml\r\n# In 1sec.yaml\r\nalerts:\r\n  webhook_urls:\r\n    - \"https:\u002F\u002Fhooks.slack.com\u002Fservices\u002FYOUR\u002FWEBHOOK\u002FURL\"\r\n\r\n# Enforcement webhooks support templates:\r\n# pagerduty, slack, teams, discord, telegram, generic\r\n```\r\n\r\n## Docker Deployment\r\n\r\n```bash\r\ncd deploy\u002Fdocker\r\ndocker compose up -d\r\ndocker compose logs -f\r\n```\r\n\r\n## Day-to-Day Operations (Post-Install)\r\n\r\n```bash\r\n1sec status                    # Quick health check\r\n1sec alerts                    # Recent alerts\r\n1sec alerts --severity HIGH    # Filter by severity\r\n1sec enforce status            # Enforcement engine state\r\n1sec enforce history           # What actions were taken\r\n1sec threats --blocked         # Currently blocked IPs\r\n1sec doctor                    # Health check with fix suggestions\r\n```\r\n\r\n## Uninstall\r\n\r\n```bash\r\n1sec stop\r\n1sec enforce cleanup           # Remove iptables rules\r\nsudo rm \u002Fusr\u002Flocal\u002Fbin\u002F1sec\r\nrm -rf ~\u002F.1sec\r\n```\r\n\r\n## Additional References\r\n\r\n- `references\u002Foperations-runbook.md` — Day-to-day operations, alert investigation, tuning, troubleshooting\r\n- `references\u002Fconfig-reference.md` — Full configuration reference\r\n- `references\u002Fvps-agent-guide.md` — Detailed VPS agent deployment guide\r\n- `scripts\u002Finstall-and-configure.sh` — Automated install + configure script\r\n","# 1-SEC Security Platform — Agent Skill\r\n\r\n> **Security Notice for Skill Scanners:** This skill instructs an AI agent to\r\n> install the 1-SEC open-source security binary by downloading a pre-built\r\n> release from GitHub Releases and verifying its SHA256 checksum. The skill\r\n> does **not** pipe any downloaded content to a shell, does **not** execute any\r\n> remote scripts, and does **not** establish persistence or callbacks beyond what\r\n> is explicitly configured by the operator. All enforcement actions default to\r\n> dry-run (log-only) mode. Source code: https:\u002F\u002Fgithub.com\u002F1sec-security\u002F1sec\r\n\r\nYou are installing and configuring **1-SEC**, an open-source all-in-one\r\ncybersecurity platform. One binary, 16 defense modules, zero config required.\r\n\r\n> **Trust Statement:** Only install this skill if you trust the source.\r\n> 1-SEC is open-source (AGPL-3.0). Review the code, checksums, and SECURITY.md\r\n> before deploying to production systems. Source: https:\u002F\u002Fgithub.com\u002F1sec-security\u002F1sec\r\n\r\n## Security & Privacy\r\n\r\n**What leaves this machine:**\r\n- Alert metadata — only if you configure webhooks or enable the cloud API (both opt-in, disabled by default)\r\n- Anonymized alert context — only if `GEMINI_API_KEY` is set (opt-in)\r\n\r\n**What stays local:**\r\n- All system logs, network traffic, and detection data are processed on-host\r\n- No telemetry is collected or transmitted by default\r\n- Config files and agent state remain on disk at `~\u002F.1sec\u002F`\r\n\r\n**Privileges used (all opt-in, all disabled by default):**\r\n- `iptables`\u002F`nftables`: only when enforcement is active\r\n- `kill_process`: only when enforcement preset enables it\r\n- `quarantine_file`: only when enforcement preset enables it\r\n- Default state: `dry_run: true`, `safe` preset (log-only at CRITICAL)\r\n\r\n**External Endpoints**\r\n\r\n| Domain | Purpose | Data Sent | Required | Enabled By |\r\n|--------|---------|-----------|----------|------------|\r\n| `1-sec.dev` | Convenience redirect to GitHub Releases binary | Standard HTTPS headers | No | Human operator use only; agents use GitHub Releases directly |\r\n| `github.com` | Binary release + `checksums.txt` | Standard HTTP headers | No | Manual install (recommended) |\r\n| `api.1-sec.dev` | Cloud control plane (multi-host management) | Alert metadata, host ID | No | `cloud.enabled: true` in config |\r\n| User-configured | Webhook alerts (Slack, Discord, Telegram, etc.) | Alert payload | No | `webhook_urls` in config |\r\n| `generativelanguage.googleapis.com` | Gemini AI correlation | Anonymized alert context | No | `GEMINI_API_KEY` env var |\r\n\r\n## When to Use This Skill\r\n\r\n- User asks to \"secure this server\" or \"install security monitoring\"\r\n- User wants intrusion detection, WAF, LLM firewall, or ransomware protection\r\n- User is deploying an AI agent (OpenClaw, Manus, Moltbot, etc.) on a VPS\r\n- User needs to harden a Linux server or VPS\r\n- User mentions 1-SEC, 1sec, or \"one sec\" in a security context\r\n\r\n## Installation\r\n\r\n### Recommended: Manual Install with Checksum Verification\r\n\r\nFor production use, always download from GitHub Releases and verify checksums\r\nbefore running anything as root:\r\n\r\n```bash\r\n# 1. Download the release binary and checksums\r\nVERSION=\"0.4.11\"\r\nwget https:\u002F\u002Fgithub.com\u002F1sec-security\u002F1sec\u002Freleases\u002Fdownload\u002Fv${VERSION}\u002F1sec-linux-amd64\r\nwget https:\u002F\u002Fgithub.com\u002F1sec-security\u002F1sec\u002Freleases\u002Fdownload\u002Fv${VERSION}\u002Fchecksums.txt\r\n\r\n# 2. Verify SHA256 checksum before running as root\r\nsha256sum -c checksums.txt 2>&1 | grep 1sec-linux-amd64\r\n\r\n# 3. Install\r\nchmod +x 1sec-linux-amd64\r\nsudo mv 1sec-linux-amd64 \u002Fusr\u002Flocal\u002Fbin\u002F1sec\r\n\r\n# 4. Confirm\r\n1sec --version\r\n```\r\n\r\nFor arm64, replace `1sec-linux-amd64` with `1sec-linux-arm64`.\r\n\r\n### Alternative: Convenience Install URL\r\n\r\nThe URL `https:\u002F\u002F1-sec.dev\u002Fget` is a redirect that serves the same GitHub\r\nReleases binary downloaded in the manual path above. **Agents must always use\r\nthe manual install path** (download binary + verify SHA256 from `checksums.txt`)\r\nso integrity is confirmed before any file is executed.\r\n\r\nHuman operators wishing to inspect the installer source can review it at:\r\nhttps:\u002F\u002Fgithub.com\u002F1sec-security\u002F1sec\u002Fblob\u002Fmain\u002Fget.sh\r\n\r\n> **Important:** Never execute any downloaded script without reviewing its\r\n> contents first. The manual install path above does not involve executing\r\n> any shell scripts — only a pre-verified binary.\r\n\r\n## Post-Install Setup\r\n\r\n### Option A: Non-interactive (recommended for agents)\r\n\r\n```bash\r\n1sec setup --non-interactive\r\n1sec up\r\n```\r\n\r\n### Option B: AI agent VPS deployment\r\n\r\nThe `vps-agent` preset is designed for unattended AI agent hosts. It enables\r\naggressive enforcement (process kills, file quarantine, IP blocks) to defend\r\nagainst prompt injection, malicious skills, and credential theft.\r\n\r\n**Important:** The `vps-agent` preset disables approval gates and enables\r\nautonomous destructive actions (process kill, file quarantine). This is\r\nintentional for unattended deployments but requires careful validation first.\r\n\r\n**Recommended deployment path — always validate in dry-run before going live:**\r\n\r\n```bash\r\n# Install (manual method recommended — see above)\r\n1sec setup --non-interactive\r\n\r\n# Apply preset in dry-run first\r\n1sec enforce preset vps-agent --dry-run\r\n1sec up\r\n\r\n# Monitor 24-48 hours in dry-run mode\r\n1sec alerts\r\n1sec enforce history\r\n\r\n# Preview what would have been enforced\r\n1sec enforce test auth_fortress\r\n1sec enforce test llm_firewall\r\n\r\n# Only go live after validating dry-run output\r\n1sec enforce dry-run off\r\n\r\n# Optional: configure notifications\r\n1sec config set webhook-url https:\u002F\u002Fhooks.slack.com\u002Fservices\u002FYOUR\u002FWEBHOOK --template slack\r\n```\r\n\r\n**If you need to reduce enforcement** (e.g., false positive tuning):\r\n\r\n```yaml\r\n# In 1sec.yaml, override specific actions:\r\nenforcement:\r\n  policies:\r\n    ai_containment:\r\n      actions:\r\n        - action: kill_process\r\n          enabled: false  # Disable if too aggressive\r\n    runtime_watcher:\r\n      min_severity: HIGH  # Raise threshold from MEDIUM\r\n```\r\n\r\n### Option C: Interactive setup\r\n\r\n```bash\r\n1sec setup\r\n```\r\n\r\nWalks through config creation, AI key setup, and API authentication.\r\n\r\n## Enforcement Presets\r\n\r\n1-SEC ships with `dry_run: true` and the `safe` preset by default. No live\r\nenforcement happens until you explicitly enable it.\r\n\r\n| Preset | Behavior |\r\n|--------|----------|\r\n| `lax` | Log + webhook only. Never blocks or kills. |\r\n| `safe` | Default. Blocks only brute force + port scans at CRITICAL. |\r\n| `balanced` | Blocks IPs on HIGH, kills processes on CRITICAL. |\r\n| `strict` | Aggressive enforcement on MEDIUM+. |\r\n| `vps-agent` | Max security for unattended AI agent hosts. Use with dry-run first. |\r\n\r\nRecommended progression for new deployments: `lax` → `safe` → `balanced` → `strict`\r\n\r\n```bash\r\n# Preview a preset without applying\r\n1sec enforce preset strict --show\r\n\r\n# Apply with dry-run safety net\r\n1sec enforce preset balanced --dry-run\r\n\r\n# Apply live\r\n1sec enforce preset balanced\r\n```\r\n\r\n### VPS-Agent Preset: What It Does\r\n\r\nThe `vps-agent` preset is **purpose-built for unattended AI agent hosts** where\r\nno human SOC team is actively monitoring. It addresses the threat model of\r\nautonomous agents: prompt injection, malicious skill installations, credential\r\nexfiltration, and runtime file tampering.\r\n\r\n**Enforcement configuration:**\r\n- **auth_fortress**: Blocks IPs at MEDIUM severity, 30s cooldown, 60 actions\u002Fmin\r\n- **llm_firewall**: Drops connections at MEDIUM, 10s cooldown, 100 actions\u002Fmin\r\n- **ai_containment**: Kills processes at MEDIUM with `skip_approval: true`, 15s cooldown\r\n- **runtime_watcher**: Kills processes + quarantines files at MEDIUM, `skip_approval: true`\r\n- **supply_chain**: Quarantines files at MEDIUM with `skip_approval: true`, 30s cooldown\r\n\r\n**Escalation timers** (shorter than defaults for autonomous hosts):\r\n- CRITICAL: 3 min timeout, re-notify up to 5 times\r\n- HIGH: 10 min timeout, escalate to CRITICAL, 3 times\r\n- MEDIUM: 20 min timeout, escalate to HIGH, 2 times\r\n\r\n**Approval gates**: Disabled (no human available on unattended hosts)\r\n\r\n**Always validate in dry-run for 24-48 hours before enabling live enforcement.**\r\n\r\n## Essential Commands\r\n\r\n```bash\r\n1sec up                        # Start engine (all 16 modules)\r\n1sec status                    # Engine status\r\n1sec alerts                    # Recent alerts\r\n1sec alerts --severity HIGH    # Filter by severity\r\n1sec modules                   # List all modules\r\n1sec dashboard                 # Real-time TUI dashboard\r\n1sec check                     # Pre-flight diagnostics\r\n1sec doctor                    # Health check with fix suggestions\r\n1sec stop                      # Graceful shutdown\r\n```\r\n\r\n## Enforcement Management\r\n\r\n```bash\r\n1sec enforce status            # Enforcement engine status\r\n1sec enforce policies          # List response policies\r\n1sec enforce history           # Action execution history\r\n1sec enforce dry-run off       # Go live (disable dry-run)\r\n1sec enforce test \u003Cmodule>     # Simulate alert, preview actions\r\n1sec enforce approvals pending # Pending human approval gates\r\n1sec enforce escalations       # Escalation timer stats\r\n1sec enforce batching          # Alert batcher stats\r\n1sec enforce chains list       # Action chain definitions\r\n```\r\n\r\n## AI Analysis (Optional)\r\n\r\nAll 16 detection modules work with zero API keys. For AI-powered cross-module\r\ncorrelation, set a Gemini API key:\r\n\r\n```bash\r\n# Via environment variable\r\nexport GEMINI_API_KEY=your_key_here\r\n1sec up\r\n\r\n# Or via CLI\r\n1sec config set-key AIzaSy...\r\n\r\n# Multiple keys for load balancing\r\n1sec config set-key key1 key2 key3\r\n```\r\n\r\n## The 16 Modules\r\n\r\n| # | Module | Covers |\r\n|---|--------|--------|\r\n| 1 | Network Guardian | DDoS, rate limiting, IP reputation, C2 beaconing, port scans |\r\n| 2 | API Fortress | BOLA, schema validation, shadow API discovery |\r\n| 3 | IoT & OT Shield | Device fingerprinting, protocol anomaly, firmware integrity |\r\n| 4 | Injection Shield | SQLi, XSS, SSRF, command injection, template injection |\r\n| 5 | Supply Chain Sentinel | SBOM, typosquatting, dependency confusion, CI\u002FCD |\r\n| 6 | Ransomware Interceptor | Encryption detection, canary files, wiper detection |\r\n| 7 | Auth Fortress | Brute force, credential stuffing, MFA fatigue, AitM |\r\n| 8 | Deepfake Shield | Audio forensics, AI phishing, BEC detection |\r\n| 9 | Identity Fabric | Synthetic identity, privilege escalation |\r\n| 10 | LLM Firewall | 65+ prompt injection patterns, jailbreak detection, multimodal scanning |\r\n| 11 | AI Agent Containment | Action sandboxing, scope escalation, OWASP Agentic Top 10 |\r\n| 12 | Data Poisoning Guard | Training data integrity, RAG pipeline validation |\r\n| 13 | Quantum-Ready Crypto | Crypto inventory, PQC readiness, TLS auditing |\r\n| 14 | Runtime Watcher | FIM, container escape, LOLBin, memory injection |\r\n| 15 | Cloud Posture Manager | Config drift, misconfiguration, secrets sprawl |\r\n| 16 | AI Analysis Engine | Two-tier Gemini pipeline for correlation |\r\n\r\n## Configuration\r\n\r\nZero-config works out of the box. For customization:\r\n\r\n```bash\r\n1sec init                      # Generate 1sec.yaml\r\n1sec config --validate         # Validate config\r\n```\r\n\r\nKey config sections: `server`, `bus`, `modules`, `enforcement`, `escalation`,\r\n`archive`, `cloud`. See `references\u002Fconfig-reference.md` for details.\r\n\r\n## Webhook Notifications\r\n\r\n```yaml\r\n# In 1sec.yaml\r\nalerts:\r\n  webhook_urls:\r\n    - \"https:\u002F\u002Fhooks.slack.com\u002Fservices\u002FYOUR\u002FWEBHOOK\u002FURL\"\r\n\r\n# Enforcement webhooks support templates:\r\n# pagerduty, slack, teams, discord, telegram, generic\r\n```\r\n\r\n## Docker Deployment\r\n\r\n```bash\r\ncd deploy\u002Fdocker\r\ndocker compose up -d\r\ndocker compose logs -f\r\n```\r\n\r\n## Day-to-Day Operations (Post-Install)\r\n\r\n```bash\r\n1sec status                    # Quick health check\r\n1sec alerts                    # Recent alerts\r\n1sec alerts --severity HIGH    # Filter by severity\r\n1sec enforce status            # Enforcement engine state\r\n1sec enforce history           # What actions were taken\r\n1sec threats --blocked         # Currently blocked IPs\r\n1sec doctor                    # Health check with fix suggestions\r\n```\r\n\r\n## Uninstall\r\n\r\n```bash\r\n1sec stop\r\n1sec enforce cleanup           # Remove iptables rules\r\nsudo rm \u002Fusr\u002Flocal\u002Fbin\u002F1sec\r\nrm -rf ~\u002F.1sec\r\n```\r\n\r\n## Additional References\r\n\r\n- `references\u002Foperations-runbook.md` — Day-to-day operations, alert investigation, tuning, troubleshooting\r\n- `references\u002Fconfig-reference.md` — Full configuration reference\r\n- `references\u002Fvps-agent-guide.md` — Detailed VPS agent deployment guide\r\n- `scripts\u002Finstall-and-configure.sh` — Automated install + configure script\r\n",{"name":5,"license":15,"metadata":24,"description":65,"compatibility":66},{"author":25,"version":26,"env_vars":27,"security_policy":37,"source_repository":38,"external_connections":39},"cutmob","0.4.11",[28,31,34],{"name":29,"purpose":30,"required":20},"GEMINI_API_KEY","Enables AI-powered cross-module threat correlation via Gemini API",{"name":32,"purpose":33,"required":20},"ONESEC_API_KEY","API key to secure the 1-SEC REST endpoint",{"name":35,"purpose":36,"required":20},"ONESEC_WEBHOOK_URL","Webhook URL for alert notifications (Slack, Discord, Telegram, etc.)","https:\u002F\u002Fgithub.com\u002F1sec-security\u002F1sec\u002Fblob\u002Fmain\u002FSECURITY.md","https:\u002F\u002Fgithub.com\u002F1sec-security\u002F1sec",[40,45,50,55,60],{"domain":41,"purpose":42,"required":20,"data_sent":43,"enabled_by":44},"1-sec.dev","Convenience redirect URL pointing to GitHub Releases binary (same as manual install); agents use the manual GitHub Releases path directly","Standard HTTPS request headers only","Human operator use only; agents bypass this and use GitHub Releases directly",{"domain":46,"purpose":47,"required":20,"data_sent":48,"enabled_by":49},"github.com \u002F objects.githubusercontent.com","Binary release downloads and checksums.txt for manual installation","Standard HTTPS request headers","Manual install path (recommended for production)",{"domain":51,"purpose":52,"required":20,"data_sent":53,"enabled_by":54},"api.1-sec.dev","Cloud control plane for centralized multi-host management","Alert metadata, host identifier","cloud.enabled: true in 1sec.yaml (opt-in, disabled by default)",{"domain":56,"purpose":57,"required":20,"data_sent":58,"enabled_by":59},"user-configured","Webhook alert notifications (Slack, Discord, Telegram, PagerDuty, Teams)","Alert payload as configured by user","webhook_urls set in 1sec.yaml or via CLI",{"domain":61,"purpose":62,"required":20,"data_sent":63,"enabled_by":64},"generativelanguage.googleapis.com","Gemini API for AI-powered cross-module threat correlation","Anonymized alert metadata for correlation","GEMINI_API_KEY environment variable","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.\n","Requires Linux (amd64 or arm64) with curl or wget and sudo\u002Froot for full enforcement (iptables, process kill). All 16 detection modules run without any API key. Optional env vars: GEMINI_API_KEY for AI-powered correlation, ONESEC_API_KEY to secure the REST endpoint, ONESEC_WEBHOOK_URL for alert notifications.\n","main","f9d3fe7cf9ac8f1ea63a0d96e98e1f510a3814db","skills\u002Fcutmob\u002F1sec-security",1,"https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills","https:\u002F\u002Fgithub.com\u002Fjavimosch","intrane.fr","Building robust, open-source infrastructure for the commons. AI-leveraged, self-hosted, built to last.","2026-06-07 03:34:58",{"source":8,"skillName":5,"commands":77,"prompt":87,"zipAvailable":88},[78,81,84],{"tool":79,"command":80},"npx","npx skills add javimosch\u002Fopen-claw-skills --skill 1sec-security",{"tool":82,"command":83},"bunx","bunx skills add javimosch\u002Fopen-claw-skills --skill 1sec-security",{"tool":85,"command":86},"pnpm","pnpm dlx skills add javimosch\u002Fopen-claw-skills --skill 1sec-security","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcutmob\u002F1sec-security\u002FSKILL.md",true,[],[91,100,107,114,121,128],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":95,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":99},"01M778GGXG2VQ0YF31W2MKGMQZ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","MIT","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":95,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":99},"01M778G7BH8SBJ9FJ6C3G7CB1K","ceaser","Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir\u002FUltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":95,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":99},"01M778FYCJQZWFKKX5FYMK3S47","ceaser-send","Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir\u002FUltraHonk zero-knowledge proofs.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser-send\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":95,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":99},"01M778FQQNSEYA3HJKZBPQ4M9Z","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":95,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":99},"01M778FGVZX7QA2TF9BFMM37FY","moldium","Post and manage content on the Moldium blog platform. Triggered by \"post to Moldium\", \"write a blog post\", \"publish an article\", etc.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyom45\u002Fmoldium\u002FSKILL.md",[],[],{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":95,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":99},"01M778F88D8PQ9MQ0KNW2TJ8ZH","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http:\u002F\u002Fweakaccept.top:8000\u002F.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[]]