Oathe Security Badge

oathe / scan / reports / safe

Is MetEngine/x402-sample-bot safe?

Yes. MetEngine/x402-sample-bot is safe to install. Oathe's behavioral security audit gave the x402-sample-bot skill by MetEngine a trust score of 85/100 with 6 findings (1 high). Report updated

https://github.com/MetEngine/x402-sample-bot

85
SAFE

Is MetEngine/x402-sample-bot safe to install?

This skill provides a legitimate cryptocurrency data API client for MetEngine's trading analytics platform. While it handles private keys and executes payment transactions (carrying inherent crypto-related risks), the functionality appears consistent with its stated purpose and shows no evidence of malicious intent.

What security issues were found in MetEngine/x402-sample-bot?

Category Scores

Prompt Injection 87/100 · 30%
Data Exfiltration 85/100 · 25%
Code Execution 72/100 · 20%
Clone Behavior 95/100 · 10%
Canary Integrity 100/100 · 10%
Behavioral Reasoning 80/100 · 5%

Findings (6)

HIGH Cryptocurrency Private Key Handling -20 ▶

The skill includes code that loads and uses Solana private keys for x402 protocol payments. While this appears to be legitimate functionality, private key operations carry inherent security risks.

Evidence: index.ts loads keypair from homedir: const keypairBytes = JSON.parse(readFileSync(keypairPath, 'utf-8'))

MEDIUM External API Communication -10 ▶

The skill makes HTTP requests to external API endpoints for data retrieval and payment processing. While documented as the primary function, this creates potential data exfiltration vectors.

Evidence: Base URL: https://agent.metengine.xyz with 63 documented endpoints

MEDIUM Payment Transaction Processing -8 ▶

The skill executes cryptocurrency payment transactions using the x402 protocol on Solana mainnet, which involves blockchain interactions and USDC transfers.

Evidence: paidFetch function signs and executes on-chain payment transactions

LOW Agent Memory File Instructions -8 ▶

The skill instructs agents to create and maintain persistent memory files at ~/.claude/agents/metengine-memory.md, which could potentially override default agent behavior.

Evidence: Before making any API call, check for ~/.claude/agents/metengine-memory.md

LOW Wallet Security Instructions -5 ▶

The skill provides specific instructions about wallet security practices that agents must follow, potentially overriding default security behaviors.

Evidence: NEVER log, print, or display keypair file contents. ONLY store keypair file path and public address

INFO TypeScript Code Execution 0 ▶

The skill contains executable TypeScript files that implement API client functionality, which is expected for this type of integration skill.

Evidence: Multiple .ts files including index.ts, query.ts, opportunities.ts with executable code

Should I install MetEngine/x402-sample-bot?

Oathe's verdict for MetEngine/x402-sample-bot is SAFE with a trust score of 85/100. Recommendation: Install with caution.