コンテンツにスキップ

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:

  1. The threat model for that scenario
  2. A complete kagura.json policy
  3. Build commands
  4. 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.