A Java geek
Read post

Security Baked Into the JVM: the Safe Codebase Audit Pipeline

The Safe Codebase Audit Pipeline (SCAP) is a distributed system for analyzing third-party JARs before any client deserializes objects from them, addressing supply chain compromise risks in dynamic Java service meshes. SCAP targets two threat categories: malicious bytecode (gadget chains, native calls, permission escapes) and blocking static initializers that can stall the JVM scheduler. The pipeline distributes work across five isolated hosts — Lookup Service, Codebase Downloader, Bytecode Analysis Engine (BAE) pool, Verdict Registry, and JFR Telemetry Service — each with minimal network access. The BAE applies four ASM-based visitors per class: a clinit blocking visitor, an AtomicSerial compliance visitor, a cyclic clinit deadlock detector, and PERMISSIONS.LIST integration. Verdicts are keyed by SHA-256 content hash and issued only after a quorum of independent engines agrees, preventing any single compromised engine from writing its own verdict.

    #security#java#jvm
Jul 19•5m read time•From blog.frankel.ch
Post cover image
599 Impressions
A Java geek's image
A Java geek

Frankel's platform covers topics related to software development, technology trends, and coding tut...

83 Followers

•

1.2K Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard