Skip to content

chore(ci): ignore vendored rmcp tests in CodeQL - #416

Closed
flupkede wants to merge 1 commit into
developfrom
chore/codeql-ignore-vendor-tests
Closed

flupkede wants to merge 1 commit into
developfrom
chore/codeql-ignore-vendor-tests

Conversation

@flupkede

Copy link
Copy Markdown
Owner

All six open rust/unsafe-deserialization alerts sit in vendor/rmcp/tests mock servers deserializing test fixtures with serde_json. Vendored test code never ships in the binary or the image, so alerts there are noise — same treatment as the existing rust/path-injection query filter. CI-only, no behavior change → no-changelog.

All six open rust/unsafe-deserialization alerts sit in vendor/rmcp/tests
mock servers deserializing test fixtures with serde_json; vendored test
code never ships in the binary or the image, so alerts there are noise.
Same treatment as the rust/path-injection query filter.
@flupkede flupkede added the no-changelog Skip the CHANGELOG.md-touched CI check (docs/CI-only PR) label Nov 25, 2026
@flupkede

Copy link
Copy Markdown
Owner Author

Closing: config-file paths-ignore is inert for a BUILT Rust analysis (this workflow runs cargo build, so extraction is build-traced and path filters don't apply — GitHub docs: path filters apply to interpreted languages or compiled languages analyzed without building). The six rust/unsafe-deserialization alerts in vendor/rmcp/tests will be dismissed as false positives in the security tab instead; a future build-mode: none switch could make path filters effective but changes analysis semantics for the whole repo, so that's a separate decision.

@flupkede flupkede closed this Nov 25, 2026
@flupkede
flupkede deleted the chore/codeql-ignore-vendor-tests branch November 25, 2026 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog Skip the CHANGELOG.md-touched CI check (docs/CI-only PR)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant