oh-precommit-codecheck
Audited by Socket on Sep 16, 2026
2 alerts found:
Anomalyx2SUSPICIOUS. The core behavior matches a pre-commit codecheck skill, but the undocumented first-run download of substantial external tooling and the silent auto-fix mode make the trust footprint larger than ideal. No clear credential harvesting, exfiltration, or purpose mismatch is evident from the provided content.
The fragment appears to be a legitimate tool-bootstrap script rather than malware. It downloads executable code from fixed Huawei Cloud URLs and installs it locally without integrity or authenticity verification beyond HTTPS. This creates a meaningful supply-chain risk if the endpoint, DNS, TLS trust store, or archives are compromised. The archive extraction and copying logic should be hardened with checksum/signature verification and safe ZIP validation. No direct data theft or malicious execution is present in the supplied code.