Skip to content
Skills Library
Security · Review & audit

security-scan-assistant

/security-scan-assistant

引导自动化安全扫描、依赖包审计与密钥检测。 Use when: 依赖包审计、CVE 扫描、密钥检测、许可证合规。 Not for: 人工的威胁建模与安全设计审查——请用 /security;一般的代码整洁度——请用 /sweep。 Keywords: scan, audit, CVE, dependency, secret, SBOM, vulnerability, 扫描, 审计, 依赖包, 密钥检测.

Licence
MIT
Last repository change
27.10.2026

Assessment and security

84/ 100Class: good
Format9 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

引导自动化安全扫描、依赖包审计与密钥检测。 Use when: 依赖包审计、CVE 扫描、密钥检测、许可证合规。 Not for: 人工的威胁建模与安全设计审查——请用 /security;一般的代码整洁度——请用 /sweep。 Keywords: scan, audit, CVE, dependency, secret, SBOM, vulnerability, 扫描, 审计, 依赖包, 密钥检测.

Original author description

引导自动化安全扫描、依赖包审计与密钥检测。 Use when: 依赖包审计、CVE 扫描、密钥检测、许可证合规。 Not for: 人工的威胁建模与安全设计审查——请用 /security;一般的代码整洁度——请用 /sweep。 Keywords: scan, audit, CVE, dependency, secret, SBOM, vulnerability, 扫描, 审计, 依赖包, 密钥检测.

How it works

  1. 扫描类型
  2. 工具集成
  3. 严重程度分类与 SLA
  4. 工作流程
  5. 使用方式
  6. 下一步引导
  7. 参考
  8. 版本历史
  9. AI 代理行为
  10. 授权
Original SKILL.md headings · 85 lines, 281 words
SKILL.md preview
---
source: ../../../../skills/security-scan-assistant/SKILL.md
source_version: 1.0.0
translation_version: 1.1.0
last_synced: 2026-10-11
source_hash: 731552ef9632
status: current
description: |
  引导自动化安全扫描、依赖包审计与密钥检测。
  Use when: 依赖包审计、CVE 扫描、密钥检测、许可证合规。
  Not for: 人工的威胁建模与安全设计审查——请用 /security;一般的代码整洁度——请用 /sweep。
  Keywords: scan, audit, CVE, dependency, secret, SBOM, vulnerability, 扫描, 审计, 依赖包, 密钥检测.
---

# 安全扫描助手

> **语言**: [English](../../../../skills/security-scan-assistant/SKILL.md) | 简体中文

自动化依赖包、机密信息和许可证合规的安全扫描。

## 扫描类型

| 类型 | 工具示例 | 用途 |
|------|----------|------|
| **依赖包审计** | npm audit, pip-audit, Snyk | 检测依赖包中的已知 CVE |
| **机密检测** | gitleaks, trufflehog | 检测代码中泄露的凭证 |
| **许可证合规** | license-checker, SPDX | 验证开源许可证兼容性 |
| **SAST** | Semgrep, CodeQL | 静态分析代码模式 |

## 工具集成

| 工具 | 命令 | 范围 |
|------|------|------|
| npm audit | `npm audit --json` | Node.js 依赖包 |
| Snyk | `npx snyk test` | 多语言依赖包 |
| Trivy | `trivy fs .` | 文件系统与容器 |
| gitleaks | `gitleaks detect` | Git 历史机密 |
| SPDX | `npx spdx-tool` | 许可证 SBOM 产出 |

## 严重程度分类与 SLA

| 严重程度 | SLA | 标准 |
|----------|-----|------|
| **Critical** | 24 小时 | 远程执行、认证绕过、数据外泄 |
| **High** | 72 小时 | 权限提升、SQL 注入 |
| **Medium** | 2 周 | XSS、CSRF、信息泄露 |
| **Low** | 下个 Sprint | 缺少 Header、冗长错误信息 |

## 工作流程

```
SCAN ──► TRIAGE ──► PRIORITIZE ──► FIX ──► VERIFY
```

1. **Scan** — 对代码库与依赖包运行自动化扫描器
2. **Triage** — 过滤误报,确认真实漏洞
3. **Prioritize** — 依严重程度与可利用性排序
4. **Fix** — 应用补丁、更新依赖包、轮换密钥
5. **Verify** — 重新扫描以确认已修复

## 使用方式

```
/scan                - 完整扫描(依赖包 + 机密 + 许可证)
/scan --deps         - 仅依赖包审计
/scan --secrets      - 仅机密检测
/scan --license      - 许可证合规检查
```

## 下一步引导

`/scan` 完成后,AI 助手应建议:

> **扫描完成。建议下一步:**
> - 执行 `/security` 深入安全审查 ⭐ **推荐**
> - 执行 `/checkin` 确认修复符合提交规范
> - 执行 `/commit` 提交安全修复
> - 更新依赖包 → `npm update` 或 `pip install --upgrade`

## 参考

- 核心规范:[security-standards.md](../../../../core/security-standards.md)

## 版本历史

| 版本 | 日期 | 变更说明 |
|------|------|----------|
| 1.0.0 | 2026-03-23 | 初始版本 |


## AI 代理行为

> 完整的 AI 行为定义请参阅对应的命令文档:[`/scan`](../commands/scan.md#ai-agent-behavior--ai-代理行为)

## 授权

CC BY 4.0 — 文档内容

Versions

RepositoryScoreLicence
This page · AsiaOstrich/universal-dev-standards84MIT
AsiaOstrich/universal-dev-standards100MIT

Database snapshot: 13.11.2026 · package version 9d8cc263bb9e (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95scan
    Guide automated security scanning, dependency auditing, and secret detection. Use when: dependency audit, CVE scanning, secret detection, license compliance. Not for: manual threat modeling and secure design review — use /security; general code cleanliness — use /sweep.…
  • 95scan
    引導自動化安全掃描、相依套件稽核與機密偵測。 Use when: 相依套件稽核、CVE 掃描、機密偵測、授權條款合規。 Not for: 人工的威脅建模與安全設計審查——請用 /security;一般的程式碼整潔度——請用 /sweep。 Keywords: scan, audit, CVE, dependency, secret, SBOM, vulnerability, 掃描, 稽核, 相依套件, 機密偵測.
  • 90chain-scan
    Design a dependency scanning program — CVE detection, license checks, and CI gates. Use when asked to "scan our dependencies", "set up CVE detection", or "add a dependency CI gate".
  • 100security
    This skill should be used when the user asks about "security", "vulnerability scanning", "dependency audit", "supply chain security", "license compliance", "security audit", "CVE", "OWASP", "secrets scanning", "cargo-deny", "npm audit", or needs guidance on security requirements…
  • 100security-audit
    OWASP Top 10 security audit, SAST/DAST/SCA scanning, secrets detection, and dependency vulnerability check. Use when: security, vulnerability, OWASP, secrets, CVE, security audit, security scan, penetration.
  • 100security-audit
    Run security audit — dependency vulnerabilities, secret scanning, OWASP pattern detection, HTTP headers. Use when user wants to harden their project.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.