con un clic
ds-osv
Scan project dependencies for known vulnerabilities using OSV Scanner.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Scan project dependencies for known vulnerabilities using OSV Scanner.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Design a target architecture for a new system — module boundaries, dependency rules, seams, and build order — from its requirements. Reports a blueprint; changes nothing.
Analyze an existing codebase's architecture and produce a sequenced refactoring plan — assess module boundaries, dependency structure, and layering, then lay out ordered, risk-tagged steps. Language-agnostic. Reports a plan; changes nothing.
Turn a goal or another command's output into an ordered task roadmap.
Find the root cause of a failure with the scientific method — reproduce, isolate, fix, then prove it.
Interview the user relentlessly about a plan or design until reaching shared understanding.
Run an extremely strict maintainability + single-source-of-truth review of code changes — abstraction quality, file sprawl, spaghetti-condition growth, and duplicate/competing implementations. Reports findings by default; `--fix` applies the mechanical, unambiguous ones — structural/code-judo restructurings rest on judgment and stay reported.
| name | ds-osv |
| description | Scan project dependencies for known vulnerabilities using OSV Scanner. |
| disable-model-invocation | true |
Queries the Google Open Source Vulnerability (OSV) database against every dependency manifest found in scope. Covers Go, npm, PyPI, Cargo, Maven, RubyGems, NuGet, PHP Composer, and more. Complements /ds-security-review (code logic) — this audits what your dependencies brought in, not what you wrote.
If osv-scanner is not installed, show installation instructions and stop.
<path>: scan a specific directory or lockfile.--fix: after reporting, bump vulnerable direct dependencies to the minimum fixed version by driving the ecosystem's own package manager (see Process step 6). Transitive-only findings are reported but not auto-fixed — they require the intermediate package to release a patch.--verbose: expand LOW / informational findings, which are otherwise summarized as a count only.Check for osv-scanner binary. If missing:
Install osv-scanner:
macOS: brew install osv-scanner
Go: go install github.com/google/osv-scanner/cmd/osv-scanner@latest
Other: https://github.com/google/osv-scanner/releases
Stop here. Do not proceed without the binary.
Run the scan:
osv-scanner --recursive --format json <path-or-.>
Parse JSON output. Group findings:
--verboseClassify each finding as direct or transitive. A finding is direct if its package appears in the manifest's own declared dependency list — e.g. go.mod require, package.json dependencies/devDependencies, Cargo.toml [dependencies]/[dev-dependencies], top-level entries in requirements.txt. Otherwise it is transitive. Determine this by reading the manifest yourself; do not rely on a scanner field, which is not consistently populated across ecosystems.
For each finding report:
With --fix: for direct dependencies (per step 4) where a fixed version exists, bump to the minimum fixed version by driving the ecosystem's native package-manager command — never by hand-editing manifest text — so the manifest and lockfile stay consistent. Use the upgrade primitive native to the manifest's ecosystem, for example:
go get <pkg>@<version>npm install <pkg>@<version>cargo update -p <pkg> --precise <version>Where no package-manager primitive cleanly applies (e.g. a raw requirements.txt with no pip-tools), fall back to editing the manifest and instruct the user to regenerate the lockfile. Note each change. Transitive-only findings are reported, not auto-fixed.
OSV scan: <N> vulnerabilities found (<C> critical, <H> high, <M> medium, <L> low)
CRITICAL / HIGH
<package>@<version> <OSV-ID> / <CVE>
Severity: <score> Fixed: <version> Dependency: direct|transitive
<one-line class: e.g. "arbitrary code execution via malformed input">
MEDIUM
<package>@<version> <OSV-ID>
...
LOW/INFO: <N> findings — run with --verbose to expand.
Next steps:
Re-run your build and tests to confirm each bump is compatible.
Re-run /ds-osv to confirm findings resolved.
If zero findings: report clean with ecosystem coverage summary (which manifests were scanned).