Skills Explorer Add Skills

sarif-parsing

An agent skill by trailofbits, from trailofbits/skills. Tags: analysis, automation, developer-tools, sarif.

What it does

Parses and processes SARIF files from static analysis tools like CodeQL, Semgrep, or other scanners. Triggers on "parse sarif", "read scan results", "aggregate findings", "deduplicate alerts", or "process sarif output". Handles filtering, deduplication, format conversion, and CI/CD integration of SARIF data. Does NOT run scans — use the Semgrep or CodeQL skills for that.

Install

With the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:

npx skills add trailofbits/skills --skill sarif-parsing

Or copy the skill folder into Claude Code's skills directory by hand (~/.claude/skills for every project, or .claude/skills inside one):

git clone --depth 1 https://github.com/trailofbits/skills
cp -r skills/plugins/static-analysis/skills/sarif-parsing ~/.claude/skills/sarif-parsing

Safety box score

Grade B, low risk: 21 of 100 risk points, rated 2026-10-20. The grade rates what the skill and its scripts can reach on the machine of whoever installs it, across eight categories from shell execution to secrets access. How the score works.

This skill only parses and transforms SARIF files; it does not run static analysis or touch credentials. The main risks are local command execution through `jq`, global tool installation during setup, and writing transformed SARIF back to disk or other chosen paths.

Category levels, from 0 (none) to 3 (high)
CategoryLevelWhy
Code & shell execution1 (low)The helper tests execute the local `jq` binary with `subprocess.run([...])`; this is bounded command execution, not arbitrary shelling out.
Network access1 (low)The docs point users to external services and package registries, including `sarifweb.azurewebsites.net`, `brew install jq`, `apt install jq`, and `npm install -g ajv-cli`, so setup depends on network access.
Filesystem reach1 (low)`resources/sarif_helpers.py` writes files with `with open(path, "w") as f:` and the docs show emitting `modified.sarif`, so the skill can overwrite caller-chosen paths.
Secrets & credentials0 (none)The skill only reads SARIF files and helper metadata; there is no code or instruction to access tokens, keychains, `.env` files, or browser sessions.
Privilege & persistence2 (moderate)Setup instructions include system-wide installs like `brew install jq`, `apt install jq`, and `npm install -g ajv-cli`, which modify global package state and may require elevated permissions.
Instruction hijack surface0 (none)There are no prompt-injection patterns such as hidden instructions, fetched remote prompts, or directives to ignore user/agent rules.
Irreversible actions0 (none)The skill parses, filters, and converts SARIF; it does not send messages, deploy, publish, pay, or otherwise act autonomously on external systems.
Transparency0 (none)All shipped content is readable source or markdown; there are no binaries, minified blobs, or decoded-at-runtime payloads.

Before installing

Rated 2026-10-20 by an automated review of 6 files from the skill's repository.

Source

Repository
trailofbits/skills (all skills from this repository)
Path
plugins/static-analysis/skills/sarif-parsing/SKILL.md
Branch
main
Collection
static-analysis
Updated
2026-09-19