ยท aka: Serialization Injection, Control Plane Data Mixing, lc Key Injection
Framework serialization formats use marker keys (e.g., 'lc') to distinguish serialized objects from plain data. When user-controlled data containing these markers is serialized and deserialized, injected structures are treated as legitimate framework objects, enabling secret extraction and arbitrary class instantiation.
Full environment variable exfiltration. Arbitrary class instantiation within trusted namespaces. Affects astream_events(v1), astream_log(), RunnableWithMessageHistory, InMemoryVectorStore, and all caching layers.
Application uses framework serialization on data that includes user-controlled fields. Common in streaming, caching, and message history workflows.
๐ Full defence implementations available through the NAIL SDK.