py-git-hooks

Warn

Audited by Socket on Sep 20, 2026

1 alert found:

Security
SecurityMEDIUM
lint-gate.py

The code is a legitimate linting and type-checking hook, with no clear evidence of intentional malware, data exfiltration, or sabotage. It has a meaningful command-injection and arbitrary-code-execution risk because it sources a project-local activation script and passes unescaped Git-derived file names through bash -c. Use structured subprocess arguments, avoid sourcing untrusted activation scripts, and validate or constrain cwd.

Confidence: 98%Severity: 72%
Audit Metadata
Analyzed At
Sep 20, 2026, 03:56 PM
Package URL
pkg:socket/skills-sh/l-mb%2Fpython-refactoring-skills%2Fpy-git-hooks%2F@a935739f981137bf16fa4889a4a51bc81f9516da65b5fe2520bc76865bb91241