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

# Threat model

This page condenses the network repository's threat model and quantum-readiness coverage matrix. The claim it defends:

> Breaking ECDSA/secp256k1 alone cannot move default Minerva Account funds or control protocol/admin accounts.

## Protected assets

* MRV and token balances of Minerva accounts.
* The ML-DSA-65 public key that controls each account, and the authority to rotate it.
* The `PQ Native` security and readiness labels reported by the registries.
* Protocol and admin controls: the miner reward account, the bridge admin, relayer and guardians on Minerva, the migration reserve controller.

## Adversary

The adversary may break ECDSA/secp256k1, compromise any legacy EOA key, submit arbitrary transactions, operate or compromise a relayer, RPC endpoint or dapp frontend, replay signatures across accounts, chains, nonces or calldata, and call account methods directly.

The adversary is assumed **not** to be able to forge an ML-DSA-65 signature for the account's current key, break the verifier precompile, or extract the private key from the user's device or encrypted backup.

## Controls

| Threat                                                  | Mitigation                                                                                                                    | Status                                               |
| ------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
| ECDSA break                                             | accounts never use ECDSA for control; legacy transaction types rejected by consensus                                          | implemented                                          |
| Forged execution or rotation                            | ML-DSA-65 verified by the precompile; rotation needs the current key                                                          | implemented, tested in Go, Foundry and live networks |
| Replay on the same or another account, or another chain | the signed message binds nonce, account address and chain id                                                                  | implemented                                          |
| Stale key after rotation                                | consensus reads the account control registry at pool admission and in block validation                                        | implemented                                          |
| Device key abuse                                        | consensus limits device keys to zero-value self-calls; the account enforces scope, value window, expiry and protected targets | implemented                                          |
| Registry spoofing                                       | registries accept writes only from the account itself                                                                         | implemented                                          |
| Malicious submit gateway                                | the gateway forwards bytes the wallet signed; it has no key and no gas payer                                                  | implemented                                          |
| PQ private key compromise                               | rotate to a new key with the current key; guardian recovery specified, not deployed                                           | partial                                              |
| PQ algorithm break                                      | crypto agility in the registry (algorithm field); SLH-DSA research track                                                      | planned                                              |
| Blind signing                                           | the wallet shows target, value, data hash, chain and security mode before signing                                             | implemented in first-party flows                     |
| Precompile bug                                          | Go unit tests, CoreGeth registration tests, Foundry tests, devnet integration                                                 | partial until external audit                         |
| PoW reorg or 51 % attack                                | confirmation policy, finality waits in the bridge, hashrate growth                                                            | separate consensus risk                              |
| Release tampering                                       | reproducible builds, SSH and ML-DSA-65 signatures over `SHA256SUMS`                                                           | implemented                                          |
| Bridge, Robinhood side                                  | secp256k1 guardians and a classical admin on Robinhood Chain                                                                  | known gap, bounded to the remote vault               |

## Accepted language

The project uses: quantum-resistant default accounts; PQ-native Minerva Accounts; ECDSA compromise alone cannot move default Minerva Account funds.

It does not use: impossible to hack; forever quantum-proof; every subsystem is fully PQ-native today; legacy EOA accounts are quantum-resistant.

## Primitives

* ML-DSA-65 (FIPS 204) is the account-control primitive. Verifier: Cloudflare CIRCL `mldsa65`.
* SLH-DSA (FIPS 205) is the fallback track. A SPHINCS⁻ research snapshot is vendored for evaluation; it is not consensus code and not an account signing mode.

Full documents: [threat model](https://github.com/MinervaQuantum/minerva-network/blob/main/docs/security/threat-model.md), [coverage matrix](https://github.com/MinervaQuantum/minerva-network/blob/main/docs/quantum-readiness/coverage-matrix.md), [admin control inventory](https://github.com/MinervaQuantum/minerva-network/blob/main/docs/security/admin-control-inventory.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.minervachain.org/protocol/threat-model.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
