brian-api

Warn

Audited by Socket on Aug 4, 2026

3 alerts found:

Anomalyx2Security
AnomalyLOW
examples/swap-intent/README.md

No 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.

Confidence: 73%Severity: 58%
SecurityMEDIUM
SKILL.md

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.

Confidence: 89%Severity: 72%
AnomalyLOW
templates/brian-client.ts

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).

Confidence: 62%Severity: 68%
Audit Metadata
Analyzed At
Aug 4, 2026, 12:32 AM
Package URL
pkg:socket/skills-sh/JustaName-id%2Fcryptoskills%2Fbrian-api%2F@7a93b225d1102ccc9dad6be67511bf66d0b095131d267fcadec0ec32f5e7cf52
Security Audit — socket — brian-api