Classport: Designing Runtime Dependency Introspection for Java
Published: Oct 23, 2025
Last Updated: Oct 23, 2025
Authors:Serena Cofano, Daniel Williams, Aman Sharma, Martin Monperrus
Abstract
Runtime introspection of dependencies, i.e., the ability to observe which dependencies are currently used during program execution, is fundamental for Software Supply Chain security. Yet, Java has no support for it. We solve this problem with Classport, a system that embeds dependency information into Java class files, enabling the retrieval of dependency information at runtime. We evaluate Classport on six real-world projects, demonstrating the feasibility in identifying dependencies at runtime. Runtime dependency introspection with Classport opens important avenues for runtime integrity checking.