sarif-parsing

Convert SARIF static analysis outputs into deduplicated findings for CI/CD gating.

965|142|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/vigolium/vigolium --skill sarif-parsing-vigolium
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sarif-parsing
Source: https://github.com/vigolium/vigolium/tree/main/platform/vigolium-audit/src/content/skills/sarif-parsing
Command: npx skills add https://github.com/vigolium/vigolium --skill sarif-parsing-vigolium

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

This Skill helps you interpret, normalize, and consolidate vulnerability findings produced by static analysis tools when those findings are delivered as SARIF.

Core Features & Use Cases

  • Aggregate & deduplicate findings across multiple runs or tools by leveraging SARIF fingerprints (including partialFingerprints) to reduce noise.
  • Extract actionable fields such as rule IDs, severities, messages, and file/line locations to support reporting and triage workflows.
  • Convert and integrate SARIF into CI/CD by preparing structured outputs (and using CI patterns like fail-on-new-issues) without running any new scans.

Use Case: You run CodeQL and Semgrep in CI, generating multiple SARIF files; you then parse them to produce a deduplicated, severity-filtered list of findings and fail the pipeline when new high-severity issues appear.

Quick Start

Use the sarif-parsing skill to parse results.sarif and return a deduplicated summary grouped by severity and rule ID.

Frequently Asked Questions about sarif-parsing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I parse SARIF files to deduplicate static analysis findings across multiple tools?

To parse SARIF static analysis outputs, this Skill extracts rule IDs, severities, and locations, then leverages SARIF fingerprints including partialFingerprints to aggregate and deduplicate findings across multiple runs or tools like CodeQL and Semgrep.

What is the best way to extract severity and file line locations from a SARIF report?

The best way to extract actionable fields from a SARIF report is by applying defensive SARIF field access and path normalization, which securely pulls rule IDs, severities, messages, and file/line locations to support reporting and triage workflows.

Can I use SARIF parsing to gate a CI/CD pipeline and fail builds on new high-severity vulnerabilities?

Yes, you can use SARIF parsing to integrate into CI/CD by preparing structured outputs and applying patterns like fail-on-new-issues, allowing the pipeline to fail when new high-severity issues appear without running any new vulnerability scans.

Does SARIF parsing support outputs from both CodeQL and Semgrep for vulnerability reporting?

Yes, SARIF parsing supports vulnerability reporting from both CodeQL and Semgrep, working by reading, filtering, and transforming their SARIF outputs into structured, deduplicated findings for secure reporting.

What are the limitations of using SARIF parsing for static analysis deduplication?

The main limitation is that this SARIF parsing approach does not run any new vulnerability scans; it strictly requires existing SARIF outputs and relies on stable fingerprint handling and defensive field access to deduplicate and transform findings.

How do I normalize file paths when aggregating findings from multiple SARIF runs?

To normalize file paths when aggregating findings from multiple SARIF runs, the parsing mechanism applies path normalization alongside defensive SARIF field access, ensuring stable fingerprint handling for accurate deduplication.