pysa-false-negative-debugger

Compare two Pysa result directories to locate lost taint flow.

7.2k|451|Updated Nov 10, 2017
One-click install
npx skills add https://github.com/facebook/pyre-check --skill pysa-false-negative-debugger
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pysa-false-negative-debugger
Source: https://github.com/facebook/pyre-check/tree/main/.llms/skills/pysa-false-negative-debugger
Command: npx skills add https://github.com/facebook/pyre-check --skill pysa-false-negative-debugger

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

When debugging Pyre/Pysa false negatives, it can be hard to locate where taint flow is dropped. This Skill helps you compare two Pysa analysis outputs to identify exactly where taint flow is lost, enabling precise remediation.

Core Features & Use Cases

  • Compare two Pysa output directories to locate divergence in taint propagation.
  • Extract and correlate issue handles from static analysis URLs to guide investigation.
  • Provide a structured workflow that surfaces the precise call chain where taint propagation breaks.

Quick Start

Provide two Pysa output directories and an issue URL to begin locating where taint flow is lost.

Frequently Asked Questions about pysa-false-negative-debugger

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

FAQPage Schema
How do I debug Pysa false negatives to find where taint flow is lost?

To debug Pysa false negatives, compare two Pysa analysis output directories to identify exactly where taint propagation diverges. You need to provide an issue URL and two result directories to pinpoint the precise call chain where taint flow breaks.

Why does a static analysis issue appear in one Pysa run but is missing in another?

A static analysis issue may be missing in another Pysa run due to divergent taint propagation between configurations. By extracting and correlating issue handles from the analysis URL, you can trace the call graph to locate the exact step where taint flow is dropped.

What do I need to compare two Pysa output directories for taint analysis?

To compare Pysa output directories for taint analysis, you need an issue URL and two result directories. You must also load the pysa-json-models skill to use the Pysa model explorer for inspecting traces during the investigation.

How do I trace taint flow using forward, backward, and root analysis in Pysa?

To trace taint flow in Pysa, load the pysa-json-models skill and use the Pysa model explorer to inspect traces. This provides guided steps for conducting forward, backward, and root analysis to locate where taint propagation breaks between two runs.

What is the best way to locate divergence in taint propagation across Pysa runs?

The best way to locate divergence in taint propagation is to compare two Pysa output directories directly. This structured workflow surfaces the precise call chain where taint flow is lost, enabling precise remediation of the false negative.

Can I use the Pysa model explorer to inspect static analysis traces without a second run?

The Pysa model explorer is used within this workflow to inspect traces across two Pysa result directories. It requires an issue URL and both directories to provide guided steps for forward, backward, and root analysis to find where taint flow is lost.