T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:50- Finding
Installation of a Proxy-Controlled Root CA in the System Trust Store
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This GitHub acceleration proxy is disclosed, but it asks users to run an unverified missing binary and make broad TLS/proxy changes that can affect future traffic.
Review this carefully before installing. Only use it if you trust the FastGithub binary and certificate source, can verify their integrity, and are comfortable with a local proxy that may affect HTTPS behavior. Avoid installing the root CA or disabling Git TLS verification globally unless you fully understand and later undo those changes.
SKILL.md:50Installation of a Proxy-Controlled Root CA in the System Trust Store
SKILL.md:127Global Disabling of Git TLS Certificate Verification
install.sh:9Execution of an Unverified and Absent External Binary Artifact
stop.sh:4Overbroad Process Discovery and Termination Through Command-Line Substring Matching
YARA rule matched a known malware signature (reverse shell, backdoor, ransomware, C2 framework, or info stealer).
`bash
bash /workspace/skills/fastgithub/install.sh
### 手动安装步骤
#### 1. 解压安装包
```bash
tar -xzf fastgithub-linux-x64.tar.gz -C ~/fastgithub
cd ~/fastgithub/publish
./fastgithub &
export http_proxy=http://127.0.0.1:38457
export https_proxy=http://127.0.0.1:38457
# 永久生效
echo "export http_proxy=http://127.0.0.1:38457" >> ~/.bashrc
echo "export https_proxy=http://127.0.0.1:38457" >> ~/.bashrc
source ~/.bashrc
# Ubuntu/Debian
sudo cp ~/fastgithub/publish/cacert/fastgithub.crt /usr/local/share/ca-certificates/
sudo update-ca-certificates
# macOS
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ~/fastgithub/publish/cacert/fastgithub.crt
# Windows (需要管理员权限)
# 双击证书文件 -> 安装到"受信任的根证书颁发机构"
|
The skill recommends installing and trusting a new CA certificate as a root certificate without a strong warning about the implications. Trusting a new root CA enables the proxy to intercept TLS traffic and, if that certificate or service is malicious or compromised, can permit man-in-the-middle decryption of trusted HTTPS connections.
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
sudo update-ca-certificates
# macOS
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ~/fastgithub/publish/cacert/fastgithub.crt
# Windows (需要管理员权限)
# 双击证书文件 -> 安装到"受信任的根证书颁发机构"
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
sudo update-ca-certificates
# macOS
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ~/fastgithub/publish/cacert/fastgithub.crt
# Windows (需要管理员权限)
# 双击证书文件 -> 安装到"受信任的根证书颁发机构"
The documentation tells users to persistently set http_proxy and https_proxy in ~/.bashrc, which can route future command-line traffic through the local proxy beyond the immediate GitHub use case. This is dangerous because users may unknowingly affect other tools and sessions, increasing interception, misrouting, or breakage risk if the proxy is compromised or left running unintentionally.
The documentation instructs running sudo to copy a certificate into the system trust store. Requiring elevated privileges increases risk because it modifies a security-sensitive system location and can have broad effects if the certificate or installation path is not trustworthy.
# Ubuntu/Debian
sudo cp ~/fastgithub/publish/cacert/fastgithub.crt /usr/local/share/ca-certificates/
sudo update-ca-certificates
# macOS
Using sudo update-ca-certificates applies trust-store changes system-wide, affecting all users and applications on the host. This is dangerous in context because it operationalizes trust for the added certificate and can broaden the blast radius of any mistake or compromise.
# Ubuntu/Debian
sudo cp ~/fastgithub/publish/cacert/fastgithub.crt /usr/local/share/ca-certificates/
sudo update-ca-certificates
# macOS
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ~/fastgithub/publish/cacert/fastgithub.crt
The macOS command uses sudo to add the certificate as a trusted root in the System keychain, which is a privileged, security-sensitive change. In this context, that enables broad TLS trust for the proxy certificate and could facilitate interception of HTTPS traffic if abused.
sudo update-ca-certificates
# macOS
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ~/fastgithub/publish/cacert/fastgithub.crt
# Windows (需要管理员权限)
# 双击证书文件 -> 安装到"受信任的根证书颁发机构"
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
3. **系统要求** — Linux (x64), macOS, Windows
4. **权限** — 需要 sudo 安装 CA 证书
---
The script launches a long-lived background process with nohup and leaves it running beyond the install session, which creates session persistence inside the workspace. In this skill context, that process is a local HTTP proxy and the script also encourages use of it via proxy environment variables, so an unreviewed or compromised binary could continue intercepting or influencing subsequent network traffic after installation.
# 启动服务
echo "正在启动 FastGithub..."
cd "$INSTALL_DIR/publish"
nohup ./fastgithub > /workspace/fastgithub.log 2>&1 &
sleep 2
# 验证启动
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
sleep 1
cd /workspace/skills/fastgithub/publish
nohup ./fastgithub > /workspace/fastgithub.log 2>&1 &
sleep 2
if pgrep -f "fastgithub" > /dev/null; then
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
sleep 1
cd /workspace/skills/fastgithub/publish
nohup ./fastgithub > /workspace/fastgithub.log 2>&1 &
sleep 2
if pgrep -f "fastgithub" > /dev/null; then
This shell script includes user-facing messages only in Chinese, such as the startup status lines and comments, with no indication that the skill is region-specific or that users can opt into a preferred language. That creates a natural-language policy issue because the skill effectively forces a specific language for interaction.
The script unconditionally runs pkill -f fastgithub, which is a destructive action that terminates matching processes. While it reports success or failure afterward, there is no prior confirmation prompt, cautionary comment, or other user-facing warning before the irreversible stop action occurs.
The documentation, trigger phrases, and usage guidance are all presented in Chinese, which may impose a language requirement on users without opt-in. The file does not indicate that the skill is region-specific or provide an alternative language option.
The script's comments and all user-facing echo messages are in Chinese, which imposes a specific language on users with no opt-in or alternative locale. This matches the policy category for language or locale constraints appearing in natural-language content within code files.
The script includes natural-language comments and output messages only in Chinese, such as the stop status messages. This can violate language/locale policy expectations when no user opt-in or documented locale constraint is provided.
No suspicious patterns detected.