RSW cartridge logo really small web.

Security

The normative security document of the Really Small Web is RSW-0011 โ€” Security and Permissions (revision 0.01, experimental proposal, mandatory for the MVP). This page summarizes its threat model for orientation; the specification is authoritative.

Principles

Threat summary (from architecture v0.02, section 14)

ThreatRequired or proposed protection
Malformed PNG, invalid CRCStrict parser, limits, safe rejection.
Excessive decompressionCount real bytes and limit resources.
Path traversalValidated paths; nothing outside the root.
Symlinks and duplicatesReject special entries and collisions.
TamperingVerifiable hashes and signatures.
Active HTML, XSS, scriptsSanitization, sandbox, CSP, separation.
External trackingBlock remote subresources by default.
SSRF and redirectsDestination restrictions and explicit policy.
DNS rebindingValidate Host, origin, and network destinations.
CSRF on the local APISession token, Origin, safe methods.
Replay and downgradeSequence verification and known hash.
Version conflictsWarning and deterministic policy.
Key theftSeparate storage, restricted access.
Resource abuseTime, memory, disk, and rate limits.

No reader should promise that every malicious file will be detected. Before any public software release, the architecture document requires independent security review, fuzzing, negative file tests, and rendered-content escape tests. None of these has been performed yet, because the implementation does not exist.

Cryptographic test vectors on this site use a public test key explicitly marked as not belonging to Pablo Murad and not for production use.