Cookbook¶
Practical, copy-pasteable recipes for common deployment scenarios.
| Scenario | What you'll get |
|---|---|
| Banking / FinTech | Protect HMAC keys, certificate pins, transaction-signing logic |
| Mobile game / anti-cheat | Hide HP / currency / speed from memory editors; respond to Frida |
| SDK / library vendor | Ship a .a / .so consumers can link without changing their build |
| DRM / license enforcement | Virtualize license-check functions so they're never readable as native code |
Each recipe shows:
- The threat model for that scenario
- A complete
kagura.jsonpolicy - Build commands
- Verification steps you can run yourself
If you're not sure which one fits, start with the Security Model page to figure out your threat model first.