T09 · Insecure Skill Coding Practices
- Location
scripts/trenches.js:703- Finding
Trenches operations execute on-chain without enforcing the documented confirmation gate
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a real on-chain trading tool, but its Trenches trading script can execute irreversible transactions without the documented execution flag or slippage protection.
Review carefully before installing. Use only with small, disposable amounts unless the Trenches script is changed to enforce an explicit execution flag, nonzero minimum outputs, and exact token-address confirmations in code. Protect the config directory because it contains an agent private key and may contain backend session cookies.
scripts/trenches.js:703Trenches operations execute on-chain without enforcing the documented confirmation gate
scripts/trenches.js:882Trenches buy and sell transactions allow arbitrary output loss
scripts/initialize.js:861Authentication session cookies are persisted in plaintext without restrictive file permissions
scripts/tokens.js:52Unverified token symbols can resolve to an attacker-controlled DexScreener result
Referenced artifact was not completely inspected
| `initialize.js` | Deploy Safe + Roles, register CNS name |
Referenced artifact was not completely inspected
| `initialize.js` | Deploy Safe + Roles, register CNS name |
Referenced artifact was not completely inspected
| `initialize.js` | Deploy Safe + Roles, register CNS name |
Referenced artifact was not completely inspected
| `swap.js` | Swap tokens via KyberSwap Aggregator (default, optimal routes) |
Referenced artifact was not completely inspected
| `swap.js` | Swap tokens via KyberSwap Aggregator (default, optimal routes) |
Referenced artifact was not completely inspected
| `swap.js` | Swap tokens via KyberSwap Aggregator (default, optimal routes) |
Referenced artifact was not completely inspected
| `swap.js` | Swap tokens via KyberSwap Aggregator (default, optimal routes) |
Referenced artifact was not completely inspected
| `cow.js` | Swap tokens via CoW Protocol (MEV-protected) |
Referenced artifact was not completely inspected
| `cow.js` | Swap tokens via CoW Protocol (MEV-protected) |
Referenced artifact was not completely inspected
| `cow.js` | Swap tokens via CoW Protocol (MEV-protected) |
Referenced artifact was not completely inspected
| `cow.js` | Swap tokens via CoW Protocol (MEV-protected) |
Referenced artifact was not completely inspected
| `cow.js` | Swap tokens via CoW Protocol (MEV-protected) |
Referenced artifact was not completely inspected
| `balance.js` | Check ETH and token balances |
Referenced artifact was not completely inspected
| `balance.js` | Check ETH and token balances |
Referenced artifact was not completely inspected
| `balance.js` | Check ETH and token balances |
Referenced artifact was not completely inspected
| `trenches.js` | Create and trade Trenches tokens via factory |
Referenced artifact was not completely inspected
| `trenches.js` | Create and trade Trenches tokens via factory |
Referenced artifact was not completely inspected
| `trenches.js` | Create and trade Trenches tokens via factory |
Referenced artifact was not completely inspected
| `trenches.js` | Create and trade Trenches tokens via factory |
Referenced artifact was not completely inspected
| `trenches.js` | Create and trade Trenches tokens via factory |
Referenced artifact was not completely inspected
| `trenches.js` | Create and trade Trenches tokens via factory |
Referenced artifact was not completely inspected
| `trenches.js` | Create and trade Trenches tokens via factory |
Referenced artifact was not completely inspected
| `trenches.js` | Create and trade Trenches tokens via factory |
Referenced artifact was not completely inspected
| `trenches.js` | Create and trade Trenches tokens via factory |
Referenced artifact was not completely inspected
| `trenches.js` | Create and trade Trenches tokens via factory |
Detected: suspicious.env_credential_access