You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notes: The code intentionally inserts a directory containing a fake git executable into the GitHub Actions runner PATH via $GITHUB_PATH. This is a CI poisoning/supply-chain manipulation technique that causes subsequent 'git' invocations to run the provided wrapper instead of the real git binary. Even though the visible payload only echoes a string, the mechanism is dangerous and can be used to alter workflow behavior, hide malicious activity, or escalate to credential theft and further exploitation. Treat this as malicious/hostile to CI integrity: remove the step, audit the workflow history and any subsequent steps/artifacts, and rotate any secrets used during runs where this executed.
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Given the AI system's identification of this package as malware, extreme caution is advised. It is recommended to avoid downloading or installing this package until the threat is confirmed or flagged as a false positive.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity-Staging ignore github/actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd. You can
also ignore all packages with @SocketSecurity-Staging ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Notes: The script injects a fake 'git' into the GitHub Actions PATH, causing all subsequent 'git' invocations in the workflow to execute the controlled script. This is a high-risk supply-chain action: it can silently and broadly subvert CI behavior. Treat as malicious or at minimum as a critical misconfiguration that must be removed or strictly audited and constrained. If encountered in a repository or third-party action, do not run workflows that include this step until purpose and safety are verified.
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Given the AI system's identification of this package as malware, extreme caution is advised. It is recommended to avoid downloading or installing this package until the threat is confirmed or flagged as a false positive.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity-Staging ignore github/actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd. You can
also ignore all packages with @SocketSecurity-Staging ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.