Reproduce “To what extent can we analyze Kotlin programs using existing Java taint analysis tools? (Extended Version)” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Ranjith Krishnamurthy, Goran Piskachev, Eric Bodden

This research systematically investigated the compatibility of existing Java taint analysis tools with Kotlin programs, uncovering 18 specific engineering challenges arising from bytecode generation differences. Researchers proposed and implemented solutions for 8 of these challenges, successfully demonstrating their approach by extending an existing Java tool to detect six known vulnerabilities in a vulnerable Kotlin application.

Key insights

  • While many basic Kotlin constructs are analyzable by Java tools, 18 specific engineering challenges stem from the Kotlin compiler's unique bytecode generation.
  • Adapting existing Java taint analysis tools requires modifications to both the domain-specific language (DSL) for vulnerability specification and the core static analysis component.
  • Repurposing mature Java static analysis tools for Kotlin is viable, offering a path to enhance Kotlin security without developing entirely new analysis frameworks.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.