/viperclaw:viper-linux-systemd-hostfrom viperclaw
Audits Linux host security including systemd unit sandboxing, sudoers, SUID binaries, SSH config, and sysctl kernel hardening. Based on CIS benchmarks and Lynis.
Ships in viperclaw. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
viper-linux-systemd-host)CISOfy/lynis, systemd-analyze security.systemd service units, /etc/sudoers, /etc/ssh/sshd_config, and sysctl parameters.flowchart LR
Unit["systemd .service Unit"] --> User["DynamicUser=yes + NoNewPrivileges=yes"] --> FS["ProtectSystem=strict + PrivateTmp=yes"] --> Cap["CapabilityBoundingSet= + Seccomp"]
viperclaw taint . --db .viperclaw/graph.db
*.service files for User=root, missing ProtectSystem=, NoNewPrivileges=, PrivateTmp=.sudoers / provisioning scripts for NOPASSWD: ALL, chmod 4755, chmod 777.systemd-analyze security): Every production .service unit should run as an unprivileged User= / DynamicUser=yes and enforce NoNewPrivileges=yes, ProtectSystem=strict, ProtectHome=yes, PrivateTmp=yes, PrivateDevices=yes, ProtectKernelTunables=yes, and CapabilityBoundingSet=.(ALL) NOPASSWD: ALL or allow wildcards * in sudoers commands (sudo /bin/chown * allows /etc/shadow takeover via --reference). Audit SUID/SGID binaries (find / -perm /6000).sshd_config) Hardening: Enforce PermitRootLogin no, PasswordAuthentication no, PubkeyAuthentication yes, KbdInteractiveAuthentication no, X11Forwarding no, and MaxAuthTries 3.sysctl Hardening: Verify kernel.kptr_restrict = 2, kernel.dmesg_restrict = 1, kernel.yama.ptrace_scope = 2, fs.protected_hardlinks = 1, fs.protected_symlinks = 1, and net.ipv4.conf.all.rp_filter = 1.root:root with mode 0755/0644 and located in non-world-writable directories.# ❌ VULNERABLE: Runs as root with unrestricted filesystem & capability access
[Service]
ExecStart=/usr/local/bin/app-worker
# ✅ HARDENED: Isolated unprivileged systemd service sandbox
[Service]
ExecStart=/usr/local/bin/app-worker
DynamicUser=yes
NoNewPrivileges=yes
ProtectSystem=strict
ProtectHome=yes
PrivateTmp=yes
PrivateDevices=yes
CapabilityBoundingSet=
SystemCallFilter=@system-service
CIS Linux Benchmark, Lynis, systemd-analyze, CWE-250, CWE-732| Severity Tier | Baseline CVSS v3.1 Vector | Qualifying Security Impact |
|---|---|---|
| CRITICAL (9.0–10.0) | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | Unauthenticated remote code execution, cross-tenant authentication or isolation gap, or direct theft of funds/keys. |
| HIGH (7.0–8.9) | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | Authenticated privilege escalation, unauthorized sensitive data exposure, or single-request service outage. |
| MEDIUM (4.0–6.9) | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | Scoped information disclosure, non-admin state mutation, or configuration weakness requiring user interaction. |
| LOW (0.1–3.9) | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N | Defense-in-depth hardening gap requiring high precondition complexity and minimal direct impact. |
viperclaw taint . --db .viperclaw/graph.db and viperclaw verify to record the verified state in .viperclaw/graph.db.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
linux-hardening, systemd-security, audit, cis-benchmark, lynis
72 skills in this plugin
/viper-agent-skill-supplychainAI Agent Skill, Plugin & MCP Config Supply-Chain Auditor (modeled on NVIDIA SkillSpector & OWASP Agentic Skills Top 10). Audits SKILL.md bundles and MCP JSON configs./viper-ai-llm-guardrailsAI, LLM & MCP Application Security & Guardrails Auditor (OWASP LLM Top 10). Reviews prompt boundaries, RAG data isolation, tool-call authorization, and output sanitization./viper-api-gateway-apigee-kongAPI Gateway, BFF & Rate-Tier Policy Auditor (Kong, AWS API Gateway, Apigee, Envoy Gateway). Reviews JWT authorizers, backend origin lockdown, and route-level quotas.npx claudepluginhub zahidoverflow/viperclaw --plugin viperclawOther plugins' skills for the same job