operator-security

operator-security is a skill for Claude Code, Codex from khaosans/operator-etl. It costs 24 tokens per session (956 once invoked), scanned A, original, Apache-2.0.

A security review and hardening guide for the Operator ETL data pipeline. It covers how the system protects files, inputs, secrets, personal data, endpoints, and tool access.

In plain words
What is it for?
It supports security reviews for code changes, HTTP endpoints, MCP tools, authentication, Terraform infrastructure, and production deployments.
Why use it?
It helps teams find common security weaknesses before they reach production, such as unsafe file paths, exposed secrets, weak validation, or sensitive data leaking into responses.

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/khaosans/operator-etl/operator-security
Any agent
npx skills add khaosans/operator-etl --skill operator-security
Clone the repo
git clone --depth 1 https://github.com/khaosans/operator-etl

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 operator-security

README.md
[![agentmods](https://agentmods.dev/badge/skills/khaosans/operator-etl/operator-security.svg)](https://agentmods.dev/skills/khaosans/operator-etl/operator-security)
Your own site
<a href="https://agentmods.dev/skills/khaosans/operator-etl/operator-security"><img src="https://agentmods.dev/badge/skills/khaosans/operator-etl/operator-security.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 956 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.00024 $0.00956
Opus 5 $0.00012 $0.00478
Sonnet 5 $0.00005 $0.00191
Haiku 4.5 $0.00002 $0.00096

Measured today against content hash 8ddb303fc5a6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

operator-security 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 today.

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.

skills/operator-security/SKILL.md · 74 lines

How it starts

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

Security hardening — Operator ETL

Load: SECURITY.md · SECURITY-HARDENING.md · FINAL-REVIEW.md · okf/decisions/pii-fail-closed.md

When to use this skill

  • Any change touching vault.py, pii.py, secrets.tf, iam.tf, or auth middleware
  • Adding new HTTP endpoints or MCP tools
  • Reviewing PRs that modify data extraction, transformation, or loading
  • Before any GCP deploy or production-readiness claim

Security checklist for every PR

  1. Path safety — file URL handlers must resolve + guard against traversal (is_relative_to)
  2. Input validation — Pydantic models with max_length; body size middleware enforced
  3. No secrets in code — Terraform uses sensitive vars with validation; no inline placeholders
  4. Vault permissions — key and vault JSON created with 0o600; warn on permissive existing files
  5. Rate limiting — all non-health endpoints protected by per-client sliding window
  6. Error sanitization — no tracebacks or internal data in HTTP responses; log type + message only
  7. PII boundary — raw PII never in insight text, MCP responses, or LLM context
  8. MCP allowlist — only 3 tools; no vault decrypt; no raw SQL
  9. CODEOWNERS — security-sensitive paths require review (.github/CODEOWNERS)

CI security gates

Gate Tool Config
SAST bandit .bandit.yml — scans src/, skips B101 (assert in tests); other hits need a fix or # nosec
SCA pip-audit .github/workflows/security.yml — dependency CVE check
Secret scan gitleaks .github/workflows/secret-scan.yml
CodeQL codeql-action .github/workflows/codeql.yml — Python security-extended
Container CVE Trivy .github/workflows/ci.yml docker job — HIGH/CRITICAL
IaC Checkov .github/workflows/ci.yml terraform job + .checkov.yml
Dependency updates Dependabot .github/dependabot.yml — pip, Actions, Docker, Terraform

Read the full file on GitHub · 74 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. today First seen · 74 lines · 24 tokens per session scan A 8ddb303fc5a6

Subscribe to this mod's changes

operator-security is a skill published in the GitHub repository khaosans/operator-etl (0 stars, last pushed yesterday), licensed Apache-2.0. It adds 24 tokens to every session and 956 once invoked, about $0.0001 per session on Opus 5. 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-09-04.

Related

Other skills, from other repositories

ray-data

Scalable data processing for ML workloads. Streaming execution across CPU/GPU, supports Parquet/CSV/JSON/images. Integrates with Ray Train, PyTorch, TensorFlow. Scales from single machine to 100s of nodes. Use for batch inference, data preprocessing, multi-modal data loading, or distributed ETL pipelines.

synthetic-sciences/openscience · 70 tokens

runtime-copilot

Use when the user wants to operate, diagnose, or validate the Mini Data Engine MCP runtime from Codex; prefer the MCP surface over raw shell commands, start with projecttoolcatalog and projectgetdefaults, then use healthcheck, projectrunregression, explainrun, projectcomparebaseline, and related runtime tools.

kroq86/data-engineering-runtime-lab · 69 tokens

aegis-dq

Agentic data quality validation across warehouses (DuckDB, BigQuery, Athena, Databricks, Postgres) with LLM diagnosis, root cause analysis, and audit trail.

aegis-dq/aegis-dq · 42 tokens

network-rca

Kubernetes network root cause analysis skill powered by Kubeshark MCP. Use this skill whenever the user wants to investigate past incidents, perform retrospective traffic analysis, take or manage traffic snapshots, extract PCAPs, dissect L7 API calls from historical captures, compare traffic patterns over time, detect…

kubeshark/kubeshark · 163 tokens

install

Kubeshark installation and deployment skill. Use this skill whenever the user wants to install Kubeshark, deploy Kubeshark to a Kubernetes cluster, set up Kubeshark, configure Kubeshark helm values, generate a Kubeshark config file, customize Kubeshark deployment, troubleshoot Kubeshark installation, upgrade…

kubeshark/kubeshark · 257 tokens

ecspresso

ECS deployment tool - deploy, manage, and troubleshoot ECS services.

kayac/ecspresso · 17 tokens