Skip to content

Add SiteShadow SARIF reader#284

Draft
hisopo wants to merge 1 commit intoOWASP-Benchmark:mainfrom
hisopo:add-siteshadow-reader
Draft

Add SiteShadow SARIF reader#284
hisopo wants to merge 1 commit intoOWASP-Benchmark:mainfrom
hisopo:add-siteshadow-reader

Conversation

@hisopo
Copy link
Copy Markdown

@hisopo hisopo commented Mar 30, 2026

Summary

  • Adds SiteShadowReader.java — a minimal SARIF reader for SiteShadow SAST results
  • Extends SarifReader base class, uses CweSourceType.TAG for CWE extraction from rule tags
  • Registered in Reader.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

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>
@darkspirit510
Copy link
Copy Markdown
Contributor

Please add a test class that at least ensures that your reader is the only one recognizing a SiteShadow result file.

public class SiteShadowReader extends SarifReader {

public SiteShadowReader() {
super("SiteShadow", false, CweSourceType.TAG);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just checked - SiteShadow is a commercial tool.

@davewichers davewichers marked this pull request as draft March 30, 2026 13:25
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.

2 participants