github-pr-publish

Warn

Audited by Socket on May 7, 2026

1 alert found:

Anomaly
AnomalyLOW
tests/fake-bin/gh

This code is a deterministic `gh` stub intended for testing. It does not perform network communication or show backdoor-like behavior. However, it can leak sensitive information by logging all invocation arguments to an attacker-influenced file path (FAKE_GH_LOG) and it includes an explicit arbitrary file copy capability driven by `--input <path>` and FAKE_API_INPUT_COPY (a read/write primitive within the running user’s permissions). In a forced failure mode it also prints a token-like value (FAKE_SECRET_TOKEN) to stderr. Overall: likely test harness; low malware likelihood, but meaningful security risk if any environment variables/inputs are attacker-controlled.

Confidence: 64%Severity: 58%
Audit Metadata
Analyzed At
May 7, 2026, 07:05 AM
Package URL
pkg:socket/skills-sh/17-sss%2Fagent-skills%2Fgithub-pr-publish%2F@ab189f5bac543b29589808a56461a7fa9a395fc7