openocean
Audited by Socket on Sep 17, 2026
3 alerts found:
SecurityAnomalyx2BENIGN for purpose alignment and endpoint consistency, but HIGH security risk because it enables on-chain financial actions and token approvals through a wallet runtime. No clear malware or exfiltration signs are present in the provided skill text, yet the transactional authority makes misuse costly if invoked without careful confirmation.
No clear malware or covert exfiltration is present. The code performs legitimate but high-impact cryptocurrency trading operations. Security risk is concentrated in trusting API-supplied transaction parameters and granting MAX_UINT256 ERC-20 allowances to the returned router. Router address, chain ID, calldata, and allowance scope should be independently validated or constrained before wallet submission.
The code implements opt-in-looking telemetry/reporting controlled by environment variables, but it sends trade events and CONTAINER_JWT to any configured endpoint without enforcing HTTPS or host allowlisting. This could enable data or credential disclosure if the environment is misconfigured or compromised. No clear malicious payload, hardcoded exfiltration destination, or other malware behavior is evident in this fragment.