security-scanning
Plans and triages Scientific Agent Skills security scans using scan_pr_skills.py, scan_skills.py, SKILL_SCANNER_LLM_API_KEY, no-key PR behavior, weekly incremental reports, docs/security-report outputs, and docs/security-triage false-positive verification rules.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- security-scanning
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Plans and triages Scientific Agent Skills security scans using scan_pr_skills.py, scan_skills.py, SKILL_SCANNER_LLM_API_KEY, no-key PR behavior, weekly incremental reports, docs/security-report outputs, and docs/security-triage false-positive verification rules.
- disable-model-invocation
- true
02 资源文件 2
- 参考文档references/security-scanning.md2.1 KB
- 参考文档references/troubleshooting.md2.2 KB
03 SKILL.md 正文
Security Scanning
Use this route when the task involves the repository's automated skill scanner, generated security reports, or a scanner finding against a skill.
Safety posture
Scanner output is a prompt for review, not a determination that a skill is unsafe. Always verify findings against the actual files before changing a skill.
Do not run LLM-backed scans, upload generated reports, or post PR comments unless the user authorizes network/API-key use. Never print API key values.
Changed-skill scan
Read references/security-scanning.md and use the bundled planner:
python sub-skills/security-scanning/scripts/plan_security_scan.py \
--repo-root . \
--mode changed \
--skill <name> \
--fail-on HIGH \
--output pr_scan_comment.md
The PR workflow fails on HIGH or above when a key is present. If SKILL_SCANNER_LLM_API_KEY is unavailable, scan_pr_skills.py writes an explanatory skipped comment and exits 0; this is expected for fork PRs and no-key contexts.
Weekly/full scan
Use scan_skills.py only after explicit approval because it can run many LLM-backed analyses and update generated report files:
SKILL_SCANNER_LLM_API_KEY=... uv run python scan_skills.py --full --workers 8
docs/security-report.md and docs/security-report.json are generated outputs. Human verdicts and repeat false-positive notes belong in docs/security-triage.md.
Triage workflow
- Locate the cited skill and files; confirm they exist.
- Inspect the code or Markdown around each cited line.
- Compare environment variables to the documented service destination.
- Check
references/troubleshooting.mdfor known false-positive classes. - Fix only verified unsafe behavior or instructions.
- Record false-positive classes or real fixes in the triage note when the report would otherwise cause repeat work.
Route structural/test failures to validation-testing; route content/version/layout fixes to skill-authoring.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.