synthesis-git-hooks

Warn

Audited by Socket on Sep 3, 2026

2 alerts found:

SecurityAnomaly
SecurityMEDIUM
scripts/pre-commit

The code appears intended as a fail-closed sensitive-content scanning hook, not as an embedded malware payload. However, it contains a credible command-injection vulnerability in the awk system() pathname handling and an unsafe eval of sidecar output. The package should be reviewed and these execution paths should be replaced with safe argument handling and constrained parsing before broad deployment.

Confidence: 98%Severity: 82%
AnomalyLOW
scripts/commit-msg

This module is a commit-message policy gate that appears designed to be fail-closed and to block commits containing sensitive patterns. It does not show direct evidence of classic malware (no networking/exfiltration/destruction visible). However, it contains a high-impact dynamic execution primitive (eval of stdout from a Python sidecar) that would enable arbitrary code execution if the sidecar or its emitted output can be influenced/compromised. It also chains to a repo-local commit-msg hook via exec, expanding the execution trust boundary to repository-controlled content. Overall security risk is driven by the eval-based sidecar export mechanism and hook chaining rather than overt malicious logic in the bash fragment.

Confidence: 72%Severity: 62%
Audit Metadata
Analyzed At
Sep 3, 2026, 08:05 AM
Package URL
pkg:socket/skills-sh/synthesisengineering%2Fsynthesis-skills%2Fsynthesis-git-hooks%2F@f256433e076ae4d007cf33f5f9b062fd2373542aae737550c7af780d6a29dff1
Security Audit — socket — synthesis-git-hooks