china-mirror-skills

AdvisoryAudited by Static analysis on Apr 30, 2026.

Overview

No suspicious patterns detected.

Findings (0)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

If your proxy setting contains a password or token, running diagnostics or setup may reveal it in output.

Why it was flagged

The helper collects and logs complete proxy environment variable values. Proxy URLs can contain usernames, passwords, or tokens, so printing the full value can place credentials into the agent transcript or logs.

Skill content
found_proxy="${found_proxy}${var}=${!var}; " ... log_warn "Proxy environment variables detected: $proxy_env"
Recommendation

Redact proxy values before printing them, or only show variable names/hostnames. Users should avoid running this with credential-bearing proxy URLs unless the output is masked.

What this means

Private Go module paths may be sent to a public or third-party Go proxy instead of staying private.

Why it was flagged

The Go setup persists an empty GOPRIVATE value in the user's shell profile. This can override a user's private-module protection and affect future Go commands across sessions.

Skill content
export GOPROXY="${proxy_url},direct"
export GO111MODULE=on
export GOPRIVATE=""
Recommendation

Preserve any existing GOPRIVATE value, ask before changing it, and document how users should configure private module patterns.

What this means

The skill can change system package sources and development-tool configuration, which may affect future installs and updates.

Why it was flagged

The skill documents sudo-capable setup scripts and overwrite/yes flags. This is aligned with configuring package mirrors, but it is high-impact local configuration authority.

Skill content
| APT (Ubuntu/Debian) | `sudo scripts/apt/setup.sh` | tuna |
| Docker CE + Hub | `sudo scripts/docker/setup.sh` | tuna |
...
- `-f / --force` — force overwrite
- `-d / --dry-run` — preview changes without applying
- `-y / --yes` — skip confirmation prompts
Recommendation

Use dry-run first, review the mirror URLs, keep backups, and avoid --yes/--force unless you are sure.

What this means

Sensitive configuration values could be duplicated locally in backup files.

Why it was flagged

The backup tool may copy configuration files that sometimes contain tokens, proxy settings, or other secrets into the local backup area.

Skill content
["npm"]="${HOME}/.npmrc"
["github"]="${HOME}/.gitconfig"
["go"]="${HOME}/.bash_profile,${HOME}/.zshrc"
...
backup_file "$file" "$tool"
Recommendation

Check backup permissions and avoid broad --all backups if your config files contain secrets, or redact token-bearing files before backup.