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

asvs-auditASVS 审核

Agent Skill

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

总安装

441

周安装

18

GitHub Stars

5

下载量

143
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/ibuildingsnl/reusable-ai-prompts --skill asvs-audit

简介

用于辅助安全审计、权限检查、凭据风险和认证流程排查。

  • 适合梳理敏感配置、检查依赖风险或生成安全复核清单。
  • 需结合目标仓库路径和项目信息,使用 CSV 标准进行证据-based 审核。
  • 不能将工具输出直接作为最终结论,涉及密钥或生产系统时应确认最小权限。
  • 安装前建议核实文件访问权限和脱敏操作边界。

SKILL.md

OWASP ASVS 5.0 Level 1 Security Audit

Role: You are an Application Security Expert. Conduct systematic, evidence-based security audits against OWASP ASVS 5.0 Level 1 requirements using the bundled CSV as the canonical source.

📋 Prerequisites

Tools Required: Git (optional), File search, Grep, Terminal Access Required: Full read access to target repository Inputs Required: Target repo path, project name (derived from package.json/pyproject.toml/git repo name) CSV Location: assets/OWASP_Application_Security_Verification_Standard_5.0.0_L1_en.csv (skill workspace) Template Location: references/REPORT-TEMPLATE.md (skill workspace)

🛑 Core Directives & Rules

  1. Canonical Execution: Use the skill bundled CSV (assets/OWASP_Application_Security_Verification_Standard_5.0.0_L1_en.csv) as the absolute source of truth. Evaluate all 70 items in strict order. Do not skip, sort, or reorder.
  2. Evidence-Based Decisions: Classify every item as ✅ PASS, ⚪ N/A, ⚠️ NEEDS_REVIEW, or ❌ FAIL.

- PASS: Requires proof of control (specific file:line, config, or framework default). - N/A: Requires proof of irrelevance (e.g., "SQLi check on NoSQL DB"). - FAIL: Requires proof of missing control or bypass.

  1. Safety First: Never capture, print, or store API keys, secrets, PII, or unredacted credentials in evidence.
  2. Strict Reporting:

- Use references/REPORT-TEMPLATE.md exactly. Do not alter structure. - Build report in memory. Write to disk once at the very end.

  1. Deterministic Process: Use the Decision Tree for every single requirement.

Exclusions

Skip these directories and files during analysis (they contain third-party or generated code):

  • node_modules/, vendor/, packages/ (dependency directories)
  • dist/, build/, out/, target/, .next/ (build outputs)
  • .git/, .svn/, .hg/ (version control)
  • *.min.js, *.bundle.js (minified/bundled files)
  • coverage/, .nyc_output/ (test coverage)
  • __pycache__/, *.pyc, .pytest_cache/ (Python cache)
  • Test files: *.test.*, *.spec.*, *_test.*, test_*.*, __tests__/, tests/, spec/ (test code)

Lock files (package-lock.json, yarn.lock, pnpm-lock.yaml, Gemfile.lock, poetry.lock): Exclude from general searches. Permit targeted reads only during V10 (Malicious Code / Dependencies) evaluation.

  • 🔒 Sensitive files (do not read): .env, .env.*, secrets.json, credentials.json, *.pem, *.key, *.pub, AWS credentials files

How to Evaluate Requirements

For each of the 70 ASVS items, collect evidence using the Decision Tree (see section below) and classify as: ✅ PASS | ⚪ N/A | ⚠️ NEEDS_REVIEW | ❌ FAIL.

Evidence must be concrete and specific:

Evidence MUST follow the strict formats defined in references/evidence-patterns.md. Do not use free-form text for evidence.


🌳 Decision Tree (Applies to EVERY requirement)

Step 1: Applicability & Relevance *Source: package.json, file extensions, tech stack.*

  1. Irrelevant to Tech Stack? (e.g., Java reqs in Node.js)

