antinet-security-scan
信息安全分析师与软件开发工程师在搭建文档处理流水线时,当需要拦截违规文件或外部URL,请挂载此技能作为强制前置安检,自动输出 pass/reject 判定与详细合规扫描报告,一键守住零信任安全底线。
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-10
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- antinet-security-scan
- assign_when
- 该 Worker 是文档入口的安全守门人,负责域名黑名单、OA 许可校验与可疑来源拦截;任何文件进入系统前必须经其把关。
- description
- 信息安全分析师与软件开发工程师在搭建文档处理流水线时,当需要拦截违规文件或外部URL,请挂载此技能作为强制前置安检,自动输出 pass/reject 判定与详细合规扫描报告,一键守住零信任安全底线。
02 资源文件 2
- 许可证LICENSE3.0 KB
- 脚本scripts/run_security_scan.py2.5 KB
03 SKILL.md 正文
合规安检 Skill(锦衣卫)
使用方式
- 由锦衣卫 Worker 在收到文件/URL 时调用,作为流水线的第一道闸门。
- 输出结构化判定(
pass/reject),并写入 provenance 交由太史阁留痕。
输入(Input)
target:待检对象,二选一- 本地文件路径(PDF / PPT / Excel / Word / 图片)
- 外部 URL(需先解析域名)
policy_ref:(可选)覆盖默认策略的合规规则集引用
输出(Output)
verdict:pass或rejectreport:安全扫描报告,含命中的黑名单项、许可状态、风险等级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(黄卡 + 扫描报告)。
04 同仓库更多 Skills
writing-dna-skill
从至少 20 篇完整文章中蒸馏可复用的写作 DNA,分析语言、文章结构、选题逻辑、素材策略、认知框架和视觉风格,并生成 Writing-DNA.md;按该 DNA 写作时会读取全部蒸馏产物和 5 篇相关原文。用于中英文作者、账号、品牌或出版物的风格分析与一致性写作。 Distill reusable Writing DNA from at least 20 complete articles for Chinese or English authors, publications, brands, and accounts; use for language, structure, topic logic, source strategy, cognitive-frame, and visual-style analysis.
ub-quality-gates
Uncle Bob 编程纪律与确定性质量门工具链。写代码或改代码时使用:先让它能跑,再让它正确,最后守纪律。 当用户要求 /ub-mode、需要代码质量门禁、CRAP 评分、重复代码检测、变异测试、 或抱怨代码难懂/难测/有重复时触发。覆盖 Clojure/Java/Go/TypeScript/Rust/Python。
tweet-composer
Score and optimize tweets based on X's real open-source ranking algorithm. Analyzes draft tweets against the actual ranking code — not generic tips. Use when: composing tweets, optimizing drafts for reach, planning threads, analyzing why a tweet performed well/poorly, or asking for posting strategy advice.
short-video-scripter
Use when the user asks to "script this short video", "write a TikTok / Reels / Shorts script", "给这条抖音或视频号视频写脚本", or "fix the hook — viewers drop off in the first seconds"; produces timestamped beat-sheet scripts on the retention-gate model (0-2s hook / 2-5s confirmation / 5-15s payoff / loop-or-CTA) with per-scene script lines, on-screen text for muted viewing, asset keywords, and 9:16 format-param rows per platform norm card for TikTok, Reels, Shorts, 抖音, and 视频号 — plus 2-3 hook options from named hook families and an AI-content disclosure line by default on realistic synthetic media. Spec-only: rendering, TTS, and publishing stay with the user's own tools — no pipelines, no upload automation. Not for creator video briefs — use brief-generator; long-form video SEO belongs to content-writer. 短视频脚本/抖音分镜/开头钩子/竖屏9:16
remotion-video-master
Remotion 视频编程大师 — 用 React 组件以编程方式创建 MP4 视频。支持动画、字幕、音乐可视化、 AI 配音(TTS)与场景自动配时。触发词:用代码做视频、编程视频、React 视频、Remotion、 /remotion-video。适用场景:程序化视频(批量生成、数据驱动如年度总结、音乐可视化、自动字幕)、 教程讲解视频(技术概念可视化如 CNN 与算法、分层递进讲解、AI 配音教程)、 3D 视频(产品展示与模型动画、卡通角色讲解、3D 数据可视化、Logo 动画)。
short-videos
Produce 90-second universal short-video scripts (HeyGen / Instagram Reels / LinkedIn Video / YouTube Shorts) and standalone LinkedIn posts using native Hermes tools. No Claude Code dependency.