moai-ref-secops

moai-ref-secops is a skill for Claude Code from modu-ai/moai-adk. It costs 201 tokens per session (2,340 once invoked), scanned A, original, Apache-2.0.

A defensive security guide for software delivery systems, containers, Kubernetes, and APIs. It explains how to find and prevent weaknesses in build pipelines and running services.

In plain words
What is it for?
Use it to harden CI/CD pipelines, scan code and container images, check infrastructure settings, improve Kubernetes access controls, and protect APIs.
Why use it?
It helps reduce risks such as leaked secrets, unsafe infrastructure settings, container breakouts, and APIs exposing one customer's data to another.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to harden CI/CD pipelines, scan code and container images, check infrastructure settings, improve Kubernetes access controls, and protect APIs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/modu-ai/moai-adk/moai-ref-secops
About the project

MoAI-ADK is a Go-based harness that organizes and verifies Claude Code work across planning, implementation, synchronization, and review stages. Developers use it to structure agentic coding tasks, apply quality gates, and route work across language models, while the catalogue entries extend its workflow with skills, hooks, commands, MCP servers, instructions, and settings.

modu-ai/moai-adk · 1,200 stars · on GitHub · adk.mo.ai.kr

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 modu-ai/moai-adk --skill moai-ref-secops
Clone the repo
git clone --depth 1 https://github.com/modu-ai/moai-adk

Made for: Claude Code.

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 moai-ref-secops

README.md
[![agentmods](https://agentmods.dev/badge/skills/modu-ai/moai-adk/moai-ref-secops.svg)](https://agentmods.dev/skills/modu-ai/moai-adk/moai-ref-secops)
Your own site
<a href="https://agentmods.dev/skills/modu-ai/moai-adk/moai-ref-secops"><img src="https://agentmods.dev/badge/skills/modu-ai/moai-adk/moai-ref-secops.svg" alt="Measured on agentmods" height="20"></a>
Per session 201 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,340 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 118
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Prompt Injection · line 148
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
How audits are shown
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.00201 $0.02340
Opus 5 $0.00101 $0.01170
Sonnet 5 $0.00040 $0.00468
Haiku 4.5 $0.00020 $0.00234

Measured 8d ago against content hash 0853012f7d1a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

moai-ref-secops 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 8d 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/moai-ref-secops/SKILL.md · 160 lines

How it starts

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

DevSecOps, Container, and API Operational Security Reference

Defensive practitioner reference for the operational layer of a system — the pipeline that builds it, the container and orchestrator that run it, and the API surface it exposes at runtime. Every section is framed as defense, hardening, detection, or verification: it describes the misconfiguration, how to detect it, and how to prevent it, never how to exploit it.

This skill is split into three modules by sub-domain. The overview below gives the shared threat model and an entry point; the depth lives in the modules. The threat model is operational: a pipeline can be subverted to inject a build step, a container can be misconfigured into a host breakout, and a running API can leak one tenant's data to another. The defenses establish least privilege, isolation, detection, and runtime authorization at each layer.

Three Sub-Domains (modules)

Sub-domain Module Covers
DevSecOps modules/devsecops.md CI/CD pipeline hardening, secret scanning, IaC misconfiguration detection (Terraform / CloudFormation), SAST/DAST integration
Container modules/container.md Image scanning, Kubernetes RBAC hardening, container-escape defense (seccomp / AppArmor / read-only root / non-root), runtime threat detection
API operational modules/api-ops.md OWASP API Top 10 operational defense (BOLA / broken-auth detection in production, rate-limit enforcement, server-side authorization), WAF rule tuning, GraphQL/REST depth and complexity limiting

Operational Trust Boundaries

The core defensive insight: each operational layer is a boundary where an attacker who has reached it can move to the next. Defense-in-depth means each boundary assumes the one before it may have failed.

Boundary Operational risk Primary defense Module
Source → pipeline Injected build step, leaked secret, poisoned runner Signed pipeline, secret scanning, runner isolation DevSecOps
Pipeline → infra config Misconfigured cloud resource (open bucket, permissive IAM) IaC scanning before apply DevSecOps
Image → registry Vulnerable base image, embedded secret Image scanning + admission control Container
Container → host Container escape to the node seccomp, AppArmor, read-only root, non-root, drop capabilities Container
Cluster identity → resources Over-privileged ServiceAccount, broad RoleBinding Least-privilege RBAC, PodSecurity admission Container
Client → API Broken object/function authorization, resource exhaustion Server-side authorization, rate limiting, WAF API operational

Read the full file on GitHub · 160 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 160 lines · 201 tokens per session scan A 0853012f7d1a

Subscribe to this mod's changes

moai-ref-secops is a skill published in the GitHub repository modu-ai/moai-adk (1,200 stars, last pushed yesterday), licensed Apache-2.0. It adds 201 tokens to every session and 2,340 once invoked, about $0.0010 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-08-30.