EvolveAegis

Results comments of EvolveAegis

Quick note on the template: this is a source-level finding from reading `snapshot.ts`, not a bug triggered by a specific prompt — so I can't fill in the debug script...

Dynamic reproduction and citation corrections: **Dynamic PoC (vitest, 1/1 passed)** against `parseOpencodeUsage` + `buildAgentUsageEvent` at e27c143: two `message.updated` events for a 2-step turn (step1 cost 0.02, step2 cumulative cost 0.05)...

Adding two pieces to the root cause already captured here (models.py never reading `response.usage`), in case they help size the fix. **Empirical undercount direction** (20 trials, local estimate vs provider-reported...

Dynamic reproduction (real `Chooser.choose` with a stub model raising cost-limit exceptions): both `TotalCostLimitExceededError` and `InstanceCostLimitExceededError` are swallowed by the bare `except Exception`, then an `UnboundLocalError` escapes from `response=response`. Tests: 2/2...

Dynamic reproduction (real `LiteLLMModel` + mocked network boundary only): n=2 sampling with a rate-limit raised on the 2nd sample and retries=2 produces 4 real `litellm.completion` calls for n=2 work, and...

Correction on the `doc_path` point: I over-stated it for the REST surface. On `/product/add`, `APIADDRequest.doc_path` is deprecated and converted into a file-message (`product_models.py:806-817` -> `{"file":{"path": doc_path}}`); the file parser does...

Additional unauthenticated destructive endpoints on the same `/product` surface: `delete_memory_by_record_id` and `recover_memory_by_record_id` (`server_router.py`, ~:460-500) take a client-supplied `mem_cube_id` and operate directly on the graph db with no auth — so...

## Correction (2026-08-04) I need to correct this report. My original write-up claimed a zip-slip → pickle RCE chain. I re-tested the zip-slip leg locally and **it does not reproduce**:...

Closing: I re-ran the PoC and the zip-slip vector does not reproduce (Python 3.x extractall sanitizes ../ and absolute-path entries), so the RCE chain I described is withdrawn. The pickle.load...

I ran into this with a larger file and measured the token impact, in case it helps with prioritization. With a 1,000-line file and one line inserted at the top:...