Defisaver public transient store

From cyotee/indexedex · View interactive version

Defisaver public transient store is an AI agent skill from the GitHub repository cyotee/indexedex. Audit DeFi Saver recipe temp stores, ratio checkers and callbacks for cross-transaction pollution and mid-call overwrites.

How to use this skill

Skill file

IndexedEx integration (2026-10-19)

Read the repository CLAUDE.md and the relevant Crane/IndexedEx skill before

using this topic. Current product law, registry/CREATE3 deployment, production-first

tests, build-before-test ordering and configured Foundry profiles override generic

examples. This archive-derived guide does not authorize broadcasts, dependency

installs, new product integrations or restoration of retired protocol families.

Use current deployment artifacts and the pinned frontend/tool versions; archived

addresses and API samples are not live verification. Resolve topic names through

scripts/codex-skill-catalog.json when they are grouped behind routers.

DeFi Saver public transient stores

When to use

Bug classes

  1. Cross-tx pollution — if store is a normal mapping (not true EIP-1153 transient), leftover keys affect later txs.
  2. Mid-tx overwrite — public set* allows nested calls (reentrancy/hooks) to poison keys before checkers/swappers run.
  3. Inconsistent clear — L1 vs L2 actions differ on clearing price/ratio keys after use.

Review checklist

PoC hints

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.