microsoft/github-copilot-modernization/cve-known-vulnerabilities
Claude Code and agent skill by microsoft/github-copilot-modernization
- vendor
Checking that the SKILL.md file is still in the repository.
Detect known CVEs in Maven, NuGet, or npm dependencies using the GitHub Security Advisories API
Install
npx vskill@latest install microsoft/github-copilot-modernization/cve-known-vulnerabilitiesSKILL.md
The same SKILL.md was published earlier as microsoft/github-copilot-modernization/cve-known-vulnerabilities.
Local CVE Dependency Assessment
Audit dependencies without modifying application files. Do not call an assessment or CVE MCP tool.
Inputs
workspace-path: Absolute project root.output-path: Required JSON result path supplied by the assessment catalog.scan-scope:direct(default) orall.
1. Detect Ecosystem
- Maven/Gradle project → advisory ecosystem
maven. .sln,.slnx, or project files →nuget.package.json→npm.- If none apply, write
[]tooutput-pathand stop.
2. Collect Dependencies
Prefer project wrappers and structured command output. Never edit manifests or lock files.
Maven/Gradle
- Maven: run
./mvnw dependency:list -DoutputAbsoluteArtifactId=true; add-DexcludeTransitive=truefor direct scope. Fall back tomvn, then staticpom.xmlparsing. - Gradle: run
./gradlew dependencies --configuration runtimeClasspath; fall back togradle, then staticbuild.gradle/build.gradle.ktsparsing. - Coordinate format:
groupId:artifactId:version.
NuGet
- Run
dotnet list package --format json; add--include-transitivefor all scope. - If no solution exists at the root, target each discovered project explicitly.
- Fall back to
PackageReference,Directory.Packages.props, andpackages.configparsing. - Coordinate format:
PackageName@version.
npm
- Run
npm list --json; add--depth=0for direct scope. - Fall back to
package-lock.json,yarn.lock,pnpm-lock.yaml, thenpackage.json. - Coordinate format:
package-name@version.
For each dependency retain its manifest path and 1-based declaration line when directly declared; use line 0 for transitive dependencies.
3. Query GitHub Advisories
Batch coordinates in groups of at most 30. Use gh api when available:
Follow pagination. If gh is unavailable, use the GitHub REST API with GITHUB_TOKEN when present. Never use general web search for vulnerability conclusions.
If one batch fails, record the error and continue remaining batches. A failed query must not silently become a clean scan: return a wrapper with status: partial and the failed batch details instead of [].
4. Normalize Results
- Ignore withdrawn advisories.
- Use
cve_id, falling back toghsa_id. - Deduplicate the same advisory across dependency batches.
- Map severity: critical/high →
mandatory; medium →optional; low/unknown →potential. - Group all affected dependencies for one advisory into one finding.
- Include advisory URL, vulnerable range, first patched version, and manifest evidence.
Output
On a complete scan, write a flat JSON array to output-path; use [] only when every query succeeded and no vulnerability was found:
When any advisory batch fails, write:
Write the output exactly once using a temporary file followed by atomic rename. Return only the output path and concise counts to the parent assessment.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 10 Oct 2026.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/github-copilot-modernization/skills/cve-known-vulnerabilities/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/microsoft/github-copilot-modernization/cve-known-vulnerabilities)