



Network Working Group                                           P. Murad
Internet-Draft                                               Independent
Intended status: Informational                          24 November 2026
Expires: 28 May 2027


               Really Small Web Security and Permissions
                      draft-murad-rsw-security-00

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on 28 May 2027.

Copyright Notice

   Copyright (c) 2026 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents (https://trustee.ietf.org/
   license-info) in effect on the date of publication of this document.
   Please review these documents carefully, as they describe your rights
   and restrictions with respect to this document.

Table of Contents

   1.  Abstract  . . . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   3.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   2
   4.  Technical Specification . . . . . . . . . . . . . . . . . . .   2
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .   3
   6.  Privacy Considerations  . . . . . . . . . . . . . . . . . . .   3
   7.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   3
   8.  Test Vectors  . . . . . . . . . . . . . . . . . . . . . . . .   3
   9.  Normative References  . . . . . . . . . . . . . . . . . . . .   3



Murad                      Expires 28 May 2027                  [Page 1]

Internet-Draft                RSW Security                 November 2026


   Appendix A.  Author's Address . . . . . . . . . . . . . . . . . .   3
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .   4

1.  Abstract

   RSW treats every cartridge and network input as untrusted, even when
   correctly signed.  This editorial proposal describes validation,
   content isolation, local API protection, and offline behavior.

2.  Introduction

   Authenticity is not equivalent to trust.  A valid signature proves
   control of a key, not civil identity, safe content, or global
   recency.

3.  Terminology

   BCP 14 terms are interpreted as described in RFC 2119 and RFC 8174.

4.  Technical Specification

   Readers validate structure, inventory, and signatures before
   rendering.  Content uses constrained Text or Static profiles with
   source/node/link/image budgets.  HTML is rebuilt from an allowlist,
   CSS from a restricted grammar, and images are re-encoded as inert
   data URLs.

   Content runs in an empty-sandbox iframe with no scripts, same-origin
   access, forms, frames, popups, or top navigation.  Its CSP denies
   connections, scripts, objects, forms, and external images [CSP3].
   Links are mediated by the trusted interface.  Text follows
   [COMMONMARK] and HTML follows [HTML].

   The local API binds only loopback and requires exact Host/Origin, a
   CSPRNG session, CSRF on mutations, Fetch Metadata checks, finite
   bodies, and scoped expiring tickets.  No arbitrary path, private-key,
   generic-signing, or shell endpoint exists.

   Offline mode performs no external DNS or HTTP.  Loopback
   communication for the local UI is distinct from external traffic.  No
   peer or manifest field can trigger a download by itself.










Murad                      Expires 28 May 2027                  [Page 2]

Internet-Draft                RSW Security                 November 2026


5.  Security Considerations

   Signed content can be malicious.  Sandboxing is defense in depth, not
   proof of safety.  Private keys are outside the web root and never
   exposed by an endpoint.  Local tokens are not a defense against a
   compromised host or browser profile.  Production servers and every
   supported browser require independent verification.

6.  Privacy Considerations

   Local processing avoids uploads but not browser extensions,
   compromised served code, or network observation.  Persistence is
   local and optional.  No telemetry, remote fonts, prefetch, or read
   receipts are required.

7.  IANA Considerations

   No security-specific assignment is requested. rsw and rsw.json are
   separate provisional proposals.

8.  Test Vectors

   Fixtures cover scripts, handlers, forms, iframes, meta refresh,
   external resources, SVG, CSS imports, traversal, invalid Host/Origin/
   CSRF, oversized uploads, and offline network observation.  A harmless
   signed fixture produces no beacon in tested browsers.  The
   implementation profile follows [RSW0011].

9.  Normative References

   [COMMONMARK]
              CommonMark, "CommonMark Spec", 2021,
              <https://spec.commonmark.org/0.31.2/>.

   [CSP3]     W3C, "Content Security Policy Level 3",
              <https://www.w3.org/TR/CSP3/>.

   [HTML]     WHATWG, "HTML Standard", <https://html.spec.whatwg.org/>.

   [RSW0011]  RSW project, "RSW-0011 — Security and Permissions", 2026,
              <https://rsw.works>.

Appendix A.  Author's Address

   Pablo Murad, Independent
   Email: kontakt@pablomurad.com
   URI: https://pablomurad.com




Murad                      Expires 28 May 2027                  [Page 3]

Internet-Draft                RSW Security                 November 2026


Author's Address

   Pablo Murad
   Independent
   Email: kontakt@pablomurad.com
   URI:   https://pablomurad.com













































Murad                      Expires 28 May 2027                  [Page 4]
