vaw Wiki
Reading preferences
Text size

Security model

On this page

Security model#

See the vaw repository security policy for publication and reporting guidance.

Trust boundaries are source content, owner configuration, build output and hosting. Notes may be untrusted: Goldmark unsafe rendering is disabled, URLs are resolved or rejected, scripts are not executed, hidden/symlink files are excluded and publication policy precedes public relationship construction. Owner CSS is trusted. The output ownership marker protects against accidental deletion; it is not an authorization token against a malicious local process.

Builds into one output directory use an exclusive sibling lock; a crashed process can leave an empty lock directory requiring deliberate cleanup after confirming the process stopped. Staged rendering protects against publishing partial builds, but a full filesystem snapshot or adversarial local race isolation is not implemented. A malicious process with access to the vault/output can interfere with builds. Preview serializes rebuilds and reacts to subsequent edits after the current build completes.

The local cache skips a build only if both its input fingerprint and complete output digest match. Changed notes, policies, assets, config, templates or generator identity cause a full rebuild. Cached HTML is never used to create new output. Caches inside the vault/output are disabled. Cache write failures fall back to normal generation; cache artifacts are not public output.

Attachment safety is limited by browsers and file viewers. Review supported media before publishing; unknown active formats and SVG are blocked. Remote Markdown images may make requests when readers open a page even though the build itself never fetches remote resources.

Generated _headers recommends CSP, nosniff and referrer policy for hosts that support it; verify actual response headers. Publication is not encryption or authentication. A public note's manually written text/URL can reveal private information that no publication Boolean can automatically identify.

Linked notes

Related notes

Linked from

Search is ready.

    ↑ ↓ move · Enter open · Esc close

    Explore graph

    Open the graph to explore note relationships.