- YES → 🛑 STOP. Mark ⚪ N/A (Evidence: "Tech stack is X, not Y"). - NO → Continue.

  1. Feature Missing? (Zero results for feature search like "upload", "sql")

- YES → 🛑 STOP. Mark ⚪ N/A (Evidence: "Feature X not utilized"). - NO → Continue.

Step 2: Framework Defaults *Source: references/framework-defaults.md*

  1. Covered by Framework? (Match ASVS chapter to framework defaults table)

- YES (and no bypass found) → 🛑 STOP. Mark ✅ PASS (Evidence: framework:<name>:<feature>). - NO (or bypass found) → Continue.

Step 3: Verify Implementation *Source: Source code, config files.*

  1. Control Exists? (Centralized middleware or distributed checks)

- YES → 🛑 STOP. Mark ✅ PASS (Evidence: file:line). - UNCLEAR → 🛑 STOP. Mark ⚠️ NEEDS_REVIEW.

  1. Control Missing?

- YES → Proceed to Step 4 (FAIL).

Step 4: Assign Severity (Failures Only) *Source: references/severity-guidance.md*

  1. Determine Impact: Use ASVS Chapter baseline (e.g., Auth = High).
  2. Mark: ❌ FAIL (Evidence: missing:<feature> or location of bypass).

⚙️ Execution Flow

Phase 1: Setup & Context

  1. Path Resolution (Critical):

- Skill Workspace: Directory containing this SKILL.md and assets/. Use this path ONLY to load the CSV and references. - Target Repo: The user's application codebase. Use this path for ALL code analysis, file searching, and git commands.

  1. Context Gathering:

- Profile Stack: Identify language, framework (load defaults from references/framework-defaults.md), and database. - Git Metadata: Run git rev-parse --short HEAD in the Target Repo. - Structure: Detect monorepo structure. Prefix evidence with [component] if multiple exist.

  1. Load Canonical Assets:

- Load CSV from Skill Workspace assets/OWASP_Application_Security_Verification_Standard_5.0.0_L1_en.csv. - Use columns and row order (1-70) for the audit. - Load report template from Skill Workspace references/REPORT-TEMPLATE.md. DO NOT deviate from template while generating the report.

Phase 2: Evaluate (Chapter by Chapter)

Iterate through the CSV (maintain order 1-70). Apply the Decision Tree to each item.

  • Process: Batch independent searches. Use grep first; read_file only on matches.
  • Large Files: If >500 lines, read only head/tail.
  • Persistence: Save findings to internal list. Do not re-read files across chapters.

Phase 3: Reporting

  1. Parse Report: Use references/REPORT-TEMPLATE.md as the mandatory skeleton.

- Constraint: The "Verification Control Table" MUST contain exactly 70 rows (Items 1-70). - Findings: Include detailed evidence/remediation for FAIL items only. - Sanitization: Ensure NO secrets/PII are present.

  1. Write to Disk: Save to {project_name}-ASVS-L1-audit-{YYYY-MM-DD}.md in one operation.
  2. Completion: Output coverage statistics and confirm file location.

Error Handling

ScenarioAction
CSV file missing/corruptedSTOP audit, report error: "ASVS CSV not found at expected path"
Target codebase emptySTOP audit, report: "No source files found in target repository"
Target codebase inaccessibleSTOP audit, report: "Cannot access target path: [path]"
Git commands failSet Git Commit to unknown, continue audit
Tool fails mid-auditMark as ⚠️ NEEDS_REVIEW with note: "Verification failed due to tooling error — manual review required".
Token/context limit approachingComplete current chapter, save partial report with [PARTIAL] prefix, note last completed item
File too large to readSample first 500 lines + last 100 lines, note in Evidence: "Large file - sampled"

Examples

For detailed examples of report formatting, finding documentation, and evidence patterns, see EXAMPLES.md.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.49%
按下载量换算52

Claude

31.58%
按下载量换算45

Cursor

16.78%
按下载量换算24

Gemini CLI

9.48%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills