uniswap-v4-lp

Warn

Audited by Socket on Mar 8, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
scripts/test-compound-fix.mjs

The code appears to be a legitimate DeFi automation script that reads on-chain data, computes liquidity estimates, and attempts to modify liquidity via a contract using multiple fallback strategies. There is no evident malicious pattern (backdoors, data exfiltration) within this module. However, the use of a private key to authorize on-chain transactions and the presence of hard-coded financial parameters introduce real security and financial risks. Recommend strong key management, input validation, clear error handling, and auditing of the modifyLiquidities payload constructions before deployment. Consider removing or parameterizing hard-coded constants and add safeguards to prevent unintended large liquidity movements.

Confidence: 59%Severity: 62%
AnomalyLOW
scripts/airdrop.mjs

This file is an airdrop CLI that requires a private key and will sign on-chain transactions (approve and disperseToken) to distribute ERC-20 tokens. I find no indicators of obfuscated or intentionally malicious code such as hidden exfiltration, remote command execution, or eval-based payloads. The main risks are operational: placing an unencrypted private key in the referenced env file, approving max uint256 to a hardcoded Disperse contract without verifying its trustworthiness, and running the script in an environment where console output or files might be exposed. Use cautiously: verify the Disperse contract address and source, protect the private key, and run dry-run first.

Confidence: 90%Severity: 60%
Audit Metadata
Analyzed At
Mar 8, 2026, 11:54 PM
Package URL
pkg:socket/skills-sh/0xaxiom%2Faxiom-public%2Funiswap-v4-lp%2F@81cf96a0de61ae202049796d7b8b17dc56e74106