跳到正文
FunCoding

搜索

搜索文档、Skill 和 MCP

security-scan

对进入系统的文件或 URL 执行安全与合规扫描,输出 pass/reject 判定与扫描报告,作为所有文档处理的强制前置关卡。

安全7.7kantinet-agentteams/skills/security-scan/SKILL.md

安装

把这段话发给 Claude Code、Codex 或 Cursor。智能体会先检查安全性,你确认后才安装。

读取 https://funcoding.ai/skills/anbeime/skill/security-scan/install.md ,按里面的步骤帮我安装这个 Skill。

SKILL.md

合规安检 Skill(锦衣卫)

使用方式

  • 由锦衣卫 Worker 在收到文件/URL 时调用,作为流水线的第一道闸门。
  • 输出结构化判定(pass / reject),并写入 provenance 交由太史阁留痕。

输入(Input)

  • target:待检对象,二选一
    • 本地文件路径(PDF / PPT / Excel / Word / 图片)
    • 外部 URL(需先解析域名)
  • policy_ref:(可选)覆盖默认策略的合规规则集引用

输出(Output)

  • verdict:pass 或 reject
  • report:安全扫描报告,含命中的黑名单项、许可状态、风险等级
  • trace_id:本次扫描的 provenance 追踪 ID(用于太史阁留痕)

依赖(Dependencies)

  • Sci-Hub 等已知违规域名黑名单(本地 CSV/JSON)
  • OA 文档许可校验库(本地规则)
  • 文件类型探测(python-magic)

失败处理(Failure Handling)

  • 扫描服务不可用:拒绝文件并告警,绝不降级放行(零信任底线)。
  • 文件类型无法识别:标记 reject 并写入原因,交由管理员确认。
  • 黑名单库读取失败:回退到「全拒 + 告警」保守策略,并提示运维修复。

复用价值(Reuse Value)

  • 与具体业务解耦:任何文档处理系统(RAG、知识库、合同审查)均可直接挂载此 Skill 作入口安检。
  • 判定标准可配置:通过替换 policy_ref 适配不同行业的合规基线。

复赛代码包执行(runnable package)

  • 真实入口:scripts/run_security_scan.py
  • 执行等价于 core.runtime.AgentSession.run_stage("security-scan"),调用 security.jinyiwei.JinYiWeiAgent(纯 Python,零外部依赖,可离线运行)。
  • 运行:python skills/security-scan/scripts/run_security_scan.py
  • 产物:examples/snse_survey/skill_outputs/security_scan.json(黄卡 + 扫描报告)。

相似的 Skill

security-and-hardening
addyosmani/agent-skills103k

security-and-hardening

Hardens code against vulnerabilities. Use when auditing an input handler for vulnerabilities, when handling user input, authentication, data storage, or external integrations, or when checking a login flow is safe against the OWASP Top Ten. Use when building any feature that accepts untrusted data, manages user sessions, or interacts with third-party services. Use when auditing dependencies for known vulnerabilities, triaging package-manager audit findings, or assessing supply-chain risk in a new package. Use when personal data or privacy compliance (GDPR, CCPA) is involved.

安全

archify
tt-a1i/archify80k

archify

Create polished, validated architecture, workflow, sequence, data-flow, and lifecycle/state diagrams as explorable standalone HTML with inline SVG, dark/light themes, optional trace motion, and PNG/JPEG/WebP/SVG/WebM export. Accept plain-language requirements or pasted Mermaid flowchart, sequenceDiagram, and stateDiagram input; inspect repository evidence when the diagram must reflect real code. Use when the user asks to visualize system architecture, infrastructure, cloud/security/network topology, technical workflows, API call sequences, request lifecycles, data pipelines, ETL/ELT, data lineage, state machines, or to convert/beautify Mermaid. Also use for everyday subjects with steps, parts, relationships, or states: a leave or travel plan, an application or approval process, a back-and-forth such as renting, where money or documents go, or where an application or order stands. Not for numeric charts or dashboards.

安全

security-research
code-yeongyu/oh-my-openagent70k

security-research

Team Mode security research skill. Orchestrates 3 vulnerability hunters and 2 PoC engineers to audit a codebase in parallel, prove exploitability, classify root causes, and calibrate severity by actual exploitability. Use for security review, vulnerability research, exploitability audit, pre-release security check, threat model validation, and `/security-research`. Triggers: 'security-research', 'security research', 'security review', 'vulnerability audit', 'exploitability audit', '보안 리뷰', '취약점 감사'.

安全

007
sickn33/agentic-awesome-skills47k

007

Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.

安全

open-code-review
alibaba/open-code-review45k

open-code-review

Performs AI-powered code review on Git changes using the `ocr` CLI from alibaba/open-code-review. Use when the user asks to review code, review a pull request, review staged/unstaged changes, review a commit, or compare branches for code quality issues. Produces line-level review comments and can automatically apply fixes when requested. With appropriate review rules, can detect various types of issues including bugs, security vulnerabilities, performance problems, and code quality concerns.

安全

open-code-review
alibaba/open-code-review45k

open-code-review

Performs AI-powered code review on Git changes using the `ocr` CLI from alibaba/open-code-review. Use when the user asks to review code, review a pull request, review staged/unstaged changes, review a commit, or compare branches for code quality issues. Produces line-level review comments and can automatically apply fixes when requested. With appropriate review rules, can detect various types of issues including bugs, security vulnerabilities, performance problems, and code quality concerns.

安全