cis-benchmarks

cis-benchmarks is a skill for Claude Code from HermeticOrmus/LibreSecOps-Claude-Code. It costs 53 tokens per session (3,197 once invoked), scanned B, original, MIT.

A reference knowledge base explaining CIS Benchmarks, which are published security checklists for platforms including Linux, Docker, Kubernetes, AWS, PostgreSQL, and Nginx.

In plain words
What is it for?
Use it to look up benchmark controls, understand their purpose, and find audit or remediation guidance for supported platforms.
Why use it?
It gives security work a consistent structure, including profile levels, scoring, audit steps, remediation steps, and the difference between automated and manual checks.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the security-hardening plugin — 1 skill, 2 commands, 2 agents shipped together

Good fit Use it to look up benchmark controls, understand their purpose, and find audit or remediation guidance for supported platforms.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hermeticormus/libresecops-claude-code/cis-benchmarks
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.

Any agent
npx skills add HermeticOrmus/LibreSecOps-Claude-Code --skill cis-benchmarks
Clone the repo
git clone --depth 1 https://github.com/HermeticOrmus/LibreSecOps-Claude-Code

Made for: Claude Code.

Or install security-hardening, the plugin that ships this one along with the rest of its 1 skill, 2 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 cis-benchmarks

README.md
[![agentmods](https://agentmods.dev/badge/skills/hermeticormus/libresecops-claude-code/cis-benchmarks/github.svg)](https://agentmods.dev/skills/hermeticormus/libresecops-claude-code/cis-benchmarks)
Your own site
<a href="https://agentmods.dev/skills/hermeticormus/libresecops-claude-code/cis-benchmarks"><img src="https://agentmods.dev/badge/skills/hermeticormus/libresecops-claude-code/cis-benchmarks/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cis-benchmarks

Your own site · 80×15
<a href="https://agentmods.dev/skills/hermeticormus/libresecops-claude-code/cis-benchmarks"><img src="https://agentmods.dev/badge/skills/hermeticormus/libresecops-claude-code/cis-benchmarks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,197 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 3 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00053 $0.03197
Opus 5.5 $0.00021 $0.01279
Sonnet 5.5 $0.00011 $0.00639
Haiku 4.5 $0.00005 $0.00320

Measured 1mo ago against content hash dbaa9f333a79, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

cis-benchmarks scanned grade B with 3 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 1mo ago.

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.

Asks for rootlowPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

# Monitor sudo usage

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Reaches for credential filesmediumPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

-w /etc/shadow -p wa -k identity

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

HEALTHCHECK --interval=30s --timeout=3s CMD curl -f http://localhost/ || exit 1
plugins/security-hardening/skills/cis-benchmarks/SKILL.md · 367 lines

How it starts

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

CIS Benchmarks

Reference knowledge base for CIS Benchmark controls across common platforms: Linux, Docker, Kubernetes, AWS, PostgreSQL, Nginx, and more.

Knowledge Base

CIS Benchmark Structure

Every CIS Benchmark follows a consistent structure:

  • Profile Levels: Level 1 (practical, minimal impact) and Level 2 (defense-in-depth, may impact functionality)
  • Scored vs Not-Scored: Scored controls count toward compliance percentage. Not-scored controls are recommendations.
  • Control Format: Each control has a description, rationale, audit procedure, remediation procedure, and impact statement
  • Assessment Status: Automated (can be checked with tools) or Manual (requires human judgment)

Linux (Ubuntu/Debian) -- Key Controls

1. Initial Setup

1.1 Filesystem Configuration

# Ensure /tmp is a separate partition with nodev, nosuid, noexec
# Audit:
mount | grep -E '\s/tmp\s'
# Expected: /tmp on separate partition with nodev,nosuid,noexec

# Ensure /var, /var/tmp, /var/log, /var/log/audit are separate partitions
# Audit:
mount | grep -E '\s/var\s'

# Disable unused filesystems
# /etc/modprobe.d/CIS.conf:
install cramfs /bin/true
install squashfs /bin/true
install udf /bin/true
install usb-storage /bin/true  # Level 2, if USB not needed

1.3 Mandatory Access Control

# Ensure AppArmor is installed and enforcing
apt list --installed 2>/dev/null | grep apparmor
aa-status  # Should show profiles in enforce mode

# Remediation:
apt install apparmor apparmor-utils
systemctl enable apparmor
aa-enforce /etc/apparmor.d/*

1.4 Bootloader Configuration

# Ensure bootloader password is set
grep "^set superusers" /boot/grub/grub.cfg
# Ensure permissions on bootloader config
stat /boot/grub/grub.cfg  # Should be 0400, root:root
2. Services
# Ensure unnecessary services are not installed or disabled
# Check for services that should NOT be running:
systemctl is-active avahi-daemon  # mDNS - disable unless needed
systemctl is-active cups          # Printing - disable on servers
systemctl is-active dhcpd         # DHCP server - disable unless needed
systemctl is-active slapd         # LDAP server - disable unless needed
systemctl is-active nfs-server    # NFS - disable unless needed
systemctl is-active rpcbind       # RPC - disable unless needed
systemctl is-active rsync         # rsync - disable unless needed
systemctl is-active snmpd         # SNMP - disable unless needed

# Ensure only required services are listening
ss -tlnp  # Review all listening TCP services
ss -ulnp  # Review all listening UDP services

Read the full file on GitHub · 367 lines

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. 1mo ago Changed · +5 lines · +53 tokens per session scan D → B dbaa9f333a79
  2. 2mo ago First seen · 362 lines · 0 tokens per session scan D dac4389b4901

Subscribe to this mod's changes

cis-benchmarks is a skill published in the GitHub repository HermeticOrmus/LibreSecOps-Claude-Code (4 stars, last pushed 1mo ago), licensed MIT. It adds 53 tokens to every session and 3,197 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 3 findings (asks for root, reaches for credential files, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

cis-benchmarks compared with skills from other repositories

cis-benchmarks next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cis-benchmarksHermeticOrmus/LibreSecOps-Claude-CodeSkill41mo agoMITB53Claude Code
implementing-devsecops-security-scanningxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A109Claude Code, Codex
building-devsecops-pipeline-with-gitlab-cixalgorix/xalgorixSkill1.5kyesterdayApache-2.0A43Claude Code, Codex
integrating-dast-with-owasp-zap-in-pipelinexalgorix/xalgorixSkill1.5kyesterdayApache-2.0A76Claude Code, Codex
implementing-runtime-application-self-protectionxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A51Claude Code, Codex
integrating-dast-with-owasp-zap-in-pipelineadriannoes/awesome-agentic-aiSkill1082d agoMITA76Claude Code, Codex
audit-production-readinesskingggg5/shipproofSkill193d agoMITA72Claude Code, Codex