T02 · Agent Memory Poisoning
- Location
src/interchange.js:89- Finding
Persistent Cross-Agent Prompt Injection Through Generated Markdown
- Content
View full analysis
t.tag); const meta = { ...BASE_META, type: 'detail', layer: 'state', deal_id: deal.id, tags: ['deal'] }; let content = `# ${deal.title}\n\n`; content += `**Stage:** ${deal.stage} | **Value:** $${deal.value} | **Source:** ${deal.source || 'Direct'}\n\n`; if (contact) { content += `## Contact\n- **Name:** ${contact.name}\n- **Company:** ${contact.company || '-'}\n- **Email:** ${contact.email || '-'}\n\n`; } content += `## Activities\n`; if (activities.length === 0) { content += 'No activities logged.\n'; } else { for (const a of activities) { content += `- ${a.timestamp} **${a.type}**: ${a.content}\n`; } } content ...[truncated 2331 chars]- Remediation
View remediation
