Unrestricted Tool Access
Medium
- Category
- Excessive Agency
- Content
- *Detection*: Math operations without `SafeMath` in older code, or unsafe `unchecked` blocks. 3. **Access Control Flaws**: Improper use of `public` vs `private`, or missing `onlyOwner`/role modifiers on sensitive functions. - *Detection*: Functions that mint tokens, withdraw funds, or change state without access restrictions. 4. **Front-Running (Transaction-Ordering Dependence)**: Malicious actors can observe pending transactions and submit their own with a higher gas price to get executed first. - *Detection*: Marketplaces, DEXs without slippage limits, or logic depending on transaction order.- Confidence
- 75% confidence
- Finding
- Skill grants unrestricted tool access without appropriate constraints. An agent with unfettered tool access can perform arbitrary actions including file modification, network requests, and code execution.
