T09 · Insecure Skill Coding Practices
- Location
scripts/evk_live_borrow_proof.js:127- Finding
Live swaps permit arbitrarily weak minimum-output protection
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is openly designed for live blockchain borrow canaries, but its bundled executor can make irreversible financial changes with incomplete safety enforcement.
Install only if you understand EVK/EVC operations and will run preview first with tiny amounts. Treat live mode as capable of spending gas, approving tokens, swapping assets, repaying debt, depositing collateral, changing collateral/controller settings, and borrowing. Review the config carefully, use exact approvals, set realistic swap minimums from a fresh quote, avoid full-balance deposits unless intended, and be prepared to recover manually from a partially completed sequence.
scripts/evk_live_borrow_proof.js:127Live swaps permit arbitrarily weak minimum-output protection
scripts/evk_live_borrow_proof.js:431Prerequisite validation fails open after irreversible live transactions
Referenced artifact was not completely inspected
3. Run `node scripts/evk_live_borrow_proof.js --help` for the bundled executor
Referenced artifact was not completely inspected
3. Run `node scripts/evk_live_borrow_proof.js --help` for the bundled executor
The skill requires access to environment variables, including a live signer environment, but does not declare any explicit tool scope such as permissions or allowed-tools. In an agent framework, this can cause the runtime to grant broader-than-necessary capabilities or make security boundaries unclear, which is especially risky here because the skill is designed to interact with live blockchain state and potentially send transactions.
No suspicious patterns detected.