T09 · Insecure Skill Coding Practices
- Location
SKILL.md:82- Finding
Unvalidated Execution of Remotely Supplied Blockchain Transactions
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is clear about using Token Layer for on-chain token launches and trades, but it can execute real blockchain transactions from third-party API responses without enough final safeguards.
Review this skill carefully before installing. Use a wallet with limited funds, prefer testnet or small amounts first, and require the agent to show and confirm every transaction's chain, destination, value, and calldata before broadcasting. Do not use a TOKENLAYER_API_KEY connected to a wallet holding assets you cannot afford to lose.
SKILL.md:82Unvalidated Execution of Remotely Supplied Blockchain Transactions
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
## Quick Reference
- **Base URL**: `https://api.tokenlayer.network/functions/v1`
- **Auth**: `Authorization: Bearer $TOKENLAYER_API_KEY`
- **Chain**: `base` (mainnet), `base-sepolia` (testnet)
- **Min purchase**: $6 USD
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
## Quick Reference
- **Base URL**: `https://api.tokenlayer.network/functions/v1`
- **Auth**: `Authorization: Bearer $TOKENLAYER_API_KEY`
- **Chain**: `base` (mainnet), `base-sepolia` (testnet)
- **Min purchase**: $6 USD
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
## Quick Reference
- **Base URL**: `https://api.tokenlayer.network/functions/v1`
- **Auth**: `Authorization: Bearer $TOKENLAYER_API_KEY`
- **Chain**: `base` (mainnet), `base-sepolia` (testnet)
- **Min purchase**: $6 USD
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
## Quick Reference
- **Base URL**: `https://api.tokenlayer.network/functions/v1`
- **Auth**: `Authorization: Bearer $TOKENLAYER_API_KEY`
- **Chain**: `base` (mainnet), `base-sepolia` (testnet)
- **Min purchase**: $6 USD
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
## Quick Reference
- **Base URL**: `https://api.tokenlayer.network/functions/v1`
- **Auth**: `Authorization: Bearer $TOKENLAYER_API_KEY`
- **Chain**: `base` (mainnet), `base-sepolia` (testnet)
- **Min purchase**: $6 USD
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
## Quick Reference
- **Base URL**: `https://api.tokenlayer.network/functions/v1`
- **Auth**: `Authorization: Bearer $TOKENLAYER_API_KEY`
- **Chain**: `base` (mainnet), `base-sepolia` (testnet)
- **Min purchase**: $6 USD
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
## Quick Reference
- **Base URL**: `https://api.tokenlayer.network/functions/v1`
- **Auth**: `Authorization: Bearer $TOKENLAYER_API_KEY`
- **Chain**: `base` (mainnet), `base-sepolia` (testnet)
- **Min purchase**: $6 USD
The skill explicitly instructs the agent to execute on-chain transactions returned by a third-party API, but it does not include a clear warning that blockchain transactions are irreversible and can permanently move or lose funds. In this context, the omission is more dangerous because the skill is specifically designed for token launches and trading, where users may authorize real asset transfers based on API-generated transaction payloads.
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
curl -s -X POST "https://api.tokenlayer.network/functions/v1/enter-referral-code" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKENLAYER_API_KEY" \
-d '{"referral_code": "OPENCLAW"}' | jq
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
Image can be URL or base64 data URI:
curl -s -X POST "https://api.tokenlayer.network/functions/v1/create-token-transaction" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKENLAYER_API_KEY" \
-d '{
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
curl -s -X POST "https://api.tokenlayer.network/functions/v1/quote-token" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKENLAYER_API_KEY" \
-d '{
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
curl -s -X POST "https://api.tokenlayer.network/functions/v1/trade-token" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKENLAYER_API_KEY" \
-d '{
This duplicate finding still highlights the most dangerous behavior in the file: submitting raw transaction parameters for execution on-chain. Because the skill normalizes taking to and data from external API responses and broadcasting them, any mistake, spoofed response, or unreviewed payload could irreversibly transfer funds or invoke harmful contract logic.
curl -s -X POST "https://api.tokenlayer.network/functions/v1/send-transaction" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKENLAYER_API_KEY" \
-d '{
This duplicate finding still highlights the most dangerous behavior in the file: submitting raw transaction parameters for execution on-chain. Because the skill normalizes taking to and data from external API responses and broadcasting them, any mistake, spoofed response, or unreviewed payload could irreversibly transfer funds or invoke harmful contract logic.
curl -s -X POST "https://api.tokenlayer.network/functions/v1/send-transaction" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKENLAYER_API_KEY" \
-d '{
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
curl -s -X POST "https://api.tokenlayer.network/functions/v1/get-tokens-v2" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKENLAYER_API_KEY" \
-d '{
No suspicious patterns detected.