altimate-code icon indicating copy to clipboard operation
altimate-code copied to clipboard

fix: prototype pollution and shallow freeze in SkillFollowups.get()

Open anandgupta42 opened this issue 8 months ago • 0 comments

Adversarial testing for v0.5.14 release found 2 bugs in SkillFollowups.get():

  1. Prototype pollution: FOLLOWUPS["__proto__"] traversed Object.prototype instead of returning []
  2. 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.

anandgupta42 avatar Mar 29 '26 03:03 anandgupta42