verify-security SKILL.md skillA

verify-security from fengshao1227/ccg-workflow is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add fengshao1227/ccg-workflow/verify-security@git:20260829.3eccf14

Pins git:20260829.3eccf14 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
fengshao1227/ccg-workflow
Path
dsh-ccg/skills/verify-security/SKILL.md
Versions recorded
1
Latest version
git:20260829.3eccf14, committed Aug 29, 2026
Size
3,754 bytes
Repository stars
5,957
License
MIT

安全校验关卡。自动扫描代码安全漏洞,检测危险模式,确保安全决策有文档记录。当用户提到安全扫描、漏洞检测、安全审计、代码安全、OWASP、注入检测、敏感信息泄露时使用。在新建模块、安全相关变更、攻防任务、重构完成时自动触发。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# ⚖ 校验关卡 · 安全校验

## 核心原则

```
安全即道基,破则劫败
安全决策必须可追溯
Critical/High 问题必须修复后才能交付
```

## 自动扫描

运行安全扫描脚本(跨平台):

```bash
# 在 skill 目录下运行
node scripts/security_scanner.js <扫描路径>
node scripts/security_scanner.js <扫描路径> -v           # 详细模式
node scripts/security_scanner.js <扫描路径> --json       # JSON 输出
node scripts/security_scanner.js <扫描路径> --exclude vendor  # 排除目录
```

## 检测范围

### 自动检测的漏洞类型

| 类别 | 检测项 | 严重度 |
|------|--------|--------|
| **注入** | SQL 注入、命令注入、代码注入 | 🔴 Critical |
| **敏感信息** | 硬编码密钥、AWS Key、私钥 | 🔴 Critical |
| **XSS** | innerHTML、dangerouslySetInnerHTML | 🟠 High |
| **反序列化** | pickle.loads、yaml.load | 🟠 High |
| **路径遍历** | 未验证的文件路径操作 | 🟠 High |
| **SSRF** | 未验证的 URL 请求 | 🟠 High |
| **XXE** | 不安全的 XML 解析 | 🟠 High |
| **弱加密** | MD5、SHA1 用于安全场景 | 🟡 Medium |
| **不安全随机** | random 模块用于安全场景 | 🟡 Medium |
| **调试代码** | console.log、print、debugger | 🔵 Low |

### 文档层面检查

安全相关代码必须在 DESIGN.md 中记录:

- [ ] **威胁模型** — 防御哪些攻击
- [ ] **安全决策** — 为何选择此方案
- [ ] **安全边界** — 信任边界在哪里
- [ ] **已知风险** — 接受了哪些风险

## 危险模式速查

### Python
```python
# 🔴 危险 - 触犯道基
eval(), exec(), os.system()
subprocess(..., shell=True)
pickle.loads(), yaml.load()
cursor.execute(f"SELECT * FROM t WHERE id = {id}")
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add fengshao1227/ccg-workflow/verify-security@sha256:2889587c53d13a41

The line at the top of this page pins the label git:20260829.3eccf14, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_4r6xqyf2wj674tfo.svg)](https://markdownregistry.com/a/art_4r6xqyf2wj674tfo)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Aug 29, 2026.

versioncommittedcommitsizeaudit
git:20260829.3eccf14 latest2026-08-29 3eccf14 3,754 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3754 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

fengshao1227/ccg-workflow · 5,957 stars · license MIT · pushed 2026-11-02 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_4r6xqyf2wj674tfo
GET https://markdownregistry.com/api/v1/resolve?ref=fengshao1227/ccg-workflow/verify-security
GET https://markdownregistry.com/api/v1/blob/2889587c53d13a410778f0e29c759454492fa73d72ffbde5f5abb30359fbc77a

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from fengshao1227/ccg-workflow

openspec-apply-change SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-apply-change/SKILL.md · Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or…
v1.0 · audit A · 5,957 stars
openspec-archive-change SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-archive-change/SKILL.md · Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a change after…
v1.0 · audit A · 5,957 stars
openspec-bulk-archive-change SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-bulk-archive-change/SKILL.md · Archive multiple completed changes at once. Use when archiving several parallel changes.
v1.0 · audit A · 5,957 stars
openspec-continue-change SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-continue-change/SKILL.md · Continue working on an OpenSpec change by creating the next artifact. Use when the user wants to progress their change…
v1.0 · audit A · 5,957 stars
openspec-explore SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-explore/SKILL.md · Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements. Use…
v1.0 · audit A · 5,957 stars
openspec-ff-change SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-ff-change/SKILL.md · Fast-forward through OpenSpec artifact creation. Use when the user wants to quickly create all artifacts needed for…
v1.0 · audit A · 5,957 stars
openspec-new-change SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-new-change/SKILL.md · Start a new OpenSpec change using the experimental artifact workflow. Use when the user wants to create a new feature…
v1.0 · audit A · 5,957 stars
openspec-onboard SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-onboard/SKILL.md · Guided onboarding for OpenSpec - walk through a complete workflow cycle with narration and real codebase work.
v1.0 · audit A · 5,957 stars
openspec-sync-specs SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-sync-specs/SKILL.md · Sync delta specs from a change to main specs. Use when the user wants to update main specs with changes from a delta…
v1.0 · audit A · 5,957 stars
openspec-verify-change SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-verify-change/SKILL.md · Verify implementation matches change artifacts. Use when the user wants to validate that implementation is complete…
v1.0 · audit A · 5,957 stars
CLAUDE.md CLAUDE.md file
fengshao1227/ccg-workflow · CLAUDE.md
git:20261102.2f12cc5 · audit A · 5,957 stars
CLAUDE.md@codeagent-wrapper CLAUDE.md file
fengshao1227/ccg-workflow · codeagent-wrapper/CLAUDE.md
git:20261102.2f12cc5 · audit A · 5,957 stars

Every file in fengshao1227/ccg-workflow

Other files named verify-security

verify-security SKILL.md skill
aurite-ai/agent-verifier · skills/verify-security/SKILL.md · Verify code for security issues including hardcoded secrets, input validation, error exposure, and dependency…
v1.0.0 · audit A · 44 stars

Browse by kind, by grade A, or by owner.