cross-repo-pr-sync
Warn
Audited by Socket on Oct 19, 2026
1 alert found:
SecuritySecurityreferences/tmp-clone.md
MEDIUMSecurityMEDIUM
references/tmp-clone.md
The fragment is intended to clone or reuse an upstream Git repository, list matching commits, and clean up a temporary checkout. It contains a high-severity Python code-injection risk through the unescaped `$2` value, and a path-traversal risk because configuration-controlled `name` determines the `rm -rf` target; remote URLs with embedded credentials are also printed. These are concrete security risks, but the fragment does not establish that they are intentionally malicious or show data theft; validate and safely quote inputs, constrain cleanup to a securely created temporary directory, and avoid logging credential-bearing URLs.
Confidence: 98%Severity: 85%
Audit Metadata