Non-Custodial Engineering: Mapping Signing Authority and Trust Boundaries
Research status: Engineering philosophy based on the stated product design and prior laboratory reports. Proposed tests and examples are illustrative; no new live execution is claimed.
Follow the authority, not the interface
“Non-Custodial — Your keys remain under your control” is the stated product objective. The engineering question is which components can actually cause a spend. BTC ID identifies a wallet; BTC KEY authorizes access under the product protocol. Neither name alone proves that the holder possesses an exportable Bitcoin private key. A signing-authority review must examine issuance, encrypted recovery, runtime decryption and signing separately.
Authority map
The factory issues the identity and signed fee law. The engine imports the identity and applies its verified policy. An application supplies an authorized request. Bitcoin consensus independently determines whether a transaction is valid. These roles should not be collapsed into a claim that the API credential is itself an on-chain signing key.
A review should establish whether any issuance service retains sufficient material to sign, how recovery material is protected, and whether a compromised runtime can expose decrypted material. These are audit questions, not assertions that the implementation has passed an independent audit.
Failure-oriented tests
| Scenario | Evidence required |
|---|---|
| Invalid credential | Rejection without wallet state mutation |
| Unauthorized identity | No cross-wallet access |
| Altered signed policy | Rejection rather than silent policy substitution |
| Lost local database | Authorized recovery under the original policy |
| Compromised host | Documented exposure and incident response boundaries |
Run negative tests only against an isolated test wallet. Never publish authorization headers, decrypted capsules or signing material. A successful invalid-credential test establishes one rejection path, not universal resistance to unauthorized spending.
Developer opportunity
A client can separate read operations from spending authorization at its own boundary, and require explicit approval for a send. This is additional application policy, not a modification of the wallet's immutable signed fee law. Do not claim native credential scopes unless the API actually provides them.
Primary references and related research
- [Related laboratory research](/docs/wab-agent-wallet-restoration)
- [Bitcoin Sovereignty as a Software Architecture](/docs/wab-philosophy-sovereignty-architecture)
