Skip to content

feat(sarif): export the injection kind of command-injection results - #236

Merged
SizzleUnrlsd merged 1 commit into
mainfrom
feat/sarif-injection
Oct 8, 2026
Merged

SizzleUnrlsd merged 1 commit into
mainfrom
feat/sarif-injection

Conversation

@SizzleUnrlsd

Copy link
Copy Markdown
Contributor

Summary

A SARIF result now carries properties.injection when its finding's injection metadata (#220) is established: option or command, through an allowlist. It is absent when the rule could not tell. No other metadata is exported: evidence and other fields may quote what the analysed code holds.

Verification

New tests in tests/test_sarif_injection.py (option and command results carry the property; undetermined and os.system results carry none). Full suite green apart from the local test_packaging environment issue; ruff, mypy clean.

@SizzleUnrlsd SizzleUnrlsd added the enhancement New feature or request label Oct 8, 2026
@SizzleUnrlsd SizzleUnrlsd self-assigned this Oct 8, 2026
@SizzleUnrlsd
SizzleUnrlsd merged commit a9de206 into main Oct 8, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant