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. Rechecked August 23, 2026: leftover CVE dumps stay development / noindex. Do not invent a protocol upgrade target or a named floor from leftover dump version text. Frontmatter model strings such as GPT-5.3-Codex are recipe metadata, not prompt pins. Do not emit a signed transaction from an agent run.

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.

author Security Recipes Maintainersteam SecurityTested withGPT-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.

author Security Recipes Maintainersteam SecurityTested withGPT-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.

author Security Recipes Maintainersteam SecurityTested withGPT-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. The model: "GPT-5.3-Codex" frontmatter field is recipe metadata, …

author Security Recipes Maintainersteam SecurityTested withGPT-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. The model: "GPT-5.3-Codex" frontmatter field is recipe metadata, …

author Security Recipes Maintainersteam SecurityTested withGPT-5.3-Codexupdated 2026-04-26
defioracleplan documentationmanipulationrisk-controls

Bridge and multisig emergency response

development

Use this prompt to codify emergency response for bridge and multisig incidents where rapid containment is required.

author Security Recipes Maintainersteam SecurityTested withGPT-5.3-Codexupdated 2026-04-26
defibridgemultisigincident-responserunbook

DeFi reentrancy and callback hardening

development

Use this prompt to harden DeFi contracts that make external calls, transfer tokens, or rely on callback-capable standards. The model: "GPT-5.3-Codex" frontmatter field is recipe …

author Security Recipes Maintainersteam SecurityTested withGPT-5.3-Codexupdated 2026-06-14
defismart-contractreentrancycallbacksinvariants

DeFi admin-key and role blast-radius review

development

Use this prompt to reduce the damage a compromised admin key, overbroad role, or rushed governance action can cause in a DeFi protocol. The model: "GPT-5.3-Codex" frontmatter …

author Security Recipes Maintainersteam SecurityTested withGPT-5.3-Codexupdated 2026-06-14
defiaccess-controladmin-keytimelockgovernance

ERC-4626 vault inflation and rounding guardrails

development

Use this prompt to harden ERC-4626 vaults and vault-like share systems against first-depositor inflation, donation attacks, and unsafe rounding. The model: "GPT-5.3-Codex" …

author Security Recipes Maintainersteam SecurityTested withGPT-5.3-Codexupdated 2026-06-14
defierc4626vaultroundinginvariants

Permit and meta-transaction replay guardrails

development

Use this prompt to prevent signature replay across chains, contracts, forks, functions, and repeated permit or meta-transaction execution. The model: "GPT-5.3-Codex" frontmatter …

author Security Recipes Maintainersteam SecurityTested withGPT-5.3-Codexupdated 2026-06-14
defisignaturepermitreplayeip712

Cross-chain message authenticity guardrails

development

Use this prompt to harden cross-chain message handlers against forged payloads, chain replay, untrusted relayers, and missing proof checks.

author Security Recipes Maintainersteam SecurityTested withGPT-5.3-Codexupdated 2026-06-14
defibridgecross-chainmessage-authenticityreplay

DEX slippage and MEV guardrails

development

Use this prompt to harden swaps, liquidations, rebalances, and routing flows against missing slippage checks and predictable-ordering risk.

author Security Recipes Maintainersteam SecurityTested withGPT-5.3-Codexupdated 2026-06-14
defidexslippagemevfront-running