security-audit

security-audit is a skill for Codex from Agent-Hellboy/mcp-runtime. It costs 121 tokens per session (1,493 once invoked), scanned A, original, Apache-2.0.

A security review process for one MCP Runtime change. It examines the changed code and selects relevant local or continuous-integration checks.

In plain words
What is it for?
Reviewing authentication, permissions, secrets, TLS, Kubernetes settings, gateway rules, audit logging, dependencies, and GitHub Actions changes.
Why use it?
It helps catch security risks in a focused change without performing a full platform audit.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit Reviewing authentication, permissions, secrets, TLS, Kubernetes settings, gateway rules, audit logging, dependencies, and GitHub Actions changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agent-hellboy/mcp-runtime/security-audit
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 Agent-Hellboy/mcp-runtime --skill security-audit
Clone the repo
git clone --depth 1 https://github.com/Agent-Hellboy/mcp-runtime

Made for: 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 security-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/agent-hellboy/mcp-runtime/security-audit/github.svg)](https://agentmods.dev/skills/agent-hellboy/mcp-runtime/security-audit)
Your own site
<a href="https://agentmods.dev/skills/agent-hellboy/mcp-runtime/security-audit"><img src="https://agentmods.dev/badge/skills/agent-hellboy/mcp-runtime/security-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for security-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/agent-hellboy/mcp-runtime/security-audit"><img src="https://agentmods.dev/badge/skills/agent-hellboy/mcp-runtime/security-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,493 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.
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.00121 $0.01493
Opus 5.5 $0.00048 $0.00597
Sonnet 5.5 $0.00024 $0.00299
Haiku 4.5 $0.00012 $0.00149

Measured 2mo ago against content hash ec1163782e04, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

security-audit 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 2mo 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.

.codex/skills/security-audit/SKILL.md · 111 lines

How it starts

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

Security Audit (change-scoped)

Overview

Use this skill to perform a focused, diff-driven security review for an MCP Runtime change. Combine manual threat review with the repository's existing scanners, and keep findings grounded in concrete file and line references.

If the user asks for a deep, platform-wide audit, switch to security-audit-platform. For SBOM, signed images, GitHub Actions, or dependency-only work, use supply-chain-audit. For RBAC, Pod Security Standards, NetworkPolicy, and manifest hygiene, use k8s-hardening-audit.

Workflow

  1. Define the security boundary.

    • Inspect git status --short, git diff --stat, and diffs for touched files.
    • Identify whether the change affects trust boundaries: user input, JSON/YAML parsing, HTTP handlers, auth cookies or headers, Kubernetes API calls, shell commands, image references, registry endpoints, ingress hosts, TLS material, audit events, or CI workflows.
    • Read nearby tests and existing implementations before judging a pattern unsafe.
  2. Review MCP Runtime security invariants for the changed surface.

    • Secrets must come from Kubernetes Secrets, environment references, local test fixtures, or documented dev-only setup; do not hardcode real credentials or log token values. PLATFORM_ADMIN_PASSWORD is bootstrap-only and must not remain in steady-state env.
    • Admin and platform APIs must enforce the intended role, namespace, grant, session, and trust checks before mutating resources or returning sensitive data. The check is the requireRole(roleAdmin, …) wrap in each split service routes.go; absence on a mutating handler is a finding.
    • Gateway policy denies by default, scopes decisions to the rendered grant/session policy, and emits audit events for allow and deny paths without leaking credentials.
    • Public ingress and TLS changes preserve the documented registry.<domain>, mcp.<domain>, and platform.<domain> split; do not expose Grafana or Prometheus on the public platform host without an auth-aware design.
    • Registry and image changes respect dev HTTP versus production TLS behavior, image-pull-secret handling, and the single supported registry/registry-cert owner for registry/registry-tls.
    • Kubernetes manifests keep RBAC narrow, avoid privileged pods unless explicitly justified, preserve restricted pod-security labels in repo-owned namespaces, and avoid broad secret access.
    • HTML, JavaScript, logs, and API responses escape untrusted content and avoid reflecting secrets, auth headers, session cookies, JWTs, OIDC tokens, or API keys.
    • services/ui/session_proxy.go translates the HttpOnly mcp_ui_session cookie into the caller's stored bearer/API-key credential for an explicit GET-only path allowlist (sessionProxyRuntimePrefixes, sessionProxyAnalyticsPrefixes) — any change widening that allowlist, or any new cookie-backed route that accepts a non-GET method, needs a CSRF/anti-forgery check (token or equivalent) as a first-class finding if one isn't present; a cookie-authenticated write with no CSRF defense beyond SameSite is at least a Medium finding, High if the action is destructive.
    • GitHub Actions and dependency changes keep actions pinned to commit SHAs, minimize token permissions, and avoid exposing repository or deploy secrets to untrusted PR code.

Read the full file on GitHub · 111 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. 2mo ago Changed · +9 lines ec1163782e04
  2. 3mo ago First seen · 102 lines · 121 tokens per session scan A c35c36ba1297

Subscribe to this mod's changes

security-audit is a skill published in the GitHub repository Agent-Hellboy/mcp-runtime (6 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 121 tokens to every session and 1,493 once invoked, about $0.0005 per session on Opus 5.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-31.

Related

security-audit compared with skills from other repositories

security-audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
security-auditAgent-Hellboy/mcp-runtimeSkill62mo agoApache-2.0A121Codex
debugagentic-community/mcp-gateway-registrySkill1.1ktodayApache-2.0A45Claude Code
1mcp-preparation-setup1mcp-app/agentSkill5405d agoApache-2.0A64Claude Code, Codex
taskade-build-apptaskade/mcpSkill1704d agoMITA154Claude Code
taskade-repo-to-projecttaskade/mcpSkill1704d agoMITA190Claude Code
1mcp-cli1mcp-app/agentSkill5405d agoApache-2.0A54Claude Code
taskade-clone-kittaskade/mcpSkill1704d agoMITA152Claude Code