Obfuscation is not patching. This rewrites observable version strings to
1.99.9. It does not upgrade AngularJS at the source.
Origin serves real TodoMVC on AngularJS 1.8.2.
This host rewrites every HTML/JS response so scanners never see 1.8.2.
Key questions
Question
How do parallel HTML and JavaScript requests share one safe rewrite plan?
The hostname-keyed SQLite Durable Object is authoritative. Discovery is serialized, the complete plan is persisted before waiters are released, and JavaScript-first requests are held until it is ready. Failure returns 503 rather than original bytes.
Success criteria / proof
Original version is hidden.Tested HTML and JavaScript responses contain no 1.8.2 and expose the replacement marker.
One plan coordinates parallel requests.Cold HTML and five parallel JavaScript requests use the hostname coordinator without releasing unrewritten bytes.
Ready plans apply consistently.A published plan is reused for later HTML and JavaScript responses with no-store response headers.
Discovery failures fail closed.Core failure, timeout, or publish failure returns 503 instead of original AngularJS bytes.
Parallel module responses should use the same published rewrite plan.
for p in module-a.js module-b.js module-c.js module-d.js app.js; do
printf '%s: ' "$p"
curl -sS "https://s4.thecompany-lab.com/$p" | grep -c '1.8.2'
done # every count should be 0
Step 4 — Verify fail-closed response headers
Rewritten resources should not be cacheable as original-version content.