Repository navigation
fix(deps): pick up fetchkit 0.7.2 linear readable extraction - #2914
Conversation
ZapCode 1.5.1 never reads memory_limit_bytes, and a failed allocation aborts the process with every tenant. Template-literal, concat and spread doubling all aborted the host. Each ts run now gets its own vm_meter (the Monty meter, renamed from python_meter): every instruction stops the run past max_memory, and output-amplifying builtins (join, toString, JSON.stringify, console.log, concat, repeat, split, replace) size their result before allocating. Native ts fails closed without MeteredAllocator. A new multi-tenant stress suite found a host-call loop ran 30 s under a 500 ms limit because ZapCode restarts its clock at every resume. The host-call loop now checks the run's wall-clock deadline, caps callbacks at the remaining time, and yields. TM-TS-026, TM-TS-027.
Mirror the Monty coverage for the vendored ZapCode VM: a ts_fuzz target under the metered allocator (nightly fuzz matrix plus CI compile check), an ASan step for the ts unit, threat-model and stress tests, and a 300-round ts-stress-soak job.
fetchkit 0.7.2 makes readable/agent content focus linear on hostile nesting (TM-DOS-009, security audit F8); 0.7.1 spent ~57 s CPU on a 2.16 MB crafted page inside the fetchkit builtin.
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
bashkit | 362a884 | Commit Preview URL Branch Preview URL |
Nov 10 2026, 10:42 PM |
Review summary (PR #2914, head
|
Requested by Михайло · project thread
What changed
The
fetchkitbuiltin now uses fetchkit/fetchkit-cli 0.7.2, and the cargo-vet exemptions move from 0.7.1 to 0.7.2.Why
fetchkit 0.7.2 makes readable and agent content extraction linear on hostile nesting (fetchkit TM-DOS-009, security audit F8). With 0.7.1, a crafted 2.16 MB page cost about 57 s of CPU inside the
fetchkitbuiltin.Before / After
fetchkitreadable extraction (0.7.1).cargo test -p bashkit --features fetchkit --test integration -- fetchkitpasses (10 tests).Risk
fetchkitfeature.Checklist