# Security

## Threat model

A feed can attack the agent system that reads it in three ways. Each has a structural control that a reader can check:

| Route | Control | How a reader checks it |
| --- | --- | --- |
| **Relayed injection**: hostile instructions inside material captured from a source | Quoted material is fenced into typed fields and never flows as prose; a reported instruction is typed as a report, not issued as one | Run the published validator; inspect the quotation typing |
| **Publisher-voice injection**: instructions in Re3val's own text | Every claim carries a speech-act type and the constant `agent_authority: none`; the style rules ban imperatives addressed to the reader | Check `agent_authority` on every claim; any other value is a defect a client can reject mechanically |
| **Substituted payload**: content that is not Re3val's, or is tampered with or replayed | Content hashes, permanent identifiers, and (once release signing ships) signatures and expiring release checkpoints | Recompute the hash; check status; verify signatures when available |

Inbound, the production pipeline treats every fetched source as data, never as instructions, and passes captured text through a three-layer filter before any model reads it.

## Where protection stops

Contextual safety cannot be warranted. A declarative sentence can be an attack, and a law legitimately contains obligations, so Re3val's boundary is typing, fencing and authority scoping, not keyword filtering. Named residual risks: newsworthy hostile quotations that must be carried; compromise of the pipeline or keys; false but well-sourced content; and clients that flatten typed records into plain prose, which discards the control.

The reader's own defences still matter: restricted capabilities, confirmation before consequential actions, and treating every retrieved document, this one included, as data rather than instruction.

## Status today

The site is static and serves no scripts, sets no cookies, and accepts no input. Release signing, the signed change log and the key directory are not built yet. Until they are, records are unsigned and say so.

## Reporting a vulnerability

Write to info@libera-mondo.org with "Re3val security" in the subject line. Reports are acknowledged, investigated, and, when they reveal an escape, disclosed as an incident with a published post-mortem. The contact details are also in [/.well-known/security.txt](/.well-known/security.txt).


---
Canonical page: https://re3val.com/security/
