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

performing-security-testing执行安全测试

Agent Skill

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

总安装

696

周安装

29

GitHub Stars

2,105

下载量

232
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

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

  • 适合让 Agent 梳理敏感配置、检查依赖风险或分析鉴权逻辑。
  • 使用时不能将工具输出直接作为最终结论。
  • 涉及密钥、令牌或用户数据时应先确认最小权限和脱敏方式。
  • 当前已有较清晰的使用指引,但需结合实际环境验证适用性。

SKILL.md

Security Test Scanner

Overview

Automate security vulnerability detection covering OWASP Top 10 categories including SQL injection, XSS, CSRF, broken authentication, and sensitive data exposure. Combines static analysis (source code scanning with Semgrep, Bandit, ESLint security plugins) with dynamic testing patterns (input fuzzing, header validation, authentication bypass checks).

Prerequisites

  • Static analysis tools installed (Semgrep, ESLint with eslint-plugin-security, Bandit for Python, or SpotBugs for Java)
  • Application running in a test environment (never scan production without explicit authorization)
  • Written authorization to perform security testing on the target system
  • npm audit, pip-audit, or trivy for dependency vulnerability scanning
  • OWASP ZAP or Burp Suite for dynamic application security testing (optional)

Instructions

  1. Run dependency vulnerability scanning to identify known CVEs:

- Execute npm audit --json or pip-audit --format json or trivy fs.. - Parse results and flag critical/high severity vulnerabilities. - Check if vulnerable dependencies have available patches.

  1. Perform static application security testing (SAST) on source code:

- Run Semgrep with OWASP rulesets: semgrep --config=p/owasp-top-ten. - Execute language-specific scanners (Bandit for Python, ESLint security for JS). - Scan for hardcoded secrets using gitleaks or trufflehog.

  1. Analyze code for injection vulnerabilities:

- Search for string concatenation in SQL queries (use Grep for patterns like "SELECT.*" +). - Identify unsanitized user input flowing into innerHTML, eval(), or exec(). - Check for command injection via child_process.exec() or os.system() with user input.

  1. Validate authentication and authorization:

- Verify password hashing uses bcrypt, scrypt, or Argon2 (not MD5/SHA1). - Check JWT token validation includes expiration, issuer, and audience claims. - Ensure authorization checks exist on every protected endpoint.

  1. Test for common web vulnerabilities:

- CSRF: Verify anti-CSRF tokens on state-changing endpoints. - CORS: Check Access-Control-Allow-Origin is not set to * on authenticated endpoints. - Security headers: Validate presence of Content-Security-Policy, X-Frame-Options, Strict-Transport-Security.

  1. Generate a prioritized findings report with:

- CVSS score for each vulnerability. - Affected file, line number, and code snippet. - Specific remediation steps with code examples.

  1. Create regression tests for each finding to prevent reintroduction.

Output

  • Security scan report in Markdown with findings sorted by severity
  • Dependency vulnerability list with CVE IDs and available patches
  • SAST findings with file paths, line numbers, and code context
  • Remediation checklist with specific code fixes for each finding
  • Security regression test file to prevent reintroduction of fixed vulnerabilities

Error Handling

ErrorCauseSolution
False positive on SQL injectionORM parameterized queries flagged as concatenationAdd Semgrep nosemgrep comments on verified safe patterns; tune rules to recognize the ORM
Secret scanner flags test fixturesTest files contain example API keys or tokensAdd test directories to .gitleaksignore; use obviously fake values like test-key-000
Dependency audit returns hundreds of resultsTransitive dependencies with low-severity issuesFilter to direct dependencies first; focus on critical/high only; use npm audit --omit=dev
Scanner cannot reach applicationApplication not running or port mismatchStart the application before dynamic scans; verify the base URL and port configuration
Rate limiting blocks scanToo many requests from the scannerConfigure scan throttling; use authenticated sessions with higher rate limits

Examples

Semgrep scan for OWASP Top 10:

semgrep --config=p/owasp-top-ten --json --output=security-results.json .

Checking for hardcoded secrets:

gitleaks detect --source=. --report-format=json --report-path=secrets-report.json

Security regression test (Jest):

describe('Security: XSS Prevention', () => {
  it('escapes HTML entities in user-generated content', () => {
    const input = '<script>alert("xss")</script>';
    const rendered = renderUserComment(input);
    expect(rendered).not.toContain('<script>');
    expect(rendered).toContain('<script>');
  });

  it('rejects SQL injection in search parameter', async () => {
    const response = await request(app)
      .get('/api/search?q=\'; DROP TABLE users; --')
      .expect(200);  # HTTP 200 OK
    expect(response.body.results).toBeDefined();
    // Verify users table still exists
    const users = await db.query('SELECT count(*) FROM users');
    expect(users.rows[0].count).toBeGreaterThan(0);
  });
});

Resources

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.09%
按下载量换算84

Claude

29.65%
按下载量换算69

Cursor

20.11%
按下载量换算47

Gemini CLI

10.4%
按下载量换算24

安全审计

Gen Agent Trust Hub

未通过

Socket

可疑

Snyk

未通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills