omd-audit

omd-audit is a skill for Claude Code, Codex from AbyssCN/oh-my-dag. It costs 80 tokens per session (963 once invoked), scanned A, original, MIT.

A Chinese-language security-audit procedure for examining software at trust boundaries, where untrusted users or systems enter an application. It produces a structured report of confirmed security findings.

In plain words
What is it for?
Use it to audit routes, APIs, callbacks, webhooks, message handlers, SQL, and schemas, including checking whether external inputs have validation.
Why use it?
It helps identify issues such as injection, missing authentication, unsafe defaults, secret leaks, and access-control failures.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to audit routes, APIs, callbacks, webhooks, message handlers, SQL, and schemas, including checking whether external inputs have validation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/abysscn/oh-my-dag/omd-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 AbyssCN/oh-my-dag --skill omd-audit
Clone the repo
git clone --depth 1 https://github.com/AbyssCN/oh-my-dag

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 omd-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/abysscn/oh-my-dag/omd-audit/github.svg)](https://agentmods.dev/skills/abysscn/oh-my-dag/omd-audit)
Your own site
<a href="https://agentmods.dev/skills/abysscn/oh-my-dag/omd-audit"><img src="https://agentmods.dev/badge/skills/abysscn/oh-my-dag/omd-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 omd-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/abysscn/oh-my-dag/omd-audit"><img src="https://agentmods.dev/badge/skills/abysscn/oh-my-dag/omd-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 963 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 pass 7 Sept 2026
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.00080 $0.00963
Opus 5 $0.00040 $0.00481
Sonnet 5 $0.00016 $0.00193
Haiku 4.5 $0.00008 $0.00096

Measured 11d ago against content hash 6454df3c3707, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

omd-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 11d 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.

client-skills/omd-audit/SKILL.md · 45 lines

What it actually says

/omd-audit — 安全专项审计

经 omd MCP 的 run(未加载先 ToolSearch "run")派一张多视角安全审查 DAG:每个信任边界维度一个并行节点,末节点汇总去重成按严重度排序的报告。只查安全,通用正确性走 /omd-review,规则扫描走 /omd-sast

用法

run 的 task 按此模板(按目标裁剪维度),优先扫外部输入入口:路由/接口层回调/webhook消息入口SQL/schema

对 <目标路径/模块> 做安全审计, 每维度一个并行节点, 末节点汇总去重成结构化报告。
按下方「信任边界清单」逐条查, 每 finding: file:line + 攻击场景 + 严重度(P0/P1/P2) + 修复建议。

三段式:拿 runIddag_status 轮询(别重复发起)→ dag_result 取报告。DAG 产出是候选,你负责终审:对每个可疑项读代码证实攻击路径可达,再定性——证不出可达的降级或剔除。

信任边界清单(逐条查)

  • 验签:HMAC / 签名校验用恒时比较(timingSafeEqual),不是 ===(防时序侧信道);签名缺失即拒。
  • 认证 gap:每个改状态的入口有鉴权闸;GET 只读、不改状态;无「存在性泄露」(用返回码/时延区分资源存不存在)。
  • 注入:命令 / SQL / 路径 由外部输入拼接 → 参数化或净化;禁裸 shell 字符串拼接;SQL 用绑定参数不用字符串拼。
  • fail-open:catch { return null } / 吞错后继续 = 校验失败却放行。审所有 catch:失败必须拒绝(fail-closed),不是静默通过。
  • 不安全默认值:默认开放 / 默认信任 / 默认 admin;开关缺省应最小权限。
  • 秘密与泄漏:硬编码 key/token、日志打印凭证或 PII、不安全存储。
  • 越权与隔离:行级/租户隔离默认 deny;缺失的所有权校验(改别人的资源)。
  • 反序列化 / 供应链:不可信数据反序列化、危险依赖用法、不安全临时文件。

untrusted 入口校验覆盖率

单列一个节点扫所有接受外部输入的入口(路由 body / 回调 / 消息):

  • PROTECTED = 入口处有结构化 schema 校验(如 safeParse);UNPROTECTED = 收外部输入却无校验。
  • 输出:覆盖率表 + 未保护入口清单 + 每个建议的 schema 形状。
  • 注:过严的格式约束(如强制 UUID)可能误伤合法输入,建议 schema 时按真实数据形状放宽。

与既有 skill 的边界

  • /omd-audit = 安全专项(信任边界/注入/认证/fail-open/越权)。
  • 通用正确性 / bug / contract 审查 → /omd-review;确定性 semgrep 规则扫描(零 LLM,便宜)→ /omd-sast,可先 sast 后 audit;某次失败的根因 → /omd-debug
  • 审出的高危项定型后 → /omd-note 记录或开 pathfinder 票 map_add 排修。
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. 11d ago First seen · 45 lines · 80 tokens per session scan A 6454df3c3707

Subscribe to this mod's changes

omd-audit is a skill published in the GitHub repository AbyssCN/oh-my-dag (39 stars, last pushed yesterday), licensed MIT. It adds 80 tokens to every session and 963 once invoked, about $0.0004 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.

Related

Other skills, from other repositories

skill-test

Verifies that the skill system is working correctly.

andrefetch/postal · 13 tokens

interview-and-create-plan

Before starting a Ralph RLM loop, interview the user to sharpen the goal, stress-test the design, and write an authored PLAN.md (goal, definition of done, milestones, open questions, invariants) that the loop can follow. Use when a user wants to plan, scope, or stress-test work before delegating it to the supervisor /…

doeixd/opencode-ralph-rlm · 89 tokens

setup-opencode-ralph-rlm

Set up Ralph RLM in an existing OpenCode project by installing the package, running the opencode-ralph-rlm setup command, checking generated .opencode config, and verifying the provider/worker loop wiring. Use when a user asks to install, configure, initialize, troubleshoot setup for, or add opencode-ralph-rlm / Ralph…

doeixd/opencode-ralph-rlm · 89 tokens

clinicaltrials-database

Query ClinicalTrials.gov via API v2. Search trials by condition, drug, location, status, or phase. Retrieve trial details by NCT ID, export data, for clinical research and patient matching.

synthetic-sciences/openscience · 47 tokens

esm

Comprehensive toolkit for protein language models including ESM3 (generative multimodal protein design across sequence, structure, and function) and ESM C (efficient protein embeddings and representations). Use this skill when working with protein sequences, structures, or function prediction; designing novel…

synthetic-sciences/openscience · 86 tokens

pysam

Genomic file toolkit. Read/write SAM/BAM/CRAM alignments, VCF/BCF variants, FASTA/FASTQ sequences, extract regions, calculate coverage, for NGS data processing pipelines.

synthetic-sciences/openscience · 47 tokens