Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计异常

security-review安全审查

Agent Skill

用于辅助安全审计、权限检查、凭据风险、认证流程和常见漏洞排查。它适合让 Agent 梳理敏感配置、检查依赖风险、分析鉴权逻辑或生成安全复核清单。使用时不能把工具输出直接当最终结论,涉及密钥、令牌、用户数据或生产系统时,应先确认最小权限、脱敏方式和操作边界。

总安装

412

周安装

17

GitHub Stars

65

下载量

135
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:security-review(安全审查)
来源仓库:https://github.com/mcouthon/agents
仓库路径:skills/security-review
安装命令:
npx skills add https://github.com/mcouthon/agents --skill security-review
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/mcouthon/agents --skill security-review

简介

用于辅助安全审计、权限检查和常见漏洞排查。security-review 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 适合梳理敏感配置、分析鉴权逻辑和生成复核清单。
  • 不能将工具输出直接当作最终结论,需人工复核。
  • 涉及密钥或用户数据时应先确认最小权限与脱敏方式。
  • 生产系统操作前务必确认操作边界与安全策略。

SKILL.md

Security Review

Systematic security analysis of code changes.

Core Approach

"Assume the user is the attacker. Find where trust is misplaced."

Risk Classification

Risk LevelTriggers
HIGHAuth, crypto, external calls, value transfer, validation removal
MEDIUMBusiness logic, state changes, new public APIs
LOWComments, tests, UI, logging

Attack Surface Mapping

For each change, identify:

  1. User inputs - request params, headers, body, URL components
  2. Database queries - any SQL/ORM operations
  3. Auth/authz checks - where permissions are verified
  4. External calls - APIs, services, file system
  5. Cryptographic operations - hashing, encryption, tokens

Security Checklist

Input Validation

  • All user input validated before use
  • Validation happens at trust boundary (not just client)
  • Type coercion handled safely
  • Size/length limits enforced

Authentication/Authorization

  • Auth checks present on all protected paths
  • No privilege escalation paths
  • Session handling is secure
  • Token expiration enforced

Data Exposure

  • No secrets in logs or responses
  • Sensitive data filtered from error messages
  • PII handling follows policy
  • Debug endpoints disabled in production

Injection Prevention

  • Parameterized queries for SQL
  • Output encoding for XSS
  • Command injection prevented
  • Path traversal blocked

Cryptography

  • No custom crypto implementations
  • Strong algorithms used (no MD5/SHA1 for security)
  • Secrets not hardcoded
  • Key rotation possible

Blast Radius Analysis

For HIGH risk changes:

  1. Count direct callers
  2. Trace transitive dependencies
  3. Identify failure modes
  4. Check rollback feasibility
  5. Assess data exposure scope

Red Flags (Stop and Escalate)

  • 🔴 Removed validation without replacement
  • 🔴 Access control modifiers weakened
  • 🔴 External calls added without error handling
  • 🔴 Crypto operations changed
  • 🔴 Auth bypass paths introduced
  • 🔴 Secrets in source code
  • 🔴 eval() or dynamic code execution
  • 🔴 Disabled security controls (even "temporarily")

Common Vulnerability Patterns

PatternLook For
IDORUser-controlled IDs without ownership check
Mass AssignmentBinding request body directly to models
SSRFUser-controlled URLs in server requests
Path TraversalUser input in file paths without sanitization
Race ConditionCheck-then-use without locking
Insecure DeserializationDeserializing untrusted data

Output Format

For each finding:

**File**: `path/to/file.py:42`
**Risk**: HIGH | MEDIUM | LOW
**Category**: [Input Validation | Auth | Data Exposure | Injection | Crypto]
**Issue**: [Brief description of what's wrong]
**Evidence**: [Specific code or pattern that demonstrates the issue]
**Recommendation**: [What should be done - without implementing it]

Review Summary Template

## Security Review Summary

**Scope**: [Files/changes reviewed]
**Risk Level**: [Overall: HIGH/MEDIUM/LOW]

### Attack Surface

- Inputs: [list]
- External calls: [list]
- Auth points: [list]

### Findings

| #   | Risk | Category | File:Line  | Issue                    |
| --- | ---- | -------- | ---------- | ------------------------ |
| 1   | HIGH | Auth     | file.py:42 | Missing permission check |

### Recommendations

1. [Priority-ordered list of fixes]

### Not Reviewed

[Areas that need separate review or were out of scope]

What NOT to Do

  • ❌ Fix the issues (identify only)
  • ❌ Assume "internal only" means safe
  • ❌ Skip test files (they often reveal behavior)
  • ❌ Trust comments that say "safe" or "validated elsewhere"
  • ❌ Ignore configuration files

The Security Reviewer's Creed

"I'm not here to approve—I'm here to find what's missed."

Trust nothing. Verify everything. Document clearly.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.67%
按下载量换算45

Claude

30.16%
按下载量换算41

Cursor

20.43%
按下载量换算28

Gemini CLI

9.24%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills