YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
DL4J preprocessor.bin deserialization marker
This repository contains a benign local verification artifact for a suspected DL4J model-archive issue. It does not contain exploit code or a gadget chain.
ModelSerializer.restoreMultiLayerNetwork(...) and
restoreComputationGraph(...) read a model ZIP entry named preprocessor.bin
with a raw ObjectInputStream, then cast the result to DataSetPreProcessor.
The cast happens after Java deserialization has already reconstructed the object.
Run locally:
javac VerifyDL4JPreprocessorBin.java
java VerifyDL4JPreprocessorBin
Expected benign output:
deserialized_class=java.lang.String
cast_after_deserialization=ClassCastException
The generated payload-preprocessor-string.zip is intentionally harmless. It
contains a serialized java.lang.String marker in preprocessor.bin, which is
enough to show that bytes supplied by the archive are deserialized before any
allowlist, object filter, or successful type validation.