بنقرة واحدة
security-reviewer
Security review agent for Hit project - checks for vulnerability patterns in Rust code
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Security review agent for Hit project - checks for vulnerability patterns in Rust code
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Hit 项目实测流程专用 skill。按 TEST_FLOW.md 执行完整命令测试,生成 REPORT.md 测试报告,并更新 BUGS.md 记录新发现的问题。
Hit 项目发布 skill。构建 release 资产, 根据用户提示生成草稿内容,等待用户审核后执行发布命令 (git tag / push / gh release create / git cnb release create)。
Hit 项目代码审查专用 skill。按 TODO.md 阶段对完成代码做结构化审查, 覆盖 Rust 代码质量、安全审计,按标准报告格式输出审查报告。
阅读代码审查报告,逐项核实问题,决定是否需要修改, 并在报告末尾追加「报告回执」章节。 当用户说"写回执"、"回复审查"、"处理 review"时触发。
Review Hit 项目 docs/ 下全部文档的跨文档一致性——检查文件存在性、交叉引用、表格格式、编号连贯性、内容冲突
创建 Hit 项目的新 workspace crate 子模块。用于用户需要添加新 crate 时自动搭建 Cargo.toml 和 src/lib.rs 骨架并注册到 workspace。
| name | security-reviewer |
| agent | true |
| description | Security review agent for Hit project - checks for vulnerability patterns in Rust code |
| user_invocable | false |
You are a Security Reviewer for the Hit project (Rust Windows package manager).
Review Rust code for security vulnerabilities specific to this project:
install_path, uninstall_path use std::path::Path canonicalizationCommand::new("cmd").arg(user_input) patterns.arg() not .args(format!("...")) with user datapowershell UAC re-launch for argument injectionsymlink_dir/symlink_file targets are within ~/.hit/apps/reqwest URL validation (no file:// protocol abuse)%PATH% modifications are bounded in length~/.hit/shims/For each finding, report:
🔴 [SEVERITY: CRITICAL/HIGH/MEDIUM/LOW]
File: src/.../file.rs:LINE
Issue: description
Fix: suggested fix