Skip to content

Crypto & DeFi Security Recipes

This catalog groups reusable prompts for crypto payments and DeFi blockchain security. The recipes are tool-agnostic and are intended for bounded, auditable workflows with human approval.

Crypto payment recipes

DeFi blockchain recipes

Hot-wallet transaction policy enforcement

development

Use this prompt to harden a hot-wallet signing pipeline so unsafe transactions are blocked before they can be signed. Use when Payment services sign transfers from online wallets. …

author Security Recipes Maintainersteam Securitymodel used GPT-5.3-Codexupdated 2026-04-26
cryptowalletpaymentspolicytransaction-signing

Crypto payment address integrity checks

development

Use this prompt to prevent destination-address substitution and address-poisoning mistakes in crypto payment systems. Use when Users paste wallet addresses manually. Address books …

author Security Recipes Maintainersteam Securitymodel used GPT-5.3-Codexupdated 2026-04-26
cryptopaymentsaddresspoisoningvalidation

Seed phrase and key-material purge

development

Use this prompt to locate and remove exposed wallet seed phrases, private keys, and signing credentials from code and operational systems. Use when A scan found possible BIP-39 …

author Security Recipes Maintainersteam Securitymodel used GPT-5.3-Codexupdated 2026-04-26
cryptosecretsseed-phraseprivate-keyincident-response

Smart-contract upgrade diff risk review

development

Use this prompt to review upgrade diffs and enforce invariant checks before smart-contract changes are approved. Use when Proxy implementation contracts are changing. Storage …

author Security Recipes Maintainersteam Securitymodel used GPT-5.3-Codexupdated 2026-04-26
defismart-contractupgradeproxyinvariants

DeFi oracle manipulation guardrails

development

Use this prompt to add and verify protections against oracle-based price manipulation in DeFi execution paths. Use when Liquidation and borrow limits rely on oracle prices. …

author Security Recipes Maintainersteam Securitymodel used GPT-5.3-Codexupdated 2026-04-26
defioraclepricingmanipulationrisk-controls

Bridge and multisig emergency response

development

Use this prompt to codify emergency response for bridge and multisig incidents where rapid containment is required. Use when Bridge validator compromise is suspected. Multisig …

author Security Recipes Maintainersteam Securitymodel used GPT-5.3-Codexupdated 2026-04-26
defibridgemultisigincident-responserunbook