container-runtime-security

container-runtime-security is a skill for Claude Code from HermeticOrmus/LibreSecOps-Claude-Code. It costs 59 tokens per session (2,811 once invoked), scanned A, original, MIT.

A reference guide to protecting containers, which package applications and their dependencies so they can run in isolated environments.

In plain words
What is it for?
Use it when configuring namespaces, resource limits, Linux capabilities, seccomp filters, AppArmor or SELinux rules, and user namespaces.
Why use it?
It explains which Linux controls limit a container's processes, resources, system calls, files, and privileges.

Skill for Claude Code

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is file: ./secrets/db_password.txt.

Part of the container-security plugin — 2 skills, 2 commands, 2 agents shipped together

Good fit Use it when configuring namespaces, resource limits, Linux capabilities, seccomp filters, AppArmor or SELinux rules, and user namespaces.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/HermeticOrmus/LibreSecOps-Claude-Code
agentmods
npx agentmods add skills/hermeticormus/libresecops-claude-code/container-runtime-security

Made for: Claude Code.

Or install container-security, the plugin that ships this one along with the rest of its 2 skills, 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 container-runtime-security

README.md
[![agentmods](https://agentmods.dev/badge/skills/hermeticormus/libresecops-claude-code/container-runtime-security/github.svg)](https://agentmods.dev/skills/hermeticormus/libresecops-claude-code/container-runtime-security)
Your own site
<a href="https://agentmods.dev/skills/hermeticormus/libresecops-claude-code/container-runtime-security"><img src="https://agentmods.dev/badge/skills/hermeticormus/libresecops-claude-code/container-runtime-security/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 container-runtime-security

Your own site · 80×15
<a href="https://agentmods.dev/skills/hermeticormus/libresecops-claude-code/container-runtime-security"><img src="https://agentmods.dev/badge/skills/hermeticormus/libresecops-claude-code/container-runtime-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,811 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00059 $0.02811
Opus 5.5 $0.00024 $0.01124
Sonnet 5.5 $0.00012 $0.00562
Haiku 4.5 $0.00006 $0.00281

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

Security

Grade A, and why

container-runtime-security scanned grade A with 1 finding 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.

Makes network callslowCapability

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

--health-cmd "wget -qO- http://localhost:8080/health || exit 1" \
plugins/container-security/skills/container-runtime-security/SKILL.md · 284 lines

How it starts

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

Container Runtime Security

Runtime isolation mechanisms, Linux capabilities, seccomp profiles, AppArmor, and namespace configuration for containers.

Knowledge Base

Linux Kernel Features Used by Containers

Containers are not a kernel primitive. They are a userspace abstraction built on real kernel features:

Feature Purpose Container Impact
Namespaces Isolation of system resources (PID, NET, MNT, UTS, IPC, USER, CGROUP) Each container gets its own view of processes, network, filesystem mounts
cgroups Resource limiting and accounting (CPU, memory, I/O, PIDs) Prevents a container from consuming all host resources
Capabilities Fine-grained subdivision of root privileges (37 capabilities in Linux) Containers can run as "root" but without dangerous capabilities
Seccomp System call filtering (BPF-based) Blocks dangerous syscalls like mount, reboot, kexec_load
AppArmor/SELinux Mandatory Access Control (MAC) Restricts file access, network operations, capabilities
User namespaces Map container UID 0 to unprivileged host UID Container "root" is not host root

Linux Capabilities Breakdown

Docker drops most capabilities by default, keeping only these 14:

CHOWN, DAC_OVERRIDE, FOWNER, FSETID, KILL, SETGID, SETUID, SETPCAP,
NET_BIND_SERVICE, NET_RAW, SYS_CHROOT, MKNOD, AUDIT_WRITE, SETFCAP

Dangerous capabilities to NEVER add:

Capability Risk
SYS_ADMIN Near-complete root access. Allows mounting filesystems, using unshare, BPF operations. The "god capability."
SYS_PTRACE Trace any process. Can inject code into other containers sharing a PID namespace.
SYS_RAWIO Raw I/O port access, can modify kernel memory via /dev/mem.
DAC_READ_SEARCH Bypass file read permissions. Can read any file on mounted filesystems.
NET_ADMIN Full network control. Can modify routing tables, firewall rules, capture traffic.
SYS_MODULE Load kernel modules. Instant host compromise.

Read the full file on GitHub · 284 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 · +59 tokens per session 36c4907819ad
  2. 3mo ago First seen · 279 lines · 0 tokens per session scan A cdc3dd6041ea

Subscribe to this mod's changes

container-runtime-security is a skill published in the GitHub repository HermeticOrmus/LibreSecOps-Claude-Code (4 stars, last pushed 1mo ago), licensed MIT. It adds 59 tokens to every session and 2,811 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

container-runtime-security compared with skills from other repositories

container-runtime-security next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
container-runtime-securityHermeticOrmus/LibreSecOps-Claude-CodeSkill41mo agoMITA59Claude Code
building-devsecops-pipeline-with-gitlab-ciadriannoes/awesome-agentic-aiSkill1082d agoMITA43Claude Code, Codex
building-devsecops-pipeline-with-gitlab-ci26zl/cybersec-toolkitSkill1134d agoMITA101Claude Code
building-devsecops-pipeline-with-gitlab-ciautohandai/community-skillsSkill144mo agoApache-2.0A43Claude Code, Codex
building-devsecops-pipeline-with-gitlab-ciNjones17/AI-agent-master-cyber-skills-listSkill278mo agononeA43Claude Code, Codex
building-devsecops-pipeline-with-gitlab-ciRobotFlow-Labs/skills-repoSkill28mo agononeA43Claude Code, Codex
implementing-devsecops-security-scanningxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A109Claude Code, Codex