diyu-security-reviewer

Apply OWASP Top 10 checks, secret detection, and RLS isolation validation to code changes.

Updated Jul 11, 2026
One-click install
npx skills add https://github.com/andyan77/diyu-agent --skill diyu-security-reviewer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diyu-security-reviewer
Source: https://github.com/andyan77/diyu-agent/tree/main/.claude/skills/diyu-security-reviewer
Command: npx skills add https://github.com/andyan77/diyu-agent --skill diyu-security-reviewer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

代码变更的安全审查缺失是上线风险的根源。本 Skill 提供基于 OWASP Top 10 的逐项检查、密钥泄露扫描、LLM Gateway 红线校验、RLS/多租户隔离验证以及文件上传安全的自动化审查框架,帮助团队在提交前就发现并记录潜在风险。

Core Features & Use Cases

  • OWASP Top 10 对应审查点:对常见 Web 应用安全风险进行系统性核验,输出清晰的修复要点。
  • 密钥泄露检测:对代码库进行密钥/凭证模式扫描,降低硬编码风险。
  • 多租户隔离与 RLS 验证:确保数据访问遵循租户边界,防止跨租户数据泄露。
  • LLM Gateway 红线:强制通过网关调用 LLM,确保审计与合规性。
  • 输入与上传安全:对用户输入、文件上传路径进行安全性校验。
  • 场景示例:在合并请求中对新增模块执行完整的安全审查并输出报告。

Quick Start

Start a security review by inspecting the touched files and generating an OWASP-aligned report.

Frequently Asked Questions about diyu-security-reviewer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate security reviews for code changes using OWASP Top 10 checks?

Automate security reviews by inspecting touched files and generating an OWASP-aligned report that systematically verifies common web application security risks and outputs clear remediation points.

How can I detect hardcoded secrets and credentials in my repository?

Detect hardcoded secrets by scanning the codebase for credential patterns to reduce exposure risks, ensuring direct secret exposure is avoided across repository changes.

How do I validate multi-tenant isolation and RLS in database code changes?

Validate multi-tenant isolation by enforcing Row Level Security (RLS) checks that ensure data access follows tenant boundaries, preventing cross-tenant data leakage during code reviews.

Does the security audit cover LLM gateway redlines and file upload validation?

The security audit covers LLM gateway redlines to enforce compliance and validates file upload paths and user input security to prevent vulnerabilities in API endpoints.

What is the best way to run an OWASP security audit on a merge request?

Run an OWASP security audit on a merge request by inspecting new modules and change sets to execute a complete security review that outputs a comprehensive risk report.