OpenParable
Skip to content
← Back to skills

Bk Monitor Security Audit

Testing & Quality
bk-monitor-security-audit

Bk Monitor Security Audit is an Agent Skill for testing & quality published in the TencentBlueKing/bk-bcs repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

对前端代码进行安全审计,检测 XSS、CSRF 等漏洞。当用户请求代码审查或询问代码安全性时使用。

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/TencentBlueKing/bk-bcs/blob/HEAD/bcs-services/bcs-project-manager/.cursor/skills/bk-monitor-security-audit/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/bk-monitor-security-audit, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

前端代码安全审计

触发场景

  1. 代码提交/审查请求
  2. 询问代码安全性/漏洞
  3. 涉及 DOM 操作、URL 处理、用户输入
  4. 提及 XSS、CSRF、注入等安全关键词

审计检查清单

  1. DOM 操作安全性(innerHTML、v-html)
  2. URL/重定向安全
  3. 跨域通信安全(postMessage)
  4. 动态代码执行(eval)
  5. 敏感信息处理
  6. 原型污染/ReDoS

工作流程

  1. 读取代码文件
  2. 按检查清单逐项审计
  3. 按 report-template.md 输出报告

📦 可用资源

  • skill://bk-monitor-security-audit/references/audit-rules.md
  • skill://bk-monitor-security-audit/references/report-template.md
  • skill://bk-monitor-security-audit/references/security-checklist.md

📦 可用资源

  • skill://bk-monitor-security-audit/references/audit-rules.md
  • skill://bk-monitor-security-audit/references/report-template.md
  • skill://bk-monitor-security-audit/references/security-checklist.md

根据 SKILL.md 中的 IF-THEN 规则判断是否需要加载