Skip to content

SDK & CISO REFERENCE HUBWaspada Developer & CISO Documentation

Integration guides, published JSON schemas, offline signature verification, and BNM RMiT risk mappings.

Gateway HTTP Contract Surface ​

All partner-facing endpoints deploy inside your bank VPC or dedicated tenant gateway. Outbound FMS webhook payloads lock action_requested to MONITOR (contracts/fms-alert.schema.json) so hold and freeze authority remains exclusively with the licensed institution.

Method & RouteAuth & Replay ControlPrimary Contract & Fail-Closed Behavior
POST /api/v1/telemetry/ingestPartner RS256 JWT + jti replay cacheRe-runs canonical NFKC + homoglyph L2 PII scrub (HTTP 422 on raw victim PII), encrypts per-row DEK+AAD, and queues signed MONITOR FMS delivery
POST /v1/attestation/challengePartner RS256 JWTIssues single-use 300-second cryptographic challenge bound to (tenant_id, flow_id)
POST /v1/attestation/apple/registerPartner RS256 JWT + ChallengeVerifies server-pinned Apple App Attest Root CA X.509 DER chain (x5c length 2) and binds (tenant_id, key_id)
POST /v1/warning-receipts/verifyPartner RS256 JWTVerifies RFC 8785 WarningAttestationReceiptV1 against monotonic App Attest counter or Play Integrity JWE (A256KW/A256GCM + ES256); returns 503 if ATTESTATION_ACK_KEY is unset
POST /api/v1/alerts/stream-ticketPartner Analyst JWTMints single-use short-lived SSE ticket scoped to the caller's tenant_id
GET /api/v1/alerts/streamSingle-use SSE TicketStreams tenant-isolated advisory alerts and STIX 2.1 observables to the analyst console
GET /api/v1/gateway/public-keyPublic Read (GET /health paired)Publishes active RSA-2048 PEM public key (kid) for offline FMS signature verification (verify-alert.mjs)

Client SDK Runtime Matrix ​

SDK Package / TargetExecution RuntimeHardware & OS AttestationKey Capabilities
@waspada/sdk (Web / PWA)WebGPU + WASM SIMD + Ephemeral Voice WorkerWebCrypto P-256 (Sandbox preview)6-stage PDF, DuitNow QR, archive/APK, chat, and .opus voice inspection in browser RAM
@waspada/react-nativeIsolated Local Sandbox + Native BridgeApple App Attest / Google Play IntegrityHardened inline-script serialization (serializeInlineJs) + native mobile telemetry bridge
WaspadaKit (iOS 16+ Swift 6)Core ML (Apple Neural Engine)DCAppAttestService X.509 + AssertionCoalesced .mlmodelc actor runner + CXCallObserver & @MainActor screen-capture coercion checks
com.waspada.sdk (Android API 26–36)LiteRT (NPU → GPU → CPU)Play Integrity Standard API (requestHash)Binary call, Android 15 screen-recording, accessibility gesture-overlay, and Android 16 Advanced Protection checks

On-device scam shield, hardware-attested receipts, and MONITOR-only bank advisories.