Archive SHA-256 ebbd8d46148768959e990b4461e3c295be450a4b06b9f39a5d4bd745798f27fe · 45.6 KB · built Nov 27, 2026
SECURITY.md
# Security policy — SEO Audit
## Permission boundary
| Permission | Value | Meaning |
| --- | --- | --- |
| filesystem | `none` | Tools never read or write files. The CLI reads only the `--input` JSON file you name. |
| network | `[]` (no fixed hosts) | `audit_html` makes no requests. `fetch_pages` may request only `https://` URLs on the hosts listed in that call's `owned_hosts`. |
| credentials | `[]` | No API keys, cookies or tokens are read or sent. There is no `.env.example` because none are used. |
### How the fetch allowlist is enforced
1. Input validation accepts only `https://` URLs and plain hostnames in `owned_hosts` (no wildcards).
IP addresses, `localhost` and local/intranet names (`.local`, `.lan`, `.internal`, `.corp`, ...)
are refused, and when the real network is used every listed host must resolve (DNS) only to public
addresses: private, loopback, link-local (including cloud metadata) and multicast addresses are
refused before any request (SSRF guard). Since 0.2.2 (security review finding F10b) this includes
IPv6 forms that embed or translate to private IPv4 (IPv4-mapped in any notation, IPv4-compatible,
NAT64 64:ff9b::/96, 6to4 2002::/16), the whole fe80::/10 and fec0::/10 ranges, fc00::/7, multicast
and discard; unparseable answers count as private. Each connection is also pinned: the built-in
https client resolves the host at connect time, refuses it if any answer is private and connects only
to the address it checked, so a DNS answer that changes after the pre-check (rebinding) is refused.
2. Before any request, every URL is checked: https, no embedded `user:password@`, exact host match
with `owned_hosts`. If any URL fails, the whole call is refused with `network_denied` and nothing is
fetched.
3. `owned_hosts` is passed to the SDK context as `extraHosts`, so the SDK's guarded `fetch` (the only
network function handlers receive) also rejects any other host.
4. Redirects are not followed automatically (`redirect: "manual"`); each `Location` is re-checked
against `owned_hosts` and https before it is requested, with at most 5 hops.
5. Responses are size-capped (`max_bytes`, default 2 MB) and time-limited (15 s), and only HTML
content types are parsed.
Only use `owned_hosts` for sites you own or administer, and respect their hosting provider's terms.
## Untrusted content
Fetched or pasted HTML may be hostile. It is scanned as text by a small tokenizer: no DOM, no script
execution, no stylesheet, image or iframe loading, no link following. Text inside pages (for example
"ignore previous instructions") is only counted as words.
## Data handling
Runs locally in your Node.js process. Page content goes only to your machine. No telemetry and no calls
to AgentRove or third parties.
## Reporting a vulnerability
Report suspected vulnerabilities (especially any way to make `fetch_pages` reach a host outside
`owned_hosts`) privately to the AgentRove maintainers through the security contact on the agent's
AgentRove page.