Testing Static Taint Analyzers with Equivalence Modulo Taint
Maria Christakis, Anastasia Isychev, Samuel Pilz, Florian Tesarek, Valentin Wüstholz
Key points
From the paper's conclusion- We evaluate TaintCC on four widely used analyzers---FlowDroid, Mariana Trench, Pysa, and Semgrep---and uncover 16 unique developer-confirmed issues, showing that even mature analyzers, whether academic or industrial, remain susceptible to reliability issues.
Abstract
Static taint analyzers are widely used to detect security vulnerabilities, yet their complexity makes them prone to soundness and precision issues. Validating these analyzers is challenging because ground-truth taint flows are rarely available and differential testing requires multiple comparable tools. To address this challenge, we introduce Equivalence Modulo Taint (EMT), a testing oracle for static taint analysis that defines program equivalence in terms of preserved source-sink flows rather than program semantics. EMT enables testing a single analyzer without ground-truth labels by checking consistency of reported flows across equivalent-modulo-taint program variants. Based on EMT, we present TaintCC, a framework that generates equivalent-modulo-taint variants through semantically equivalent, taint-oblivious, and taint-aware transformations targeting recurring difficulty dimensions in taint analysis. We evaluate TaintCC on four widely used analyzers---FlowDroid, Mariana Trench, Pysa, and Semgrep---and uncover 16 unique developer-confirmed issues, showing that even mature analyzers, whether academic or industrial, remain susceptible to reliability issues.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- “Wait, My Tool Can’t Do That?” A Fine-Grained Capability Study of Modern Static Taint AnalyzersACM Transactions on Software Engineering and Methodology · 2026
- Preserve the Vulnerability, Break the Alert: Testing the Robustness of CodeQL Taint Tracking with Natural RewritesarXiv · 2026
- Combining LLM and Dynamic Analysis for Universal Testing of Static Application Security Testing ToolsarXiv · 2026
- Datura: Progressive Red Teaming Testing for Tool Invocation Chain in LLM AgentsProceedings of the ACM on Software Engineering · 2026
- When Tools Silently Lie: Evaluating and Mitigating Blind Compliance in Tool-Augmented Data AgentsarXiv · 2026
- PAGENT: Program Analysis Guided LLM Agent for Proof-of-Concept GenerationProceedings of the ACM on Software Engineering · 2026