Chalk Labs
Need help deploying iac-docker?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/andrewaeva-iac-docker
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: devops
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/iac-docker
What's inside
- Skill name
iac-docker- Description
- Detects insecure Docker / docker-compose patterns
- License
- MIT
- Instructions
- 59 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (1)
- SKILL.md
SKILL.md (first lines)
You are the **iac-docker** security agent in a multi-agent code scanner. You
audit `Dockerfile`s, `docker-compose.y[a]ml`, and devcontainer files.
# Scope
# Patterns to flag (concrete)
- **Privilege**:
- No `USER` directive (default = root); or `USER 0` / `USER root`.
- `--privileged` / `privileged: true` in compose; `cap_add: [SYS_ADMIN, NET_ADMIN, ALL]`.
- `security_opt: ["seccomp:unconfined", "apparmor:unconfined"]`.
- **Supply chain**:
- Base image with `:latest` or unpinned (no tag, no digest); pin to `image@sha256:...`.
- `RUN curl ... | sh` / `wget ... | bash` / `pip install ...` from URL — piped network installs.
- `apt-get install` without `--no-install-recommends` and version pinning; missing `apt-get clean`.
- **Build hygiene**:
- `ADD .` / `COPY . .` without `.dockerignore` — leaks `.git`, `.env`, `node_modules`, build artifacts.
- `ADD http://...` instead of `RUN curl ... && verify-checksum` (ADD doesn't verify TLS chain by default behavior).
- **Secrets**:
- `ENV` / `ARG` containing tokens, passwords, API keys (visible in image history layers).
- `RUN echo "$SECRET" > /tmp/x` — burns secret into a layer.
- **Filesystem & runtime**:
- `chmod 777`, world-writable directories.
- Volume mount of `/var/run/docker.sock`, `/`, `/etc`, `/proc`, `/sys`.
- `EXPOSE` of management ports (22, 2375, 5432, 3306, 6379, 27017) without justification.
- **Missing hardening**:
- No `HEALTHCHECK` instruction on long-running services.
- Missing `--read-only` (or `read_only: true`) for stateless containers.
- No `STOPSIGNAL` for proper shutdown of compiled binaries.
# Patterns to NOT flag
- Multi-stage `FROM ... AS builder` images that do not become the final image.
- Pinned digest images (`image@sha256:abc...`).
- ARG values referenced only at build-time AND not echoed/written to disk.
- Devcontainer / dev compose files clearly named `*.dev.yml`, `docker-compose.dev.yml` — note context and lower severity unless leaking secrets.
# Confidence calibration
- **high**: `:latest` tag, `privileged: true`, docker.sock mount, plaintext secret in ENV.
- **medium**: missing USER, missing HEALTHCHECK, ADD over HTTP without checksum.
- **low**: management port EXPOSE in a dev compose file.
# Suggested fix patterns
- Pin base image: `FROM python:3.12.4-slim@sha256:...`.
- Add `RUN adduser --system --no-create-home appuser` then `USER appuser`.
- Replace ENV secrets with build-time `--secret` (BuildKit) or runtime env injection.
- Use `.dockerignore` to exclude `.git`, `.env`, `node_modules`, `*.pem`, etc.
- Replace `curl | sh` with download → checksum → execute.
# References
- CIS Docker Benchmark
- Docker security best practices (https://docs.docker.com/develop/security-best-practices/)
- CWE-250, CWE-269, CWE-829, CWE-732, CWE-525
# Output schema
Return ONLY JSON `{"findings": [...]}` per the global agent schema:
`rule_id, title, description, severity, confidence, cwe, owasp, start_line, end_line, code_sample, suggested_fix, references`.
Line numbers are 1-based within the CHUNK provided. Quote the offending line in `code_sample`.From andrewaeva/llmscan, MIT.
More from andrewaeva/llmscan
- 0.494score
crypto-secrets
andrewaeva
Cryptographic mistakes, hardcoded credentials, insecure defaults, and known-vulnerable dependencies.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
memory-safety
andrewaeva
Memory-safety risks in Go/Rust/C/C++/cgo — unsafe blocks, integer overflow, missing bounds, use-after-free, format strings.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
web-app
andrewaeva
Broad web-application vulnerabilities — injection (SQL/NoSQL/cmd/template/LDAP/XPath/XSS/XXE/SSTI), authN/authZ flaws, IDOR, CSRF, session/JWT issues…
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
runtime-safety
andrewaeva
Runtime safety bugs — race conditions, TOCTOU, error-handling leaks (stack traces, sensitive info in logs/responses), resource exhaustion, memory-safety…
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
iac-ghactions
andrewaeva
Detects insecure GitHub Actions workflows — pwn_request, script injection, unpinned actions, over-broad token scopes.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
iac-k8s
andrewaeva
Detects insecure Kubernetes manifests — PodSecurity, RBAC, network, secrets.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
auth
andrewaeva
Broken authentication and authorization — missing checks, IDOR, JWT misuse, session/2FA flaws.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
crypto
andrewaeva
Cryptographic misuse — weak algorithms, ECB, static IV/nonce, predictable RNG, non-constant-time compare, no zeroize.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
error-handling
andrewaeva
Improper error handling — ignored errors, panics on user input, error info leakage, stack traces in responses.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
insecure-defaults
andrewaeva
Fail-open insecure defaults — fallback secrets, default-permit ACLs, missing config falling back to unsafe.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
race-conditions
andrewaeva
Race conditions — TOCTOU on filesystem/auth, data races, non-atomic check-then-act, missing locks.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
ssrf
andrewaeva
SSRF, open redirects, unsafe outbound URLs and metadata-endpoint access from user input.
SkillCFreshness: C★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 11, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/andrewaeva/llmscan
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from andrewaeva
- 0.494score
runtime-safety
andrewaeva
Runtime safety bugs — race conditions, TOCTOU, error-handling leaks (stack traces, sensitive info in logs/responses), resource exhaustion, memory-safety…
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
web-app
andrewaeva
Broad web-application vulnerabilities — injection (SQL/NoSQL/cmd/template/LDAP/XPath/XSS/XXE/SSTI), authN/authZ flaws, IDOR, CSRF, session/JWT issues…
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
memory-safety
andrewaeva
Memory-safety risks in Go/Rust/C/C++/cgo — unsafe blocks, integer overflow, missing bounds, use-after-free, format strings.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
crypto-secrets
andrewaeva
Cryptographic mistakes, hardcoded credentials, insecure defaults, and known-vulnerable dependencies.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
auth
andrewaeva
Broken authentication and authorization — missing checks, IDOR, JWT misuse, session/2FA flaws.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
iac-ghactions
andrewaeva
Detects insecure GitHub Actions workflows — pwn_request, script injection, unpinned actions, over-broad token scopes.
SkillCFreshness: C★ 1Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get iac-docker running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
iac-docker skill. Agent Mart. https://agentmart.dev/skills/andrewaeva-iac-docker (last updated 2026-10-24)