Claude Code, Skill
Shoplazza Cli
中文版 | English
Compatibility: Not stated.
Grade D
Two or more Medium findings, or a High. Only try it in a sandbox.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
INSTALL_LIFECYCLE_HOOK OBFUSCATION_MINIFIED_PAYLOAD
Why this grade
- INSTALL_LIFECYCLE_HOOK Medium
A package install hook (preinstall, install, postinstall or prepare) runs a script.
README.zh.md, line 48
| **一键脚本**(macOS / Linux) | `curl -fsSL https://raw.githubusercontent.com/Shoplazza/shoplazza-cli/main/install.sh \| bash` | 自动检测系统和架构。 | - OBFUSCATION_MINIFIED_PAYLOAD Medium
Contains a very long line with almost no spaces in a script or style file.
internal/registry/cli_meta_v202601_en.json, line 1
{
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
If you think this grade is wrong, email [email protected] with the entry link and your evidence. We aim to acknowledge within two working days and decide within seven. If we confirm an error, we aim to correct it within 24 hours of confirming it. These are aims, not guarantees.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Note
requests shell access. The manifest names this permission.
PERMISSION_SHELL_DECLARED
cmd/app/generate_test.go, line 31
cmd := exec.Command("git", args...)
cmd/app/init.go, line 30
c := exec.CommandContext(ctx, "git", "clone", "--depth", "1", gitURL, dest)
cmd/app/init_test.go, line 33
cmd := exec.Command("git", args...)
Show more
cmd/checkoutext/dev.go, line 78
c := exec.CommandContext(cmd.Context(), nodePath, args...)
cmd/checkoutext/dev_test.go, line 45
cmd := exec.Command("sh", "-c", script)
cmd/completion/completion.go, line 31
shoplazza completion powershell | Out-String | Invoke-Expression`,
cmd/update/update.go, line 37
out, err := exec.CommandContext(ctx, npmPath, "view", npmPackage, "version").Output()
cmd/update/update.go, line 44
c := exec.CommandContext(ctx, npmPath, "install", "-g", npmPackage+"@latest")
Install and update
Concern
runs a script at install time. README documents an installer that pipes a download into a shell. The docs document an installer that pipes a download into a shell.
INSTALL_LIFECYCLE_HOOK INSTALL_DOCUMENTED_INSTALLER
README.zh.md, line 48
| **一键脚本**(macOS / Linux) | `curl -fsSL https://raw.githubusercontent.com/Shoplazza/shoplazza-cli/main/install.sh \| bash` | 自动检测系统和架构。 |
install.sh, line 6
# curl -fsSL https://raw.githubusercontent.com/Shoplazza/shoplazza-cli/main/install.sh | bash
package.json, line 9
postinstall
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
install.sh, line 58
if command -v curl >/dev/null 2>&1; then
install.sh, line 59
tag="$(curl -fsSL "$url" | grep '"tag_name"' | head -1 | sed 's/.*"v\([^"]*\)".*/\1/')"
install.sh, line 60
elif command -v wget >/dev/null 2>&1; then
Show more
install.sh, line 61
tag="$(wget -qO- "$url" | grep '"tag_name"' | head -1 | sed 's/.*"v\([^"]*\)".*/\1/')"
install.sh, line 63
echo "Error: curl or wget is required" >&2
install.sh, line 81
if command -v curl >/dev/null 2>&1; then
install.sh, line 82
curl -fsSL "$url" -o "$dest"
install.sh, line 83
elif command -v wget >/dev/null 2>&1; then
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
cmd/app/dev.go, line 118
// Load <root>/.env so NGROK_AUTHTOKEN / NGROK_DOMAIN are available to
cmd/app/dev.go, line 121
loadDotEnv(filepath.Join(p.Root, ".env"))
cmd/app/dev.go, line 124
// env/.env value. When the flag is given, persist it to <root>/.env
Show more
cmd/app/dev.go, line 126
// flag (v1 parity: v1 prompts then writes .env). It is only consumed if
cmd/app/dev.go, line 130
ngrokToken = os.Getenv("NGROK_AUTHTOKEN")
cmd/app/dev.go, line 133
envPath := filepath.Join(p.Root, ".env")
cmd/app/dev.go, line 208
// --write-urls is local-only and best-effort, like the .env write.
cmd/app/dev.go, line 241
"Saved to <project>/.env as NGROK_AUTHTOKEN and reused on later runs, so you only pass it once. "+
cmd/app/dev.go, line 285
// upsertDotEnv sets key=value in the .env file at path, preserving every other
cmd/app/dev_test.go, line 81
if got := os.Getenv("NGROK_AUTHTOKEN"); got != "tok123" {
internal/cmdutil/require_auth.go, line 50
if token := os.Getenv("SHOPLAZZA_ACCESS_TOKEN"); token != "" {
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Concern
contains a minified payload.
OBFUSCATION_MINIFIED_PAYLOAD
internal/registry/cli_meta_v202601_en.json, line 1
{
internal/theme/watch/assets/livereload.min.js, line 1
!function e(t,r,o){function n(s,c){if(!r[s]){if(!t[s]){var a="function"==typeof require&&require;if(!c&&a)return a(s,!0);if(i)return i(s,!0);var u=new Error("Cannot find module '"+
internal/themeext/templates/basic/theme-app/locales/en-US.json, line 1
{
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 71e568641df2. requests shell access. The manifest names this permission. runs a script at install time. README documents an installer that pipes a download into a shell. The docs document an installer that pipes a download into a shell. can reach a host that is not written as a fixed address. reads a credential or environment file. contains a minified payload.
Date and source
Date checked:
github.com
Commit graded: 71e568641df27d901a648fbbafb3d085186df80c
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.