brian-api
Audited by Socket on Aug 4, 2026
3 alerts found:
Anomalyx2SecurityNo clear evidence of embedded malware, obfuscation, or covert behavior in the provided code. However, the script creates a high-impact integrity/trust-boundary risk by executing externally supplied transaction calldata (step.to/step.data/value/gas) under a user-controlled private key without allowlisting, calldata/function validation, or enforcement that the steps match the intended swap. Receipt success checks and post-trade balance reads do not prevent harmful-but-successful operations. In practice, this example should require strict validation/decoding of steps and constraints on target contracts, spenders, tokens, and minimum expected outputs before signing or broadcasting.
SUSPICIOUS: the core API/data flows and npm install sources are coherent and same-org, so this is not malware-like or a deceptive credential harvester. Risk is elevated because the skill enables AI-driven crypto transactions and uses private keys/transaction-signing tooling, which is inherently high impact for an agent even though it fits the stated Web3 purpose.
This module is not obviously malicious in the malware/backdoor sense, but it is a high-impact transaction execution wrapper. It trusts transaction-step instructions returned by an external service (including arbitrary contract calldata and native value) and immediately signs/broadcasts them with a raw private key, without allowlisting, semantic checks, or strong chain/RPC integrity binding. If the upstream service, its response, or the prompts can be influenced by an attacker, this code can facilitate unauthorized or unintended on-chain actions (e.g., draining ETH or interacting with malicious contracts).