Mistok
Documentation

Security

Quick start newArchitectureGatewaysHTTP APIPrepayment and rulesFiscal receiptsNotifications and CRMPayment linksAnalytics newPolandNative Shopify gatewaySecurity new

Model

Pentest suite (in the repository, npm run pentest)

ClassChecks
Webhook forgeryno signature, garbage, wrong key, signature from another body, +1 byte, replay ×10 in parallel, stale timestamp (Stripe)
Amount/status tamperinga signed “success” while the API says created; underpayment → unpaid + tag; currency
Enumeration and access/pay without/with a wrong c, huge parameters, path traversal, GID as id, other people’s/paid/COD orders, unknown link tokens
Races15 parallel /pay → one invoice; 10 parallel success → one transaction
Shopify HMACmissing/empty/wrong/truncated HMAC, webhook id replay, hostile payloads in orders/create
DoS, leaks, injections300 KB body, deep JSON, flood of bad signatures (no pubkey storm), 502 from Shopify → generic 500, CRLF/XSS/SQL in names

Current state: 88 pentest checks + 111 functional + 698 unit — all green; npm audit with no vulnerabilities. Full report — PENTEST.md.

Security panel and webhook inspector new

System health new

Residual risks (infrastructure)