Practical Type-Based Taint Checking and Inference (Extended Version)
Nima Karimipour, Kanak Das, Manu Sridharan, Behnaz Hassanshahi · 2025
Read Practical Type-Based Taint Checking and Inference (Extended Version) by Nima Karimipour, Kanak Das, Manu Sridharan, Behnaz Hassanshahi (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2504-18529.txt.
Description
Software flaws often come down to data flows: values from untrusted sources, called tainted data, reaching places they should not. Whole-program scanners catch such flows but scale poorly. Type-based checking promises modular, fast analysis, yet in practice it suffers from false alarms and from the heavy cost of annotating old code by hand.
Nima Karimipour and co-authors present a new type-based approach in 2025 that tackles both problems. Their checker handles third-party libraries and tricky language features in a more practical way, cutting false positives. A companion method infers the needed type annotations on its own, including annotations on generic type arguments. Their tool, TaintTyper, beat a leading whole-program analyzer on recall with similar precision, ran up to about twenty-three times faster, and inferred annotations close to hand-written ones.
Catalog record
| CREATOR | Nima Karimipour, Kanak Das, Manu Sridharan, Behnaz Hassanshahi |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 77 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2504-18529