altimate-code
altimate-code copied to clipboard
fix: prototype pollution and shallow freeze in SkillFollowups.get()
Adversarial testing for v0.5.14 release found 2 bugs in SkillFollowups.get():
- Prototype pollution:
FOLLOWUPS["__proto__"]traversedObject.prototypeinstead of returning[] - Shallow freeze:
Object.freeze()on the array didn't freeze nested suggestion objects, allowing shared state mutation
Includes 52 adversarial tests covering injection attacks, boundary values, immutability, concurrency, and data integrity.