git-snapshot-rollback

Warn

Audited by Socket on Sep 16, 2026

1 alert found:

Security
SecurityMEDIUM
scripts/rollback.py

The code appears intended as a Git archival/rollback helper, not as malware. It contains a significant command-injection vulnerability because untrusted command-line values are interpolated into shell=True commands without validation or quoting. It also has a clear functional defect due to the undefined reset_log variable and does not actually perform the claimed rollback. The code should use subprocess argument lists with shell=False, validate commit hashes and branch names, avoid git add . unless explicitly intended, and fix the logging variable before use.

Confidence: 99%Severity: 82%
Audit Metadata
Analyzed At
Sep 16, 2026, 02:52 PM
Package URL
pkg:socket/skills-sh/cafe3310%2Fpublic-agent-skills%2Fgit-snapshot-rollback%2F@02d3c7ff415f234a1b2925706f9c3be7b2bd34d3410283710fe67a5c448d9616