Skip to content
TrustedSkillsbeta
Back to all skills

Sarif Parsing

Listed
trailofbits·vlatest·utilities·CC-BY-SA-4.0

Sarif Parsing analyzes codebases using SARIF format for detailed diagnostics and vulnerability identification – crucial for secure development workflows.

Install on your platform

Showing Claude Code. One command installs this skill into any of the agents below.

  1. 1

    Run this in your project

    terminal
    $ npx skills add trailofbits/skills --skill sarif-parsing -a claude-code
  2. Uses the open-source skills CLI and needs Node.js. Add -g to install it for your user instead of this project.

What we know about this skill

Publisher

trailofbits

Taken from the source listing. We haven't verified who controls this account.

Install target

Live repository

Not pinned. Installing fetches whatever the repository holds at the time you run the command.

No human has reviewed this code. The checks below are a static scan of the files at one commit — nobody has run this skill or judged whether it works. A skill runs with whatever access you give your agent, so read the source before you install it.

Automated safety checks

scanned

This skill failed 1 of 6 checks. A failure is not proof of bad intent; it means something in the code needs a human to look at it before you run it.

  • No undeclared network calls: failed

    Contacts 1 host that is neither well-known infrastructure nor declared in the skill's frontmatter: json.schemastore.org.

    Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.

    Hosts contacted

    json.schemastore.orgundeclared

    What it found

    • plugins/static-analysis/skills/sarif-parsing/resources/sarif_helpers.py:301contacts json.schemastore.org
      "$schema": "https://json.schemastore.org/sarif-2.1.0.json",
  • Declares what it does: passed

    SKILL.md parses and declares a name and a description.

    SKILL.md exists, its frontmatter parses, and it declares a name and a description.

  • No obfuscated payloads: passed

    No encoded or obfuscated payloads.

    No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.

  • No credential access: passed

    Reads no keys, tokens, keychains or credential files.

    Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.

  • No pipe-to-shell installers: passed

    No pipe-to-shell or download-and-run installers.

    No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.

  • Pinned to a commit: passed

    Scanned trailofbits/skills at 82fe822625.

    The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.

Scanned
5 files, 1,394 lines
This is a static scan, not a review. It reads the skill's files; it does not run them, and it cannot tell you whether the skill is any good or whether the code does what its description says. A skill runs with whatever access you give your agent.
What each check looks for →

About this skill

What it does

This skill enables AI agents to parse and understand SARIF (Static Analysis Results Interchange Format) files. SARIF is a standardized format for communicating results of static analysis, often used in security scanning and code quality tools. The agent can extract key information like vulnerabilities, warnings, and associated code locations from these files. This allows for automated reporting and integration with other workflows.

When to use it

  • Security vulnerability triage: Automatically analyze SARIF reports generated by security scanners (e.g., Semgrep, SonarQube) to identify and prioritize critical issues.
  • Code quality assessment: Parse SARIF files from code linters or static analysis tools to track trends in code quality over time.
  • Compliance reporting: Generate compliance reports based on findings documented in SARIF format.
  • Automated remediation suggestions: Extract information about affected code lines and suggest potential fixes based on the analysis results.

Key capabilities

  • SARIF file parsing
  • Extraction of vulnerability details (severity, description)
  • Identification of affected files and line numbers
  • Data extraction from SARIF runs

Example prompts

  • "Parse this SARIF file and summarize the critical vulnerabilities."
  • "Extract all warnings related to SQL injection from this SARIF report."
  • "What are the top 5 most frequently reported issues in this SARIF file?"

Tips & gotchas

  • Ensure the AI agent has access to valid SARIF files. Incorrectly formatted or corrupted files will lead to parsing errors.
  • The level of detail extracted depends on the structure and content within the SARIF file itself.