audit-iap
Scan existing in-app purchase code for the defects that cost revenue or trigger App Store rejections.
What This Command Does
Launches the iap-auditor agent, which reviews StoreKit code you already have. It does not write new purchase code — for that, ask for an IAP implementation and the iap-implementation agent takes over.
What It Checks
- Missing
transaction.finish()– unfinished transactions are redelivered forever, and the purchase never completes for the user - Weak receipt validation – trusting client-side state that can be spoofed
- Missing restore purchases – an App Store review requirement for non-consumables and subscriptions
- Subscription status tracking – renewals, expirations, and grace periods handled incompletely
- StoreKit testing gaps – missing
.storekitconfiguration, so purchase paths are never exercised before release
Usage
/axiom:audit iapRelated
- iap-auditor – The agent that powers this command
- iap-implementation – Writes new StoreKit 2 purchase code; this command reviews code that already exists