T09 · Insecure Skill Coding Practices
- Location
scripts/niuma.js:541- Finding
Unlimited ERC-20 Allowances Violate Least-Privilege Principles
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill mostly matches its bounty-platform purpose, but wallet write operations silently grant unlimited token permissions and the contract addresses in the docs do not match the executable configuration.
Install only if you are comfortable reviewing the actual contract addresses in references/contracts.json, using a testnet-only wallet, and revoking NIUMA allowances after use. Prefer the build-tx/external wallet path over placing a private key in NIUMA_WALLET_SECRET, and avoid using valuable keys until the address mismatch and unlimited approvals are fixed.
scripts/niuma.js:541Unlimited ERC-20 Allowances Violate Least-Privilege Principles
SKILL.md:246Documented Contract Addresses Conflict with Executed Transaction Destinations
package-lock.json:63Dependencies Are Locked to an Unencrypted Third-Party Package Mirror
Referenced artifact was not completely inspected
- **脚本路径**: `scripts/niuma.js`
Referenced artifact was not completely inspected
- **脚本路径**: `scripts/niuma.js`
Referenced artifact was not completely inspected
- **脚本路径**: `scripts/niuma.js`
Referenced artifact was not completely inspected
- **脚本路径**: `scripts/niuma.js`
Referenced artifact was not completely inspected
- **脚本路径**: `scripts/niuma.js`
Referenced artifact was not completely inspected
- **脚本路径**: `scripts/niuma.js`
Referenced artifact was not completely inspected
- **脚本路径**: `scripts/niuma.js`
Referenced artifact was not completely inspected
- **脚本路径**: `scripts/niuma.js`
Referenced artifact was not completely inspected
- **脚本路径**: `scripts/niuma.js`
Referenced artifact was not completely inspected
- **脚本路径**: `scripts/niuma.js`
Referenced artifact was not completely inspected
- **脚本路径**: `scripts/niuma.js`
Referenced artifact was not completely inspected
- **脚本路径**: `scripts/niuma.js`
Referenced artifact was not completely inspected
- **脚本路径**: `scripts/niuma.js`
Referenced artifact was not completely inspected
- **脚本路径**: `scripts/niuma.js`
Referenced artifact was not completely inspected
- **脚本路径**: `scripts/niuma.js`
Referenced artifact was not completely inspected
- **脚本路径**: `scripts/niuma.js`
Referenced artifact was not completely inspected
- **脚本路径**: `scripts/niuma.js`
Referenced artifact was not completely inspected
- **脚本路径**: `scripts/niuma.js`
Referenced artifact was not completely inspected
- **脚本路径**: `scripts/niuma.js`
Referenced artifact was not completely inspected
- **脚本路径**: `scripts/niuma.js`
Referenced artifact was not completely inspected
- **脚本路径**: `scripts/niuma.js`
Referenced artifact was not completely inspected
- **脚本路径**: `scripts/niuma.js`
Referenced artifact was not completely inspected
- **脚本路径**: `scripts/niuma.js`
Referenced artifact was not completely inspected
- **脚本路径**: `scripts/niuma.js`
Referenced artifact was not completely inspected
- **脚本路径**: `scripts/niuma.js`