All rules →
Rules / Kotlin
SHIELD-KOTLIN-007

Insecure deserialization via ObjectInputStream.readObject

criticalKotlinCWE-502CVSS 9.8

What it detects

Calling ObjectInputStream.readObject on untrusted data can trigger remote code execution through gadget chains.

How to fix

Avoid Java native deserialization of untrusted input; use a safe format like JSON with strict schemas.

Scan your repo freeFull documentation
Back to all rules
SHIELD-KOTLIN-007: Insecure deserialization via ObjectInputStream.readObject — Zennoxa Shield