Draft
Conversation
SiteShadow is an open-source SAST tool that performs graph-based intraprocedural and interprocedural taint analysis using tree-sitter WASM parsing. It outputs results in SARIF 2.1.0 format with CWEs encoded in rule property tags. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
3 tasks
Contributor
|
Please add a test class that at least ensures that your reader is the only one recognizing a SiteShadow result file. |
darkspirit510
suggested changes
Mar 30, 2026
| public class SiteShadowReader extends SarifReader { | ||
|
|
||
| public SiteShadowReader() { | ||
| super("SiteShadow", false, CweSourceType.TAG); |
Contributor
There was a problem hiding this comment.
I just checked - SiteShadow is a commercial tool.
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
SiteShadowReader.java— a minimal SARIF reader for SiteShadow SAST resultsSarifReaderbase class, usesCweSourceType.TAGfor CWE extraction from rule tagsReader.allReaders()SiteShadow is a SAST tool that outputs SARIF 2.1.0 with CWE tags on each rule. This reader enables the Benchmark scorecard to parse those results.
Results
SiteShadow v1.0.0 achieves 100% score across all 11 CWE categories (100% TPR, 0% FPR) on Benchmark v1.2. Results PR to follow in BenchmarkJava.
🤖 Generated with Claude Code