Skills/Glama/mpq-quote

mpq-quote@r2

CAUTION· install only

Publisher claims: "Enables AI clients to submit material specifications, machine, and quantity and receive a single final quote in CNY/kg with MOQ status and human-verification hints, while raw material prices and pricing formulas stay locked server-side. Also exposes machine options and a fiber/spec/process vocabulary that can be passed straight into quote requests." In our sandbox: Nothing executable in the bundle ran; the trace covers the install step only.

Registry GlamaPublisher datu0108 · publishing for 18 daysInstalls 0Last detonated 15d ago

Coverage

Nothing executable in the bundle ran; the trace covers the install step only.
Tested
every file read, file written and host contacted by what ran
Not tested
use of the skill by an agent

What this means for the label: Caution here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.

Behavior

In our sandbox run on 2026-11-10, mpq-quote@r2 read no files and called no hosts, and its code names 17 environment variables. Coverage: install only.

Files read

None recorded.

Hosts called

None recorded.

Environment variables its code names

ENV_PATH, MPQ_ADMIN_PASSWORD, MPQ_DATA_DIR, MPQ_DB_URL, MPQ_ENV_PATH, MPQ_LOGIN_MAX_FAILS, MPQ_LOGIN_WINDOW_SEC, MPQ_MCP_PORT, MPQ_MCP_TOKEN, MPQ_MCP_TOKEN_SALES, MPQ_MCP_TRANSPORT, MPQ_PRICE_TABLE_DIR, MPQ_PUBLIC_BASE_URL, MPQ_PURCHASER_PASSWORD, MPQ_SALES_PASSWORD, MPQ_SECRET_KEY, MPQ_WEB_DIR

Names only, read from the code. We never hold a value.

Tools offered

No tool list recorded.

Changes since the prior version

Compared with r1. Coverage then: install only. Coverage now: install only.

  • New credential variable: MPQ_ADMIN_PASSWORD
  • New credential variable: MPQ_MCP_TOKEN
  • New credential variable: MPQ_MCP_TOKEN_SALES
  • New credential variable: MPQ_PURCHASER_PASSWORD
  • New credential variable: MPQ_SALES_PASSWORD
  • New credential variable: MPQ_SECRET_KEY

What we did not test

  • use of the skill by an agent
Run date2026-11-10
Coverageinstall only
Engine1.9.2, script@linux
Reproducenpx -y vet-skills try mpq-quote
This recordbehavior.json, behavior.md, signed attestation

This is a record of what one version did in the runs we made. It is evidence, not a certificate.

Before you give it your token

It will ask for
MPQ_ADMIN_PASSWORDMPQ_MCP_TOKENMPQ_MCP_TOKEN_SALESMPQ_PURCHASER_PASSWORDMPQ_SALES_PASSWORDMPQ_SECRET_KEY or --reset-passwordsConfiguration, not credentials: ENV_PATH, MPQ_DATA_DIR, MPQ_DB_URL, MPQ_ENV_PATH, MPQ_LOGIN_MAX_FAILS, MPQ_LOGIN_WINDOW_SEC, MPQ_MCP_PORT, MPQ_MCP_TRANSPORT, MPQ_PRICE_TABLE_DIR, MPQ_PUBLIC_BASE_URL, MPQ_WEB_DIR
Where it talks to
no vendor host named in the code
What we saw when it ran
no credential files read · no network
What we could not test
use of the skill by an agent

Connect it with a scoped credential, under the guard. It asks for MPQ_ADMIN_PASSWORD, MPQ_MCP_TOKEN, MPQ_MCP_TOKEN_SALES, MPQ_PURCHASER_PASSWORD, MPQ_SALES_PASSWORD, MPQ_SECRET_KEY and talks to its vendor. Give the credential to the guard, not the server: the value never enters the server's environment and only travels to the host you bind. What the tools do with a real credential was not observed.

$vet-skills run --net declared -- <the server's command>

Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.

What changed since r1

vet-skills diff mpq-quote r1 r2

