fix: harden agent instruction surfaces

This commit is contained in:
Affaan Mustafa
2026-04-30 09:20:23 -04:00
committed by Affaan Mustafa
parent 38f4265a1c
commit c9962bf83e
6 changed files with 128 additions and 0 deletions

View File

@@ -20,6 +20,12 @@ Critical vulnerability patterns and hardened implementations for Solidity AMM co
Use this as a checklist-plus-pattern library. Review every user entrypoint against the categories below and prefer the hardened examples over hand-rolled variants.
## Execution Safety
The shell commands in this skill are local audit examples. Run them only in a trusted checkout or disposable sandbox, and do not splice untrusted contract names, paths, RPC URLs, private keys, or user-supplied flags into shell commands. Ask before installing tools or running long fuzzing/static-analysis jobs that may consume significant local or paid resources.
Never include secrets, private keys, seed phrases, API tokens, or mainnet signing credentials in command examples, logs, or reports.
## Examples
### Reentrancy: enforce CEI order