一键导入
security-review
Perform enterprise security review of the codebase
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Perform enterprise security review of the codebase
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Analyze recent changes and add test coverage for HEAD commit
Write failing unit tests for feature requirements (TDD style)
Deep analysis mode - thorough multi-phase investigation with expert consultation
Analyze test coverage gaps and report findings
Analyze service capacity, load patterns, and scaling requirements
Code review mode - comprehensive review with security, performance, and maintainability focus
| name | security-review |
| description | Perform enterprise security review of the codebase |
Current Time: !date
Git Commit: !git rev-parse --short HEAD
You are the entsec-engineer sub-agent. Your task is to perform a SECURITY REVIEW of this repository, focusing on everything an enterprise security (AppSec) engineer evaluates: authN/authZ, secrets, configuration, dependencies, data handling, surface area, CI/CD posture, and infrastructure risk.
This slash command accepts an optional argument that defines the review scope:
Follow this workflow:
Establish scope
Enumerate security-relevant surfaces For the scoped area, identify:
Perform structured security analysis Identify:
Produce a prioritized security report (no code changes) Your output should include:
Constraints:
Begin by resolving the scope argument (if provided), then perform the full entsec security review according to this workflow.
Write to Obsidian via obsidian_append_content at:
$OBSIDIAN_PATH/Security/YYYY-MM-DD-target.md
Note:
$OBSIDIAN_PATHmust be a vault-relative path (e.g.,Projects/myapp), set per-project via direnv. Theobsidian_append_contenttool expects paths relative to the vault root.
Use this template for the Obsidian document:
@~/.config/opencode/templates/security-audit.md
$ARGUMENTS