audit-augmentation

Overlay SARIF and weAudit findings onto Trailmark code graph nodes.

Updated May 2, 2026
One-click install
npx skills add https://github.com/ayehiaa/my-travel-assistant --skill audit-augmentation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audit-augmentation
Source: https://github.com/ayehiaa/my-travel-assistant/tree/main/.agents/skills/audit-augmentation
Command: npx skills add https://github.com/ayehiaa/my-travel-assistant --skill audit-augmentation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Audit Augmentation maps external audit and static-analysis findings onto the nodes of a Trailmark code graph, so security issues can be understood in the context of code structure and pre-analysis reachability data.

Core Features & Use Cases

  • Project SARIF findings onto graph nodes: matches findings by file path and overlapping line ranges, then builds severity- and tool-specific subgraphs (e.g., sarif:error, sarif:semgrep).
  • Import weAudit findings and notes: converts weAudit entries into Trailmark annotations, including separate subgraphs for findings vs notes and for severity tiers.
  • Cross-reference with pre-analysis context: enables prioritization by correlating findings with blast radius, taint, privilege boundaries, and other pre-analysis subgraphs.

Quick Start

Use the audit-augmentation skill to augment a Trailmark target directory with your SARIF file and then query sarif:error and weaudit:high subgraphs together to prioritize the most actionable issues.

Frequently Asked Questions about audit-augmentation

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

FAQPage Schema
How do I overlay SARIF static analysis findings onto a code graph for security triage?

You can overlay SARIF static analysis findings by matching them to code graph nodes via normalized file paths and overlapping line ranges. This builds severity- and tool-specific subgraphs, like sarif:error or sarif:semgrep, to contextualize security issues.

Can I import weAudit findings and notes into a Trailmark code graph?

Yes, weAudit findings and notes can be imported and converted into Trailmark annotations. The process creates separate subgraphs for findings versus notes, and organizes them by severity tiers like weaudit:high for prioritized triage.

How do you cross-reference taint analysis and blast radius data with static analysis results?

Cross-referencing is done by correlating overlaid SARIF and weAudit findings with pre-analysis reachability subgraphs. This maps blast radius, taint, and privilege boundary data to the findings, enabling prioritization of the most actionable issues.

Do I need to run pre-analysis before mapping SARIF results onto code structure?

Yes, running engine.preanalysis() is required before augmentation. This pre-analysis generates the reachability signals and base code graph structure needed to successfully match and overlay external audit findings.

What is the best way to prioritize security findings using code graph subgraphs?

The best way to prioritize security findings is querying severity-based subgraphs together, such as sarif:error and weaudit:high. This cross-references tool outputs with code structure and pre-analysis context to highlight the most critical issues.

How does matching by file path and line ranges work when projecting SARIF results?

Matching works by normalizing file paths from the SARIF file and comparing them against code graph nodes, then checking for overlapping line ranges. This ensures static-analysis findings are accurately mapped to the correct locations in the code structure.