lefthook
Audited by Socket on Sep 15, 2026
3 alerts found:
Anomalyx3提示内容は通常の外部リポジトリ設定・パッケージ導入手順であり、直接的なマルウェア挙動は確認できない。取得スクリプトを表示してから実行する設計は無確認実行を避けている。一方、未検証の外部シェルスクリプトをsudo -Eでroot実行するため、配布元侵害、DNS/TLS環境の問題、スクリプト改ざん時には高い影響を持つ。実行前にスクリプト内容、署名または固定チェックサム、追加されるリポジトリと鍵を独立に確認する必要がある。
The supplied text is installation documentation and does not itself demonstrate malware. It follows some safer practices by downloading to a unique temporary file, printing the script for review, requiring a separate execution step, and cleaning up. However, it still instructs users to execute an unauthenticated-by-checksum remote shell script as root with `sudo -E`. This creates a significant supply-chain and system-compromise risk if the hosting account, endpoint, transport trust, or downloaded script is compromised. The actual script and package were not provided, so their behavior cannot be assessed.
提示されたコードはLefthookのRPMリポジトリ設定およびインストール手順であり、断片自体に明確なマルウェア挙動は確認できない。一方、Cloudsmithから取得した未検証のシェルスクリプトをroot権限で実行するため、スクリプトの改ざんや配布元侵害があれば重大な影響を受ける。実行前に表示内容、署名、公式リポジトリ情報、TLSおよびチェックサム検証を確認する必要がある。