Trust boundaries
Environment integrity check
check_environment_integrity() probes the host for common tamper indicators:
Purchase pre-flight refuses to mint a PIN session when any risk is detected —
see Secure purchases.
Risk identifiers
The SDK classifies host risks including (not exhaustive):DEVICE_ROOTED/ jailbreakDEBUGGER_ATTACHEDSCREEN_RECORDING_ACTIVESUSPICIOUS_ACCESSIBILITY
DEVICE_ROOTED, DEBUGGER_ATTACHED) force COMPROMISED;
all others force WARN.
Secret redaction
Diagnostics and config inspection redact secrets: base URLs, bearer tokens, PINs, and key material are masked before anything is logged or exported. Verify with:Security commands
The MusterBox CLI ships operational security tooling for your build:The certificate gate
musterbox certify --suite all runs the production certification suite
(54/54 tests at the time of writing) and can emit
compatibility-matrix.json. Run it in CI before releasing an engine build.

