T02 · Agent Memory Poisoning
- Location
heartflow.js:5078- Finding
Persistent Core-Memory Instruction Poisoning
- Content
View full analysis
e.key === rule.key)) { this.memory.addCore(rule.key, rule.value, rule.tags); } } } ``` The method is invoked automatically during startup: ```javascript // ─── [P1 UPGRADE] CORE 层身份规则初始化 ─────────────────────────── this._initCoreRules(); ``` ### Technical Analysis The skill automatically inserts package-author-controlled behavioral rules into the persistent `CORE` memory layer. These are not merely configuration defaults: they direct future agent behavior, including requiring repeated searches and suggesting use of `curl` against named external sites when another search tool fails. The rules are installed during every engine startup if their keys do not already exist. The projec ...[truncated 2461 chars]- Remediation
View remediation
