vuln-check
Use when asked to check for security vulnerabilities, or when the /vuln-check command runs — scan the project for known vulnerable dependencies and security anti-patterns.
- License 许可
- MIT
- 所属仓库
- 23xxCh/Only-U
- 最近更新
- 2026-08-28
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- vuln-check
- description
- Use when asked to check for security vulnerabilities, or when the /vuln-check command runs — scan the project for known vulnerable dependencies and security anti-patterns.
03 SKILL.md 正文
Vulnerability Check
Check the current project for security vulnerabilities: dependency advisories and code-level security anti-patterns.
Procedure
- 依赖审计: inspect the lockfile/manifest (package-lock.json / pnpm-lock.yaml / requirements.txt…) for known-vulnerable versions. Use the local toolchain (npm audit / pnpm audit when available and network permits) or compare against known advisory data.
- 代码检查: scan for security anti-patterns with file/line evidence:
- shell command injection (string interpolation into exec/spawn with shell:true)
- path traversal (user input joined into paths without normalization)
- secrets committed (API keys, tokens, private keys in the tree)
- unsafe eval / dynamic import of user input
- missing input validation at trust boundaries
- Report findings ordered by severity, each with: location, CVE/advisory id when applicable, impact, and remediation (upgrade to which version, or the code change needed).
- State explicitly when the project is clean in a category.
Constraints
- Distinguish "verified vulnerable" from "needs verification" — never overstate.
- Do not modify code during the check.
04 同仓库更多 Skills
only-u-ops
Only-U USB 运维会话。Windows 上做只读诊断和带误删防护的清理预览;无网用 portable 脚本。TUI 会话一开始先诊断再清理预览;未获明确指令前不删除。
user-only-skill
Prove model-disabled skills stay outside the model catalog.
snapshot-skill
Exercise project skill discovery and loading in snapshot tests.
model-only-skill
Prove user-disabled skills remain available to the model.
editing-cordis-compositions
Use when creating, changing, or validating a Cordis composition for this harness — writing or editing an agent preset, adding or removing a plugin row, deciding whether something belongs to the host composition or to one session, checking whether a preset you authored actually mounts, or diagnosing a row that mounted but contributed nothing.
cordis-plugin-development
Create, modify, debug, or extend dynamic Cordis Plugins, including Host Services and Events, Client Slot and theme UI, Package-private Client-to-Host calls, dynamic Tools, version updates, approval failures, and runtime diagnostics. Use this Skill to route a user request to the correct platform and Inspect Provider, then define, run, repair, or roll back the Plugin.