near-intents

Warn

Audited by Socket on Sep 28, 2026

1 alert found:

Anomaly
AnomalyLOW
rules/react-swap-widget.md

No clear evidence of in-module malware/backdoor behavior is present in this snippet. However, it is security-sensitive: it hardcodes a third-party API endpoint and uses API-returned depositAddress/amountIn (and API-provided token contractAddress for ERC-20 transfers) directly to construct wallet transactions. If the API, token metadata, or quote data is compromised or malicious, this could lead to fraudulent swaps where users sign transfers to attacker-controlled destinations. Treat this as a high-trust integration/validation risk rather than classic injected malware.

Confidence: 62%Severity: 68%
Audit Metadata
Analyzed At
Sep 28, 2026, 09:15 AM
Package URL
pkg:socket/skills-sh/near%2Fagent-skills%2Fnear-intents%2F@8dcfefcea63b88067716ee2c98ce08849e784b5d2918d1f7dd587f01c8c864aa