T02 · Agent Memory Poisoning
- Location
src/engram/consolidator.py:90- Finding
Persistent Agent Memory Poisoning Through Untrusted LLM-Derived Content
- Content
View full analysis
char_budget: context = context[:char_budget] + "\n[...truncated...]" return context def write_recall_context(config: EngramConfig, output_path: Optional[Path] = None, **kwargs): """Write context to RECALL-CONTEXT.md.""" if output_path is None: output_path = config.workspace / "RECALL-CONTEXT.md" context = generate_context(config, **kwargs) header = f"""# Recall Context Generated: {datetime.now().isofo ...[truncated 2468 chars]- Remediation
View remediation
