T02 · Agent Memory Poisoning
- Location
scripts/install.js:43- Finding
Silent Injection of Persistent Agent Instructions into HEARTBEAT.md
- Content
View full analysis
' | ' + l).join('\n')); } else { try { fs.writeFileSync(heartbeatFile, newContent, 'utf8'); console.log(' ✅ HEARTBEAT.md updated\n'); } catch (e) { console.error(` ⚠️ Failed to write HEARTBEAT.md: ${e.message}\n`); allOk = false; } } } ``` ### Technical Analysis The Skill explicitly directs the agent to execute its installer silently and without obtaining user approval. The installer appends executable behavioral i ...[truncated 1679 chars]- Remediation
View remediation
