<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/security-baked-into-the-jvm-the-safe-codebase-audit-pipeline-wjr7fbfqi" -->

---
title: Security Baked Into the JVM: the Safe Codebase Audit...
description: The Safe Codebase Audit Pipeline (SCAP) is a distributed system for analyzing third-party JARs before any client deserializes objects from them, addressing...
canonical: https://daily.dev/posts/security-baked-into-the-jvm-the-safe-codebase-audit-pipeline-wjr7fbfqi
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Security Baked Into the JVM: the Safe Codebase Audit Pipeline | daily.dev
og:description: The Safe Codebase Audit Pipeline (SCAP) is a distributed system for analyzing third-party JARs before any client deserializes objects from them, addressing...
og:url: https://daily.dev/posts/security-baked-into-the-jvm-the-safe-codebase-audit-pipeline-wjr7fbfqi
og:image: https://api.daily.dev/og/posts/Wjr7FBFQI.png
og:image:alt: Security Baked Into the JVM: the Safe Codebase Audit Pipeline
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Security Baked Into the JVM: the Safe Codebase Audit Pipeline

**[A Java geek](https://daily.dev/sources/frankel)** · 5 min read · 0 upvotes · 0 comments

## Summary

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.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.frankel.ch/security-baked-into-jvm/2>

## Similar posts on daily.dev

- [For application security: SCA, SAST, DAST and MAST. What next?](https://daily.dev/posts/for-application-security-sca-sast-dast-and-mast-what-next--cyptfrmjk) · CSO Online · 3 upvotes · 0 comments
- [Scaling malicious code detection from pull requests to the software supply chain](https://daily.dev/posts/scaling-malicious-code-detection-from-pull-requests-to-the-software-supply-chain-oio7pft6a) · Datadog · 1 upvotes · 0 comments
- [SAFE: Bringing Real Static Analysis to the BEAM](https://daily.dev/posts/safe-bringing-real-static-analysis-to-the-beam-cyhl48afg) · Erlang Solutions · 0 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#java](https://daily.dev/tags/java), [#jvm](https://daily.dev/tags/jvm)

[View this post on daily.dev](https://daily.dev/posts/security-baked-into-the-jvm-the-safe-codebase-audit-pipeline-wjr7fbfqi)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Security Baked Into the JVM: the Safe Codebase Audit Pipeline","url":"https://daily.dev/posts/security-baked-into-the-jvm-the-safe-codebase-audit-pipeline-wjr7fbfqi","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/security-baked-into-the-jvm-the-safe-codebase-audit-pipeline-wjr7fbfqi"},"datePublished":"2026-07-19T16:42:02.178Z","dateModified":"2026-07-19T16:42:22.733Z","description":"The Safe Codebase Audit Pipeline (SCAP) is a distributed system for analyzing third-party JARs before any client deserializes objects from them, addressing...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a22e0a915588d8809cb7637f80a42895?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a22e0a915588d8809cb7637f80a42895?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"A Java geek","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"A Java geek","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/b7f3fdbf443347ea84705578a195085b","url":"https://daily.dev/sources/frankel"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/security-baked-into-the-jvm-the-safe-codebase-audit-pipeline-wjr7fbfqi","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,java,jvm","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"A Java geek","item":"https://daily.dev/sources/frankel"},{"@type":"ListItem","position":3,"name":"Security Baked Into the JVM: the Safe Codebase Audit Pipeline"}]}
```

