moai-ref-secops

Hardens CI/CD pipelines, containers, Kubernetes RBAC, and production APIs with defensive security patterns.

Updated Jul 24, 2026
One-click install
npx skills add https://github.com/jjjh7401/AI-Lighting_Console --skill moai-ref-secops-jjjh7401
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: moai-ref-secops
Source: https://github.com/jjjh7401/AI-Lighting_Console/tree/main/.claude/skills/moai-ref-secops
Command: npx skills add https://github.com/jjjh7401/AI-Lighting_Console --skill moai-ref-secops-jjjh7401

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Operational systems are breached through misconfigured pipelines, over-privileged containers, and APIs that trust client-supplied object IDs. This Skill provides a defensive reference that tells you how to detect and prevent those misconfigurations at each operational layer, without ever describing how to exploit them. ## Core Features & Use Cases - DevSecOps Hardening: Pin pipeline actions, scope pipeline tokens, run secret scanning over full git history, and gate IaC changes on misconfiguration scans before apply. - Container and Kubernetes Defense: Enforce a hardened-pod baseline (non-root, read-only root, dropped capabilities, seccomp), least-privilege RBAC, image scanning with admission control, and runtime threat detection. - API Operational Defense: Enforce server-side object-level authorization against BOLA, rate limits and request-size caps at the gateway, WAF tuning, and GraphQL/REST depth and complexity limits. - Use Case: Before shipping a new service, use this Skill to verify the pipeline scans secrets and IaC, the container runs non-root with a seccomp profile, no ServiceAccount is bound to cluster-admin, and every API endpoint enforces server-side ownership checks. ## Quick Start Review my Kubernetes deployment manifests and API gateway configuration against the operational security checklist and flag any P0 or P1 findings.

Frequently Asked Questions about moai-ref-secops

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I harden a CI/CD pipeline against supply chain attacks?▼

Pin the pipeline definition and third-party actions by version or digest, use least-privilege per-job tokens, run jobs on ephemeral isolated runners, and sign produced artifacts. Gate deploys behind protected branches and audit-log every run with trigger identity and artifact digest.

How to prevent container escape in Kubernetes?▼

Run containers as non-root with a read-only root filesystem, drop all Linux capabilities, apply the RuntimeDefault seccomp profile, and disable privileged mode and privilege escalation. Enforce this baseline at admission with PodSecurity restricted profile so violating pods are rejected before running.

What is the defense against Broken Object Level Authorization?▼

BOLA defense requires a server-side ownership check on every object access; the client-supplied object ID is never trusted as authorization. Detect it in production by monitoring for identities accessing object IDs outside their expected set.

Does this Skill cover offensive security or penetration testing techniques?▼

No. The Skill is strictly defensive: it describes misconfigurations, how to detect them, and how to prevent them. It cites MITRE ATT&CK technique IDs only to correlate defenses with the techniques they counter, never to provide exploitation procedures.

When should I scan infrastructure-as-code for misconfigurations?▼

Scan IaC before the apply stage, as a CI gate between plan and apply, failing closed on high-severity findings like public buckets or wildcard IAM policies. A scan that runs after apply is detection, not prevention.

What is the difference between this Skill and moai-ref-owasp-checklist?▼

This Skill covers the operational runtime surface: production BOLA detection, gateway rate limiting, WAF tuning, and live query-depth limits. moai-ref-owasp-checklist covers dev-time secure coding such as parameterized queries, input validation, and security headers.