NUB-CLASS-1: Strict baseline posture (sub-track)#17
Draft
Conversation
NUB-CLASS-1 is the strict baseline posture in the NUB-CLASS sub-track: connect-src 'none', no consent prompt, class.assigned with class: 1. This is the default for any napplet whose manifest lacks class-contributing NUB tags. Consent-free; resolves at first load and every subsequent load. Sub-track member under NUB-CLASS; see NUB-CLASS.md for the authority model, wire timing, and cross-NUB invariant guidance.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Status: Draft
Parent: NUB-CLASS
Class number: 1
Summary
NUB-CLASS-1 is the strict baseline posture for napplets that do not declare any class-contributing NUB capabilities. Shells emit a restrictive Content Security Policy with
connect-src 'none', show no consent prompt, and sendclass.assignedwithclass: 1.CSP Posture
Shells emitting the NUB-CLASS-1 posture MUST include
connect-src 'none'in the runtime CSP served with the napplet's HTML. Other directives in the baseline CSP (script-src,default-src,img-src, etc.) are shell-policy concerns and are NOT specified by NUB-CLASS-1 — only theconnect-srcvalue is the class's defining characteristic.Scope
NUB-CLASS-$N($N > 1) MUST document their own triggers.connect-src 'none', skip consent prompt, send terminalclass.assignedwithclass: 1.fetch/WebSocket/EventSourceany host. Indirect network still available via shell-mediated NUBs (e.g., NUB-RESOURCE).Non-Goals
connect-src— not in scope.Implementations
(none yet)