VS Code: CVE scan
Used in C6, requirement 2.
Validated on: 2026-10-31 (documentation consistency with C6 and the playbook’s agent/model guidance; no new runtime or vulnerability scan).
Task 07 of the plan already audits CVEs once, at the end. Use this prompt to re-check without re-running the whole plan — for example after gap fixes and packaging, or any time you’ve changed packages since task 07 completed.
The prompt
Section titled “The prompt”Before you send
Section titled “Before you send”For C6 requirement 2, open C:\src\<your-repo> on vm-dev01, on main. Use plain Agent, harness Local, and a balanced execution model from the playbook’s Models table, not Upgrade: this is a standalone re-check, not a new upgrade task.
Run a fresh audit of this project's direct and transitive NuGet dependencies for known vulnerabilities. For each one found: identify the minimum compatible patched version, note any breaking-change risk, and list it. Don't fix anything yet — report first. If nothing is found, say so plainly; don't invent findings.Or run it yourself, no agent needed
Section titled “Or run it yourself, no agent needed”dotnet list app/ContosoUniversity package --vulnerable --include-transitiveClean output (no has the following vulnerable packages section) is a pass. If it finds something, ask the
agent to fix it:
Upgrade <package> to the minimum compatible version that resolves the reported vulnerability. Build and run the app afterward; don't change anything else.dotnet list app/ContosoUniversity package --vulnerable --include-transitivereports nothing, or you have a documented reason for an unresolved one (for example no patched version exists yet).- The app still builds and the home, Students, Courses, Instructors and Departments pages still load after any package change.
- Record the result (clean, or what was found and fixed) in your evidence for the challenge you’re in.