This version reaches for something r1 did not: 6 new credential variables (MPQ_ADMIN_PASSWORD, MPQ_MCP_TOKEN, MPQ_MCP_TOKEN_SALES, MPQ_PURCHASER_PASSWORD, …). Compared from the two recorded runs, not from source.

New credential variables
MPQ_ADMIN_PASSWORD, MPQ_MCP_TOKEN, MPQ_MCP_TOKEN_SALES, MPQ_PURCHASER_PASSWORD, MPQ_SALES_PASSWORD, MPQ_SECRET_KEY

The guard can hold an update like this until someone approves it (runtime.on_change: hold). A change that only shows with a real credential, or on a path the run did not reach, is not in a trace and so not in this comparison.

Is mpq-quote@r2 safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (1 scenario; nothing executable in the bundle ran; the trace covers the install step only) on 2026-11-10 and scored it 71/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Access to sensitive file paths; Access to sensitive file paths; URL with embedded credentials. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 0 s · 1 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.0sprocessscript backend runs setup only
0.0sprocessscript backend runs setup only
0.0sprocessno install scripts to re-run

Static findings

HIGH
Access to sensitive file pathsops/mpq-backup.sh:11 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# ★ 备份里**绝不能有 .env**(令牌/密钥进过备份文件正是这次事故的根源:Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsapp/config.py:1 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"""运行配置:全部可用环境变量覆盖,附 .env.example。"""Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
URL with embedded credentialsAGENTS.md:159 · URL with embedded credentials — may be phishing or credential leakinggit -c credential.helper= push "https://x-access-token:${GH_TOKEN}@github.com/<你的账号>/material-price-quote-system.git" mainFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST07
HIGH
Access to sensitive file pathsAGENTS.md:100 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files4. 扫描要**排除 `.env.example`**(占位模板)。不排除 → 每次发版都误报 → 护栏天天拦人Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsAGENTS.md:97 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files所以 `.env` / `data/` / `price-tables/` 天然不在清单里,绝不会被碰Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsops/fix-deploy-perms.sh:51 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files[ -f .env ] && chmod 600 .env 2>/dev/null || trueFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
URL with embedded credentialsAGENTS.md:164 · URL with embedded credentials — may be phishing or credential leaking`git push "https://x-access-token:${TOKEN}@..."` 看着没落地,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST07
HIGH
Access to sensitive file pathsAGENTS.md:219 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesexport E2E_MCP_TOKEN="$(ssh [email protected] 'grep "^MPQ_MCP_TOKEN=" /opt/material-price-quote-system/.env | cut -d= -f2-')"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsdeploy.sh:132 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# 服务器上的 .env / data/ / price-tables/ 不在 git 里、永远不在清单里,所以绝不会被碰。Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsops/fix-deploy-perms.sh:31 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesPRUNE='( -path ./data -o -path ./price-tables -o -path ./.env ) -prune -o'Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsdeploy.sh:127 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# (2026-10-23 实测:服务器残留的 .env.bak.* 带着**活的** MCP 令牌进了镜像层)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsapp/api/materials.py:126 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files- 只保留最后一段(防 ``../../etc/passwd`` 这类路径穿越)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsops/fix-deploy-perms.sh:30 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# ./.env.example 是占位模板,要跟普通文件一样收口。Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsAGENTS.md:180 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files`.env` / `*.xlsx` / `*.db` 一律不在版本库里(`.gitignore` 已覆盖 + `price-tables/README.txt` 只是说明)。Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsapp/api/admin.py:391 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"未配置公网地址:请在服务器 .env 里设置 "Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsapp/api/admin.py:313 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files生产在 .env 里配 MPQ_PUBLIC_BASE_URL=https://quote.example.com。Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsops/fix-deploy-perms.sh:29 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# ./.env **真的**环境变量(必须 600;它也不来自 git,是服务器上单独维护的)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsops/check-mcp-token.sh:17 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesENV_PATH="${MPQ_ENV_PATH:-/opt/material-price-quote-system/.env}"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsops/fix-deploy-perms.sh:50 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# .env 必须保持 600(它不在归档里,是服务器上单独维护的活凭证)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsdeploy.sh:148 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesdata/*|price-tables/*|.env|.env.*|.deploy_*|.deployed_commit|.deploy_manifest) continue ;;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsdeploy.sh:161 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# 文件不得 group/other 可读、目录不得 group/other 可写、.env 必须 600、Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsAGENTS.md:96 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files(实测残留进去的是**带活令牌**的 `.env.bak.*`)。清单只记 git 跟踪的文件,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
File permission modification commanddeploy.sh:200 · File permission modification command — agent changes file ownership/permissions(nohup sh -c 'docker compose build > $BUILD_LOG 2>&1; echo \$? > $DONE; chmod 600 $DONE' > /dev/null 2>&1 &) && \Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandtests/test_deploy_perms.sh:37 · File permission modification command — agent changes file ownership/permissionschmod 664 "$APP/app/pricing/rules.py" "$APP/web/common.js" "$APP/.env.example" "$APP/price-tables/README.txt"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Access to sensitive file pathstests/test_backup_guard.sh:17 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# - **绝不放真资产**:假 .env、假 app 目录、空 price-tables、自建的假 DBFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
File permission modification commandops/mpq-backup.sh:40 · File permission modification command — agent changes file ownership/permissionschmod 700 "$DEST"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Destructive file system command detectedtests/test_js_syntax.sh:144 · Destructive file system command detectedrm -f /tmp/_append_null.txtFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File permission modification commandops/fix-deploy-perms.sh:45 · File permission modification command — agent changes file ownership/permissionsfind . $PRUNE -type f -perm -u+x -exec chmod 700 {} + 2>/dev/null || trueFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commanddeploy.sh:335 · File permission modification command — agent changes file ownership/permissions# ★ chmod 600:这两个标记文件是**收口之后**才写的,会带上服务器 umask(0027 → 640)→Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Access to sensitive file pathstests/_guard.py:63 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"'grep \"^MPQ_ADMIN_PASSWORD=\" /opt/material-price-quote-system/.env | cut -d= -f2-')\"")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Process kill commandAGENTS.md:128 · Process kill command — agent can terminate processes- **发版前别打断构建**(不要 kill ssh / 不要让本地超时)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Access to sensitive file pathstests/test_admin_ui_browser.mjs:57 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files+ "'grep \"^MPQ_ADMIN_PASSWORD=\" /opt/material-price-quote-system/.env | cut -d= -f2-')\"");Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
File permission modification commandops/mpq-backup.sh:23 · File permission modification command — agent changes file ownership/permissions# > /etc/cron.d/mpq-backup && chmod 644 /etc/cron.d/mpq-backupFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandAGENTS.md:582 · File permission modification command — agent changes file ownership/permissions(agent-web 两个服务都是 `User=agentweb`,而文件属主也是 agentweb → `chmod 600` 后服务照常读)Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandtests/test_deploy_perms.sh:39 · File permission modification command — agent changes file ownership/permissionschmod 775 "$APP/app" "$APP/app/pricing" "$APP/web"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Access to sensitive file pathstests/test_deploy_perms.sh:37 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system fileschmod 664 "$APP/app/pricing/rules.py" "$APP/web/common.js" "$APP/.env.example" "$APP/price-tables/README.txt"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
File permission modification commandAGENTS.md:681 · File permission modification command — agent changes file ownership/permissions→ 修法二选一:① 写标记时显式 `chmod 600`(**全树统一 600,更省心** —— 本仓库采用这个)Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Python subprocess execution detectedtests/test_business_flow.py:294 · Python subprocess execution detectedp = subprocess.run(["ssh", "-o", "ConnectTimeout=10", CLEANUP_SSH, cmd],Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Access to sensitive file pathstests/test_backup_guard.sh:5 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# 备份脚本第一版的头注释里白纸黑字写着「绝不备份 .env」,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
File permission modification commandops/fix-deploy-perms.sh:49 · File permission modification command — agent changes file ownership/permissionschmod 750 data 2>/dev/null || trueFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Access to sensitive file pathstests/test_backup_guard.sh:11 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# ② 正常版 → 必须 exit 0 + 备份里 .env* = 0Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
File permission modification commandtests/test_backup_guard.sh:118 · File permission modification command — agent changes file ownership/permissionschmod -R go-rwx "${FAKE_APP}"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commanddeploy/renewal-hook.sh:5 · File permission modification command — agent changes file ownership/permissions# chmod +x deploy/renewal-hook.shFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandtests/test_backup_guard.sh:153 · File permission modification command — agent changes file ownership/permissionsmkdir -p "${OUT_BAD}"; chmod 700 "${OUT_BAD}"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandops/mpq-backup.sh:95 · File permission modification command — agent changes file ownership/permissionschown -R root:root "$DEST" 2>/dev/null || trueFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commanddeploy.sh:338 · File permission modification command — agent changes file ownership/permissionsssh "$SERVER" "echo $FULL > $DIR/.deployed_commit && chmod 600 $DIR/.deployed_commit"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandops/mpq-backup.sh:38 · File permission modification command — agent changes file ownership/permissionschmod 700 "$BACKUP_DIR"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandops/fix-deploy-perms.sh:44 · File permission modification command — agent changes file ownership/permissionsfind . $PRUNE -type f ! -perm -u+x -exec chmod 600 {} + 2>/dev/null || trueFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Python subprocess execution detectedtests/test_e2e.py:132 · Python subprocess execution detectedp = subprocess.run(["ssh", "-o", "ConnectTimeout=10", CLEANUP_SSH, cmd],Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Access to sensitive file pathsdocker-compose.yml:8 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files- .envFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Destructive file system command detectedtests/test_js_syntax.sh:36 · Destructive file system command detectedrm -f /tmp/_jscheck.errFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File permission modification commandops/fix-deploy-perms.sh:48 · File permission modification command — agent changes file ownership/permissionschmod 700 price-tables 2>/dev/null || trueFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
HIGH
Access to sensitive file pathsops/mpq-backup.sh:14 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# 有就删掉整份备份并以退出码 1 失败。(第一版就是靠注释"声明"不备份 .env,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Access to sensitive file pathstests/test_backup_guard.sh:59 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesif printf '%s\n' "${CODE_LINES}" | grep -qF -- "--exclude='./.env*'"; thenFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsops/mpq-backup.sh:12 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# .env.bak 被烤进镜像层 → 活的 MCP 管理员令牌泄漏)。Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsops/mpq-backup.sh:13 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# 这一条**不靠注释靠断言**:脚本尾部会检查备份里有没有 .env*,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
File permission modification commandtests/test_deploy_perms.sh:26 · File permission modification command — agent changes file ownership/permissionstrap 'chmod -R u+w "$TMP" 2>/dev/null; find "$TMP" -depth -delete 2>/dev/null' EXITFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commanddeploy.sh:86 · File permission modification command — agent changes file ownership/permissionsssh -q "$SERVER" "echo $PREV_COMMIT > $DIR/.deployed_commit && chmod 600 $DIR/.deployed_commit" 2>/dev/null || trueFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandtests/test_deploy_perms.sh:25 · File permission modification command — agent changes file ownership/permissionschmod 700 "$TMP"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandtests/test_backup_guard.sh:16 · File permission modification command — agent changes file ownership/permissions# - scratch 目录用 mktemp -d 并**立刻 chmod 700**(/tmp 是 1777,别用默认权限放东西)Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Python subprocess execution detectedtests/test_business_flow.py:71 · Python subprocess execution detectedp = subprocess.run(["ssh", "-o", "ConnectTimeout=10", CLEANUP_SSH, cmd],Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Access to sensitive file pathstests/test_deploy_perms.sh:33 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesecho "x" > "$APP/.env.example"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
File permission modification commandAGENTS.md:588 · File permission modification command — agent changes file ownership/permissions等于又开了一个新的暴露面。**scratch 目录一律 `chmod 700`、里面文件 600**,Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandops/fix-deploy-perms.sh:46 · File permission modification command — agent changes file ownership/permissionsfind . $PRUNE -type d -exec chmod 700 {} + 2>/dev/null || trueFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commanddeploy.sh:260 · File permission modification command — agent changes file ownership/permissions(nohup sh -c 'docker compose up -d --force-recreate > $BUILD_LOG 2>&1; echo \$? > $DONE; chmod 600 $DONE' > /dev/null 2>&1 &)"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandtests/test_backup_guard.sh:145 · File permission modification command — agent changes file ownership/permissionschmod 700 "${BAD}"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Access to sensitive file pathstests/test_deploy_perms.sh:53 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files[ "$(mode_of "$APP/.env.example")" = "600" ]; check $? ".env.example(占位模板)→ 600"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Access to sensitive file pathstests/test_deploy_perms.sh:34 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesecho "secret" > "$APP/.env"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Access to sensitive file pathstests/test_deploy_perms.sh:38 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system fileschmod 600 "$APP/.env" "$APP/price-tables/原料价格表_短纤类.xlsx"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
File permission modification commandAGENTS.md:443 · File permission modification command — agent changes file ownership/permissions发版后手动跑 `--check` **必然误报**。已在 `deploy.sh` 里给那几处加 `chmod 600`(见坑 30)。Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandtests/test_deploy_perms.sh:38 · File permission modification command — agent changes file ownership/permissionschmod 600 "$APP/.env" "$APP/price-tables/原料价格表_短纤类.xlsx"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Access to sensitive file pathstests/test_backup_guard.sh:6 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# **但代码里根本没有那条 exclude**,tar 把 .env 一起拷了进去 ——Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsops/mpq-backup.sh:64 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# ★ `--exclude='./.env*'` 是**真代码**,不是注释里的声明。Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
File permission modification commandtests/test_backup_guard.sh:35 · File permission modification command — agent changes file ownership/permissionschmod 700 "${WORK}"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Python subprocess execution detectedtests/test_mcp_client.py:82 · Python subprocess execution detectedp = subprocess.run(["ssh", "-o", "ConnectTimeout=10", "-o", "BatchMode=yes",Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Dense URL-encoded contenttests/test_quote_delete.py:142 · Dense URL-encoded content — may be obfuscating payloadsr = admin.delete(f"/api/quotes/{qid}?reason=%E6%B5%8B%E8%AF%95%E5%88%A0%E5%8D%95")Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST07
MEDIUM
Hex-encoded string detectedtests/test_mcp_token_forms.py:92 · Hex-encoded string detected — may contain obfuscated payloads("非 ASCII 令牌(手滑传中文)", lambda: {"Authorization": b"Bearer \xe4\xbb\xa4\xe7\x89\x8c"}),Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST07
MEDIUM
Hex-encoded string detectedtests/test_mcp_token_forms.py:93 · Hex-encoded string detected — may contain obfuscated payloads("非 ASCII 裸令牌", lambda: {"Authorization": b"\xe4\xbb\xa4\xe7\x89\x8c"}),Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST07
LOW
URL to a private-network addressAGENTS.md:643 · URL to a private-network address — a LAN or development target→ 症状:后台「MCP 接入」页显示 `http://172.19.0.2:8000/mcp` —— 内网地址,Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07
MEDIUM
Python subprocess execution detectedtests/test_mcp_client.py:94 · Python subprocess execution detectedp = subprocess.run(["ssh", "-o", "ConnectTimeout=10", "-o", "BatchMode=yes",Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedtests/test_quote_delete.py:80 · Python subprocess execution detectedsubprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05

Cost to the agent

Instructions loaded
≈10,124 tok
2 files · 62 in bundle

Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.

Known vulnerabilities

Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.

What would make this Verified

9 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%
  1. Unclaimed publisher≈ +8 on the totalClaim datu0108: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
  2. Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
  3. URL with embedded credentials≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
  4. New publisher≈ +3 on the totalTime clears this on its own after 14 and 30 days. Claiming the handle (+50) is the fastest way past it.
  5. File permission modification command≈ +2 on the totalRequest the narrowest permission that works; replace wildcards with the exact paths or hosts.
  6. Destructive file system command detected≈ +2 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
Publish a new version to Glama, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim datu0108Propose a patch to the maintainer