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

security-review安全审查

Agent Skill

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

总安装

652

周安装

28

GitHub Stars

114

下载量

228
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/shawnpang/startup-founder-skills --skill security-review

简介

security-review 用于辅助安全审计、权限检查、凭据风险、认证流程和常见漏洞排查。

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

SKILL.md

Security Review

When to Use

  • The user wants a security audit of their application, infrastructure, or specific feature
  • They need a threat model before launching or a penetration test preparation review
  • They have a dependency vulnerability alert and need remediation guidance
  • They are handling sensitive data (PII, payment, health) and need verification
  • Code audit, secrets detection, or compliance assessment is requested

Context Required

From startup-context: tech stack, deployment environment, compliance requirements, data types. Also ask:

  • Scope — Full app, feature, auth system, single PR, infrastructure, or cloud environment
  • Data types — PII, payment, health, credentials, or other sensitive data handled
  • Compliance requirements — SOC 2, HIPAA, PCI-DSS, GDPR, ISO 27001
  • Authorization — Confirm written authorization exists before any active testing

Workflow

Follow a five-phase methodology. Automated scanning precedes manual review. Authorization verification is mandatory before active testing.

  1. Scope definition — Establish attack surface boundaries. Identify all components, data flows, and trust boundaries. Confirm authorization. Define in-scope and out-of-scope.
  2. Automated scanning — Execute tooling before manual review:

- SAST: semgrep --config=auto across the codebase - Dependency audit: npm audit / pip-audit / govulncheck / trivy fs. - Secrets detection: Scan for hardcoded credentials, API keys, tokens in source - Container scanning: trivy image for containerized deployments - Record all automated findings for validation in the next phase.

  1. Manual code review — Conduct contextual analysis that automated tools miss:

- Authentication and authorization flow tracing end-to-end - Business logic vulnerabilities (price manipulation, race conditions, privilege escalation) - Data flow analysis for sensitive information (where does PII enter, transit, and persist?) - STRIDE threat modeling against each component and data flow

  1. Validation and classification — Test findings and assign severity:

- Validate automated findings to eliminate false positives - Assign CVSS v3.1 scores; assess exploitability in context - Classify by business impact, not just technical severity

  1. Reporting — Document vulnerabilities with precise locations, business impact, and corrective actions. Deliver a prioritized remediation roadmap.

Output Format

# Security Review: [Scope Description]

## Executive Summary
Overall risk posture (Critical / High / Medium / Low), top findings count, and business impact summary.

## Threat Model (STRIDE)
| Threat | Category | Asset | Impact | Likelihood | Risk |

## Findings
### Critical / High / Medium / Low
- **[SEC-N] Title** — CVSS X.X — file:line — description, business impact, remediation with code example

## Auth Flow Assessment
End-to-end trace of authentication and authorization with findings.

## Dependency Vulnerabilities
| Package | Current Version | CVSS | Fix Version | Exploitable in Context? |

## Remediation Roadmap
Prioritized action list with timelines.

Frameworks & Best Practices

STRIDE Threat Modeling

Apply to every component and data flow:

  • Spoofing — Can attackers forge tokens or impersonate users? Are API keys rotatable?
  • Tampering — Can requests be modified in transit? Are webhooks signed? Is data integrity verified?
  • Repudiation — Are critical actions logged? Are logs tamper-evident?
  • Information Disclosure — Stack traces in error responses? PII encrypted at rest and in transit?
  • Denial of Service — Rate limits in place? Can one user exhaust resources for all?
  • Elevation of Privilege — Can regular users access admin functions? Are role checks server-side?

OWASP Top 10 Checks

  1. Injection — Parameterize SQL/NoSQL; check OS commands, SSTI, LDAP
  2. Broken Auth — argon2id/bcrypt, session timeout, rate limiting on login
  3. Data Exposure — TLS 1.2+, PII encrypted at rest, HSTS headers
  4. XXE — Disable DTD processing, prefer JSON over XML
  5. Access Control — Server-side authz on every endpoint, no IDOR, CORS whitelist
  6. Misconfig — Debug mode off, default credentials removed, security headers present
  7. XSS — Output encoding, Content Security Policy, HTTP-only cookies
  8. Deserialization — Validate schema, prefer JSON, reject untrusted serialized objects
  9. Vulnerable Depsnpm audit, pip-audit, trivy, govulncheck
  10. Logging — Auth events, admin actions, access violations logged with alerts

CVSS v3.1 Scoring Guide

  • Critical (9.0-10.0): RCE, auth bypass, full data breach, complete system compromise
  • High (7.0-8.9): Privilege escalation, significant data exposure, SSRF to internal services
  • Medium (4.0-6.9): Stored XSS, CSRF, limited IDOR, information disclosure
  • Low (0.1-3.9): Missing security headers, minor info disclosure, verbose errors

Auth Flow Checklist

  • Passwords: argon2id or bcrypt (cost >= 10)
  • JWT: 15-min access tokens, 7-day refresh tokens rotated on use
  • Rate limiting: 5 attempts / 15 min on auth endpoints
  • Sessions invalidated on password change
  • OAuth state parameter validated, scoped API keys
  • MFA enforced for admin accounts
  • Password reset tokens are single-use and time-limited

Scanning Tools

  • SAST: semgrep --config=auto (all stacks), bandit (Python), gosec (Go), eslint-plugin-security (Node)
  • Dependencies: npm audit / pip-audit / govulncheck / trivy fs.
  • Containers: trivy image

Mandatory Constraints

  • Never test production without explicit written authorization
  • Never exploit beyond proof-of-concept demonstration
  • Always sequence automated scanning before manual review

Remediation Priority

  1. Actively exploitable + critical data — immediately
  2. Auth/authz bypass — 24 hours
  3. Injection — 48 hours
  4. Data exposure / critical CVEs — 1 week
  5. Config hardening — 2 weeks
  6. Defense-in-depth — next sprint

Related Skills

  • code-review — chain when findings require code-level fixes and review
  • architecture-design — chain when findings reveal architectural security flaws
  • soc2-prep — chain when review is part of compliance preparation

Examples

Example prompt: "Review the security of our user authentication system. We use JWT with Express."

Good output snippet:

# Security Review: JWT Authentication System

## Executive Summary
Risk posture: **Critical**. Hardcoded JWT secret and non-expiring tokens.

## Findings
### Critical (CVSS 9.8)
- **[SEC-1] Hardcoded JWT secret** — auth/config.js:3 — Secret is
  "supersecret123". Attacker can forge any token.
  **Fix:** Move to env var, generate with `openssl rand -base64 64`.

### Critical (CVSS 9.1)
- **[SEC-2] Tokens never expire** — auth/jwt.js:12 — No `expiresIn`.
  **Fix:** Set `expiresIn: '15m'`, implement refresh token rotation.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.25%
按下载量换算83

Claude

28.2%
按下载量换算64

Cursor

18.11%
按下载量换算41

Gemini CLI

8.74%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills