This release includes 2 security fixes for security teams reviewing exposed deployments.
Topics
+9 more
Affected surfaces
Summary
AI summaryrl init will no longer clobber an existing settings.json; it validates first, backs up broken files, and aborts with a clear message.
Full changelog
## v0.10.1 — security review
An independent security pass (separate from the correctness gate). HIGH-1 (prompt-injection neutralization) was already mitigated in 0.10.0; the rest land here.
- HIGH-2 —
rl initcan no longer clobbersettings.json. An existing-but-unparseable file was previously swallowed and overwritten, destroying the user's hooks/permissions/env.initnow parses first, backs the file up tosettings.json.broken-<ts>.bak, and aborts with a clear message rather than writing. - MED-3 — ReDoS fixed. The Java/C# enclosing-symbol regex backtracked super-linearly on long whitespace (and ran on every edit). Rewritten bounded; 5000 spaces resolve in <1ms.
- MED-4 — CI supply chain pinned. The demo workflow (
contents: write) no longer installsttyd/vhsatlatest. - LOW-5 —
recordHitis throw-proof. It runs right before a deny; a throw would fail-open and silently drop the block. Its I/O is now fully swallowed.
96 tests (5 new security tests) - zero dependencies.
Breaking Changes
- `rl init` now validates and backs up `settings.json` instead of overwriting it; aborts with a clear message if the file is present but unparseable.
Security Fixes
- HIGH-2 — Prevented `rl init` from clobbering an existing (but possibly broken) `settings.json`, protecting user hooks, permissions, and environment configurations.
- MED-3 — Fixed a Regular Expression Denial‑of‑Service (ReDoS) caused by unbounded backtracking in the Java/C# enclosing‑symbol regex used on every edit.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About Regressionledger
All releases →Related context
Related tools
Beta — feedback welcome: [email protected]