lefthook

Warn

Audited by Socket on Sep 15, 2026

3 alerts found:

Anomalyx3
AnomalyLOW
references/installation/alpine.md

提示内容は通常の外部リポジトリ設定・パッケージ導入手順であり、直接的なマルウェア挙動は確認できない。取得スクリプトを表示してから実行する設計は無確認実行を避けている。一方、未検証の外部シェルスクリプトをsudo -Eでroot実行するため、配布元侵害、DNS/TLS環境の問題、スクリプト改ざん時には高い影響を持つ。実行前にスクリプト内容、署名または固定チェックサム、追加されるリポジトリと鍵を独立に確認する必要がある。

Confidence: 94%Severity: 58%
AnomalyLOW
references/installation/deb.md

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.

Confidence: 98%Severity: 68%
AnomalyLOW
references/installation/rpm.md

提示されたコードはLefthookのRPMリポジトリ設定およびインストール手順であり、断片自体に明確なマルウェア挙動は確認できない。一方、Cloudsmithから取得した未検証のシェルスクリプトをroot権限で実行するため、スクリプトの改ざんや配布元侵害があれば重大な影響を受ける。実行前に表示内容、署名、公式リポジトリ情報、TLSおよびチェックサム検証を確認する必要がある。

Confidence: 95%Severity: 55%
Audit Metadata
Analyzed At
Sep 15, 2026, 12:44 AM
Package URL
pkg:socket/skills-sh/fandhe-ai%2Fagent-reference-skills%2Flefthook%2F@8b7f3fbd9ef400f26e924f2857b3c8b2eee1356c5abf2ef97c10d1f4bdc362e8