Skip to main content
This page documents the verified security contract of the SDK. It is also your surfacing point for pre-purchase environment checks.

Trust boundaries

The SDK is a bridge, not intelligence.

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 / jailbreak
  • DEBUGGER_ATTACHED
  • SCREEN_RECORDING_ACTIVE
  • SUSPICIOUS_ACCESSIBILITY
Critical risks (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.

If you spot an incident

Report environment anomalies and client-side incidents via the SDK’s security event channel, then follow Report a security incident. Next: Errors.
Last modified on September 10, 2026