ADVISORIES

GitHub Advisory Database

GHSA-43hx-xm7w-3mhj

memtomem-stm: Surfaced memory data can escape the Markdown compatibility boundary

Details

Untrusted long-term and working-memory fields can introduce Markdown or HTML-compatible structure into the surfaced-memory envelope. A crafted memory may create misleading structural boundaries or visually conceal content. The private fix serializes every untrusted field as inert single-line data, validates copyable memory identifiers, and pins an explicit untrusted-data preamble. Ordinary natural-language persuasion remains a residual model-level risk.

Affected packages

EcosystemPackageAffected versions
PyPImemtomem-stm
From 0.1.0 before 0.1.34 (fixed in 0.1.34)

References