Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

raphw/byte-buddy
master @ dd4f81e
14
Fixes
0
CVEs
HIGH
Peak severity
53.8%
Coverage
Highlights
Auth Bypass: 6 prior fixes. Scrutinize any change in this area.
mvnw.cmd: most-fixed (3 issues). Treat as high-risk during review.
3 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Sandbox Escape: Proxy and dispatcher classes were generated without a restricted, non-privileged ProtectionDomain, allowing sandbox escapes via class definition. Developers should ensure dynamic class definitions explicitly enforce minimal privileges.
Auth Bypass: Exposing JVM agent instrumentation to unauthorized code allows complete sandbox escape. A strict SecurityManager permission check must guard access to the installer's instrumentation instance.
Auth Bypass: Checksum validation for wrapper binaries on Windows was fragile or bypassed due to localized command output parsing. Command executions like certUtil must be parsed robustly (e.g., using PowerShell index-based selection) to ensure mandatory signature validation.