cloudsec-auditor

cloudsec-auditor is a skill for Claude Code, Codex from cidtechmm002/cloudsec-sentinel. It costs 0 tokens per session (611 once invoked), scanned A, original, MIT.

A security checker for infrastructure-as-code files, which are configuration files used to define and run systems. It examines Docker, Docker Compose, Kubernetes, Terraform, and Nginx settings for vulnerabilities, unsafe defaults, and compliance issues.

In plain words
What is it for?
Use it to scan files such as Dockerfiles, docker-compose.yml, Kubernetes deployments, Terraform files, and nginx.conf for issues including root containers, exposed ports, privileged containers, unsafe host access, and missing security settings.
Why use it?
It helps find security problems in deployment configuration before they reach running systems. Findings include severity levels and proposed fixes, with checks based on standards such as CIS Benchmarks, OWASP Top 10, and SOC2.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/cidtechmm002/cloudsec-sentinel/cloudsec-auditor
Any agent
npx skills add cidtechmm002/cloudsec-sentinel --skill cloudsec-auditor
Clone the repo
git clone --depth 1 https://github.com/cidtechmm002/cloudsec-sentinel

Made for: Claude Code, Codex.

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 cloudsec-auditor

README.md
[![agentmods](https://agentmods.dev/badge/skills/cidtechmm002/cloudsec-sentinel/cloudsec-auditor.svg)](https://agentmods.dev/skills/cidtechmm002/cloudsec-sentinel/cloudsec-auditor)
Your own site
<a href="https://agentmods.dev/skills/cidtechmm002/cloudsec-sentinel/cloudsec-auditor"><img src="https://agentmods.dev/badge/skills/cidtechmm002/cloudsec-sentinel/cloudsec-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 611 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00611
Opus 5 $0.00000 $0.00305
Sonnet 5 $0.00000 $0.00122
Haiku 4.5 $0.00000 $0.00061

Measured 4d ago against content hash d4508c26f762, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cloudsec-auditor scanned grade A with 0 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 4d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/cloudsec-auditor/SKILL.md · 55 lines

How it starts

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

Skill: CloudSec Infrastructure Audit & Compliance Linter

Description

This skill enables Claude to audit infrastructure-as-code files (Docker, Kubernetes, Terraform, Nginx) for security vulnerabilities, misconfigurations, and compliance issues against standards such as CIS Benchmarks, OWASP Top 10, and SOC2.

Requirements

  • Files to scan: Dockerfile, docker-compose.yml, nginx.conf, deployment.yaml, *.tf
  • Outputs: List of vulnerabilities with severity levels (Critical, High, Medium, Low) and proposed remediations.

Audit Rules

1. Dockerfile Rules

  • Critical/High: USER root used or no USER instruction (container runs as root).
  • High: Base image tag is not pinned or uses latest (risk of config drift and untrusted base).
  • Medium: Missing health checks (HEALTHCHECK) or multi-stage builds.

2. Docker Compose Rules

  • Critical: Mounting /var/run/docker.sock inside a container (allows escaping to host).
  • High: Running in privileged: true mode.
  • Medium: Ports bound to 0.0.0.0 instead of 127.0.0.1 unless explicitly required.

3. Kubernetes Manifest Rules

  • Critical: hostNetwork: true or hostPID: true set.
  • High: Missing resource limits (limits.cpu and limits.memory) or privileged: true in SecurityContext.
  • Medium: Read-only root filesystem set to false (readOnlyRootFilesystem: false).

4. Terraform Rules (AWS IAM / VPC)

  • Critical: Security Group allowing 0.0.0.0/0 ingress on port 22 (SSH) or 3389 (RDP).
  • High: S3 Buckets without public access block or encryption disabled.
  • Medium: IAM policies with wildcard resource access (Resource = "*").

5. Nginx Config Rules

  • High: Missing standard security headers:
    • add_header X-Frame-Options "SAMEORIGIN";
    • add_header X-Content-Type-Options "nosniff";
    • add_header Content-Security-Policy "...";
  • Medium: Directory listing enabled (autoindex on;).

Output Format

Always format the report as a structured markdown file:

# Infrastructure Security Report

## Score: [0-100] / 100

## Executive Summary
[Brief description of current security posture]

## Findings
### [Severity] [Finding Title]
- **File**: `[file-path]`
- **Threat**: [Description of why this is dangerous]
- **Remediation**: [How to fix it]

Read the full file on GitHub · 55 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. 4d ago First seen · 55 lines · 0 tokens per session scan A d4508c26f762

Subscribe to this mod's changes

cloudsec-auditor is a skill published in the GitHub repository cidtechmm002/cloudsec-sentinel (11 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 611 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

deploy-docker-compose

Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…

omnigent-ai/omnigent · 84 tokens

compute-env-setup

Set up a reproducible Feynman compute environment for research jobs. Use when a task needs Python/R packages, GPU libraries, containers, Modal, SSH, caches, or managed model runtime setup.

companion-inc/feynman · 45 tokens

securing-kubernetes-on-cloud

This skill covers hardening managed Kubernetes clusters on EKS, AKS, and GKE by implementing Pod Security Standards, network policies, workload identity, RBAC scoping, image admission controls, and runtime security monitoring. It addresses cloud-specific security features including IRSA for EKS, Workload Identity for…

xalgorix/xalgorix · 80 tokens

detecting-privilege-escalation-in-kubernetes-pods

Detect and prevent privilege escalation in Kubernetes pods by monitoring security contexts, capabilities, and syscall patterns with Falco and OPA policies.

xalgorix/xalgorix · 40 tokens

implementing-rbac-hardening-for-kubernetes

Harden Kubernetes Role-Based Access Control by implementing least-privilege policies, auditing role bindings, eliminating cluster-admin sprawl, and integrating external identity providers.

xalgorix/xalgorix · 41 tokens

release-rome-image

Release a new Rome runtime image by pushing a vX.Y.Z tag — pick the version, verify main is releasable, push the tag, and confirm the image published to Docker Hub. Covers the v runtime-image tag only, not the desktop app (desktop-v) and not npm packages (ui-v, app-runtime-v).

rome-os/rome · 81 tokens