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

performing-security-code-review执行安全代码审查

Agent Skill

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

总安装

737

周安装

31

GitHub Stars

2,087

下载量

258
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/jeremylongshore/claude-code-plugins-plus-skills --skill performing-security-code-review

简介

performing-security-code-review 辅助安全审计与漏洞排查,识别凭据风险和认证问题。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中生成安全复核清单或检查依赖。
  • 通过 GitHub 安装,使用时不能将工具输出直接视为最终结论。
  • 涉及密钥或生产系统时,须确认最小权限与脱敏处理机制。
  • 建议结合人工复核,确保操作边界清晰且不影响真实业务逻辑。

SKILL.md

Performing Security Code Review

Overview

Conducts security-focused code reviews by scanning source files for common vulnerability patterns including SQL injection, XSS, authentication flaws, insecure dependencies, and secret exposure. Produces structured severity-rated reports with specific remediation guidance.

Prerequisites

  • Read access to all source files in the target project
  • grep available on PATH for pattern matching
  • Access to package.json or equivalent dependency manifest for dependency auditing
  • Familiarity with OWASP Top 10 vulnerability categories

Instructions

  1. Identify the scope of the review: specific files, directories, or the entire codebase. Confirm the primary language(s) and framework(s) in use.
  2. Scan for hardcoded secrets and credentials:

- Search for patterns matching API keys, tokens, passwords, AWS access keys (AKIA...), and private key headers (BEGIN PRIVATE KEY). - Flag any .env files or configuration files containing plaintext secrets.

  1. Analyze code for injection vulnerabilities:

- Identify raw SQL string concatenation (SQL injection risk). - Locate unsanitized user input rendered in HTML (XSS risk). - Check for eval(), exec(), or Function() calls with dynamic input (code injection risk).

  1. Review authentication and authorization logic:

- Verify password hashing uses strong algorithms (bcrypt, argon2) rather than MD5/SHA1. - Check for missing authentication on sensitive endpoints. - Identify overly permissive CORS configurations.

  1. Audit dependencies for known vulnerabilities:

- Run npm audit or equivalent package manager audit command. - Cross-reference dependency versions against known CVE databases.

  1. Check for insecure communication patterns:

- Flag HTTP URLs where HTTPS is expected. - Identify disabled TLS certificate verification.

  1. Compile findings into a structured report sorted by severity (Critical, High, Medium, Low), including the vulnerable code location, explanation, and remediation steps.

Output

A structured security review report containing:

  • Summary with total findings count by severity level
  • Per-finding entries with: file path, line number, vulnerability type, severity, code snippet, explanation, and recommended fix
  • Dependency audit results with CVE identifiers where applicable
  • Overall risk assessment (Critical / High / Medium / Low / Clean)

Error Handling

ErrorCauseSolution
No source files foundIncorrect scope path or empty directoryVerify the target directory path and confirm it contains source files
Binary files in scanNon-text files matched by search patternsExclude binary extensions and node_modules/ from scans
Dependency manifest missingNo package.json, requirements.txt, or equivalentSkip dependency audit; note in report that dependency analysis was not possible
Permission denied on filesRestricted file accessRequest read permissions or narrow the review scope to accessible files
False positive on secret patternBenign string matching secret regexVerify context before reporting; mark as potential false positive if the match appears in test fixtures or documentation

Examples

SQL injection review: Trigger: "Review this database query code for SQL injection vulnerabilities." Process: Scan all files containing SQL query construction. Identify string concatenation with user input ("SELECT * FROM users WHERE id = " + userId). Report as High severity with remediation: use parameterized queries or prepared statements.

Dependency vulnerability scan: Trigger: "Check this project's dependencies for known security vulnerabilities." Process: Run npm audit on the project. Parse output for vulnerabilities. Report each finding with CVE identifier, affected package, installed version, and patched version. Recommend npm audit fix or manual version pinning.

Full codebase security audit: Trigger: "Run a security scan on this codebase." Process: Execute all seven scan categories (secrets, injection, auth, dependencies, communication, dangerous commands, obfuscation). Produce a comprehensive report with findings grouped by category and sorted by severity.

Resources

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

31.41%
按下载量换算81

Claude

31.41%
按下载量换算81

Cursor

18.88%
按下载量换算49

Gemini CLI

9.2%
按下载量换算24

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

未通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills