agentleFS
AsiaOstrichAsiaOstrich/EngramGraph/.agents/skills/security-scan-assistant/SKILL.md

scan

Skill4 starsChanged 29 days agoMITView on GitHub

Guide automated security scanning, dependency auditing, and secret detection. Use when: dependency audit, CVE scanning, secret detection, license compliance. Not for: manual threat modeling and secure design review — use /security; general code cleanliness — use /sweep. Keywords: scan, audit, CVE, dependency, secret, SBOM, vulnerability.

  • Installs packages

35 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use report, fix and 4 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    report

    Turn an exploration (threads, findings, charts) into a single Markdown report — note, blog post, executive summary, KPI dashboard, slide brief, or multi-section analytical report, with embedded charts.

    Also in 5 projects that use this

  • Google CloudSkill

    fix

    Plan a remediation strategy after a test failure.

    Also in 3 projects that use this

  • MicrosoftSkill

    init

    Also in 3 projects that use this

  • AnthropicSkill

    start

    Set up your bio-research environment and explore available tools. Use when first getting oriented with the plugin, checking which literature, drug-discovery, or visualization MCP servers are connected, or surveying available analysis skills before starting a new project.

    Also in 3 projects that use this

  • Microsoft AzureSkill

    build

    Build the TypeSpec Rust emitter from source. Run this after cloning the repo, after pulling changes, or when TypeScript source files have been modified.

    Also in 3 projects that use this

  • Google CloudSkill

    triage

    Gather context on a change or bug and plan the implementation.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 32 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    After /scan completes, the AI assistant should suggest:

    line 70

“Common” is measured: kept by at least 6 in 10 of the 32 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Security Scan Assistant | 安全掃描助手

Automate security scanning for dependencies, secrets, and license compliance.

自動化相依套件、機密資訊和授權合規的安全掃描。

Scan Types | 掃描類型

TypeTool ExamplesPurpose用途
Dependency auditnpm audit, pip-audit, SnykFind known CVEs in dependencies檢測相依套件已知 CVE
Secret detectiongitleaks, trufflehogFind leaked credentials in code偵測程式碼中洩漏的憑證
License compliancelicense-checker, SPDXVerify OSS license compatibility驗證開源授權相容性
SASTSemgrep, CodeQLStatic analysis for code patterns靜態分析程式碼模式

Tool Integration | 工具整合

ToolCommandScope範圍
npm auditnpm audit --jsonNode.js dependenciesNode.js 相依套件
Snyknpx snyk testMulti-language deps多語言相依套件
Trivytrivy fs .Filesystem & containers檔案系統與容器
gitleaksgitleaks detectGit history secretsGit 歷史機密
SPDXnpx spdx-toolLicense SBOM generation授權 SBOM 產出

Severity Classification & SLA | 嚴重程度分類與 SLA

SeveritySLACriteria標準
Critical24 hoursRCE, auth bypass, data exfil遠端執行、認證繞過、資料外洩
High72 hoursPrivilege escalation, SQLi權限提升、SQL 注入
Medium2 weeksXSS, CSRF, info disclosureXSS、CSRF、資訊洩漏
LowNext sprintMissing headers, verbose errors缺少 Header、冗長錯誤訊息

Workflow | 工作流程

SCAN ──► TRIAGE ──► PRIORITIZE ──► FIX ──► VERIFY
  1. Scan — Run automated scanners on codebase and dependencies
  2. Triage — Filter false positives, confirm real vulnerabilities
  3. Prioritize — Rank by severity and exploitability
  4. Fix — Apply patches, update dependencies, rotate secrets
  5. Verify — Re-scan to confirm remediation

Usage | 使用方式

/scan                - Full scan (deps + secrets + license) | 完整掃描
/scan --deps         - Dependency audit only | 僅相依套件審計
/scan --secrets      - Secret detection only | 僅機密偵測
/scan --license      - License compliance check | 授權合規檢查

Next Steps Guidance | 下一步引導

After /scan completes, the AI assistant should suggest:

掃描完成。建議下一步 / Scan complete. Suggested next steps:

  • 執行 /security 深入安全審查 ⭐ Recommended / 推薦 — Run deep security review
  • 執行 /checkin 確認修復符合提交規範 — Verify fixes meet check-in standards
  • 執行 /commit 提交安全修復 — Commit security fixes
  • 更新相依套件 → npm update 或 pip install --upgrade — Update dependencies

Reference | 參考

  • Core standard: security-standards.md

Version History | 版本歷史

VersionDateChanges變更說明
1.0.02026-03-23Initial release初始版本

AI Agent Behavior | AI 代理行為

完整的 AI 行為定義請參閱對應的命令文件:/scan

For complete AI agent behavior definition, see the corresponding command file: /scan

License | 授權

CC BY 4.0 — Documentation content

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.