Repository navigation
v1.3.0 — Security hardening (CSP, HTML escaping, config sanitiser)
v1.3.0 — Security hardening
Follow-up to a full security review of the renderer and main process. No user-visible behaviour change; the app runs exactly as before.
Added
- Content Security Policy on the renderer:
script-src 'self',object-src 'none',base-uri 'none'. Google Fonts CSS and http(s) preview tiles are still allowed. - HTML escaping at every dynamic
innerHTMLsink — live log rows, attack mini-log, in-app report modal, exported HTML report, stats cards, URL editor headers, block-signature tags. User-configured URLs, HTTP status text from origins, and imported-config values are now rendered as text, not HTML. - Config sanitiser (
mergeSavedConfig) used by both persisted-config load and IMPORT JSON. Whitelisted keys with expected types only; drops__proto__/constructor/prototypekeys; rejects non-http(s) URL entries; clamps counts (≤64 block signatures, ≤256 ports, ≤300 s timeout, ≤10 crawl depth, ≤600 s stream hold); validates port-scan target against[a-zA-Z0-9.\-:_]+.
Install
| Format | arm64 | x86-64 |
|---|---|---|
| .deb (recommended) | STG-1.3.0-arm64.deb |
STG-1.3.0-amd64.deb |
| .AppImage | STG-1.3.0-arm64.AppImage |
STG-1.3.0-x86_64.AppImage |
sudo apt install ./STG-1.3.0-amd64.deb # or _arm64.debapt upgrades in place over 1.2.x.
Included (from earlier)
- Launcher picks the right AppImage architecture — v1.2.7
- Full-height CFG / URL SETTINGS buttons matching card heights — v1.2.6
- Stats bar uses CSS Grid — v1.2.5
.debpackage; arm64 + x86-64 builds — v1.2.3- Crawl stops on block / challenge — v1.2.2
- Sandbox disabled for AppImage on Ubuntu 24+ — v1.2.1
- LIVE PREVIEW tiles, unmuted video, crawl logging, HTTP-only speed, download / popup suppression — v1.2.0