feat(tools): export_sarif — SARIF v2.1.0 vulnerability report exporter + CLI subcommand - #183
Open
manus-use wants to merge 1 commit into
Open
feat(tools): export_sarif — SARIF v2.1.0 vulnerability report exporter + CLI subcommand#183manus-use wants to merge 1 commit into
manus-use wants to merge 1 commit into
Conversation
…r + CLI subcommand (+86 tests)
This was referenced Aug 9, 2026
Open
Open
Open
This was referenced Aug 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add
export_sarif— a tool and CLI subcommand that exports vulnerability findings as SARIF v2.1.0 (Static Analysis Results Interchange Format) JSON, the industry standard for security tool output.What it does
Converts manus-agent vulnerability findings into spec-compliant SARIF that integrates directly with:
gh api)CLI usage
Python API
SARIF features
Test coverage
86 new tests covering:
All tests are 100% mocked — no real HTTP calls, no filesystem side effects beyond tmp_path.
Test results: 1244 passed (baseline 1158 + 86 new), 0 failures.
Why this matters
The project produces excellent vulnerability intelligence but has no machine-readable export format compatible with the broader security tooling ecosystem. SARIF bridges that gap — users can now upload manus-agent results to GitHub Code Scanning, integrate with IDE security extensions, and feed findings into dashboards alongside results from other tools (Snyk, Trivy, CodeQL, etc.).
Open PRs checked (no overlap)
Reviewed all 50 open PRs (#133–#182). None implement SARIF export or any standardised output format. Closest PRs are:
No merged PR covers SARIF either (checked #39–#102).
Files changed
src/manus_agent/tools/export_sarif.py(new — tool + CLI helper)src/manus_agent/cli.py(addexport-sarifto_SUBCOMMANDS+ dispatch)tests/test_export_sarif.py(new — 86 tests)