> For the complete documentation index, see [llms.txt](https://docs.zetrix.com/zetrix-l2-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zetrix.com/zetrix-l2-documentation/reliability-and-security/security.md). Agents can also search and read this documentation through its [MCP server](https://docs.zetrix.com/zetrix-l2-documentation/~gitbook/mcp).

# Security

## RPC Security

* Public endpoint exposes only safe method namespaces.
* Admin/debug (`admin_`, `debug_`, `txpool_` management) restricted to internal networks.
* Rate limiting and WAF at the edge; TLS enforced.

## Committee Security

* Independent signing keys per Validator (HSM/KMS).
* No blind co-signing: each member signs only if the **shared Reexecutor's** replay matches the proposed assertion.
* The five members verify with **one shared Reexecutor**, so verification is a common point of failure: a faulty or compromised shared Reexecutor affects all five. Protect it like a signing key, and rely on **independent Watchers** (each with its own Reexecutor) to catch any wrong soft confirmation during the challenge window.
* Each bundle runs on its own server; diverse hosting reduces correlated compromise of the signing keys.

## Assertion Security

* Assertions reference reproducible batch data.
* Proposer key protected (HSM/KMS).
* Invalid assertions are caught in the challenge window.

## Fraud Proofs

* Deterministic re-execution underpins fraud detection.
* On-chain dispute game resolves contested transitions.
* Security reduces to ≥1 honest, funded Watcher.

## Watcher Security

* Encourage multiple **independent** Watchers (external operators).
* Watchers must pin the exact EVM ruleset and keep dispute accounts funded.

## Access Control

| Surface                    | Control                                |
| -------------------------- | -------------------------------------- |
| Public RPC                 | Method allowlist, rate limit, TLS      |
| Admin/Validator dashboards | Auth + IP allowlist / VPN              |
| Servers                    | SSH key-only, bastion, least privilege |
| CI/CD                      | Scoped credentials, signed artifacts   |

## Secrets Management

* Store keys in HSM/KMS or a secrets manager (e.g., AWS KMS/Secrets Manager, Vault).
* No plaintext keys in configs, images, or environment files committed to VCS.
* Rotate keys on a schedule and on suspected compromise.

> \[!WARNING] The Sequencers (3), the Aggregator (the role in each committee bundle that submits the soft confirmation to L1), the Proposer, the Refueler, and the Faucet all control funded EOAs. Compromise of these keys has direct financial impact. Mandate HSM/KMS, spend limits, destination allowlists, and anomaly alerting.
>
> Committee members do **not** send their own L1 transaction to sign — their signatures go off-chain over the gossip bus — but their **signing keys** still decide soft confirmations and must be protected the same way.

## Infrastructure Recommendations

* Network segmentation (public / consensus / management subnets).
* Security groups: least-privilege, per [Appendix firewall rules](https://docs.zetrix.com/zetrix-l2-documentation/reference/appendix.md#recommended-firewall-rules).
* OS hardening, automated patching, image scanning.
* Audit logging on all privileged access.

***

[← High Availability](https://docs.zetrix.com/zetrix-l2-documentation/reliability-and-security/high-availability.md) · [Index](https://docs.zetrix.com/zetrix-l2-documentation/readme.md) · [Monitoring →](https://docs.zetrix.com/zetrix-l2-documentation/reliability-and-security/monitoring.md)
