Persistent Context Injection
Medium
- Category
- Memory Poisoning
- Confidence
- 80% confidence
- Finding
Skill injects content designed to persist in agent memory or context across interactions. Persistent injection can alter agent behavior long after the initial interaction.
- Content
sh Deep Inheritance Hierarchies: Animal → Mammal → Domestic → Pet → Dog → GoldenRetriever Problems: fragile, hard to understand, hard to change base Rule: max 3 levels deep Fix: flatten hierarchy, use composition, use interfaces
