Skip to content

Add dependency vulnerability checks - #361

Merged
highbyte merged 2 commits into
masterfrom
feature/dependency-vulnerability-gates
Oct 1, 2026
Merged

highbyte merged 2 commits into
masterfrom
feature/dependency-vulnerability-gates

Conversation

@highbyte

@highbyte highbyte commented Oct 1, 2026

Copy link
Copy Markdown
Owner

High- and critical-severity package advisories do not currently block pull requests. Add two independent, SHA-pinned checks: GitHub Dependency Review rejects newly introduced vulnerable dependencies, and a full-solution NuGet restore audits direct and transitive packages with high/critical advisories treated as errors. Audit-source failures also fail the NuGet job, while the existing build/test job remains independent.

The NuGet audit uses nuget.org's vulnerability-data source and runs with the SDK pinned by global.json.

Validation: full-solution dotnet restore -p:AuditPipeline=true --force passed locally using the available .NET 10.0.201 SDK; the CI job installs the repo-pinned 10.0.401 SDK. The XML and workflow YAML parse, and the audit MSBuild properties evaluate as intended.

After these checks pass on this PR, add their observed GitHub Actions check names to the existing strict master ruleset.

@sonarqubecloud

sonarqubecloud Bot commented Oct 1, 2026

Copy link
Copy Markdown

@highbyte
highbyte merged commit 3c9650f into master Oct 1, 2026
12 checks passed
@highbyte
highbyte deleted the feature/dependency-vulnerability-gates branch October 1, 2026 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant