mpq-quote@r1
CAUTION· install onlyPublisher 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.
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-07, mpq-quote@r1 read no files and called no hosts, and its code names no environment variables. Coverage: install only.
Files read
None recorded.
Hosts called
None recorded.
Environment variables its code names
None found.
Names only, read from the code. We never hold a value.
Tools offered
No tool list recorded.
Changes since the prior version
No prior version with a result to compare.
What we did not test
- use of the skill by an agent
| Run date | 2026-11-07 |
| Coverage | install only |
| Engine | 1.9.2, script@linux |
| Reproduce | npx -y vet-skills try mpq-quote |
| This record | behavior.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
Code inventory arrives with this version's next honeypot run.- It will ask for
- unknown until the next run
- Where it talks to
- unknown until the next run
- What we saw when it ran
- no credential files read · no network
- What we could not test
- use of the skill by an agent
Not enough was observed to say yet. Nothing executable in the bundle ran; the trace covers the install step only. This version's code has not been inventoried for credentials and hosts either; both arrive with its next honeypot run (popular servers first). `vet-skills try mpq-quote` runs it now and prints the full answer.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
Is mpq-quote@r1 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-07 and scored it 77/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: URL with embedded credentials; URL with embedded credentials; Access to sensitive file paths. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 0 s · 1 scenarios · 0 deviationsStatic findings
# 备份脚本第一版的头注释里白纸黑字写着「绝不备份 .env」,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.if 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.# **但代码里根本没有那条 exclude**,tar 把 .env 一起拷了进去 ——Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.chmod -R go-rwx "${FAKE_APP}"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.# - **绝不放真资产**:假 .env、假 app 目录、空 price-tables、自建的假 DBFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.+ "'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.# ② 正常版 → 必须 exit 0 + 备份里 .env* = 0Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.chown -R root:root "$DEST" 2>/dev/null || trueFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.mkdir -p "${OUT_BAD}"; chmod 700 "${OUT_BAD}"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.chmod 700 "${WORK}"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts."'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.# - scratch 目录用 mktemp -d 并**立刻 chmod 700**(/tmp 是 1777,别用默认权限放东西)Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.chmod 700 "$BACKUP_DIR"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.chmod 700 "${BAD}"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.`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.chmod 775 "$APP/app" "$APP/app/pricing" "$APP/web"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.chmod 700 "$TMP"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.echo "secret" > "$APP/.env"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.chmod 600 "$APP/.env" "$APP/price-tables/原料价格表_短纤类.xlsx"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.trap '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.p = 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.r = 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.("非 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.rm -f /tmp/_jscheck.errFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.rm -f /tmp/_append_null.txtFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.p = 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.p = 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.p = 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.[ "$(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.chmod 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.chmod 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.chmod 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.p = 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.echo "x" > "$APP/.env.example"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.git -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.("非 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.chmod 700 "$DEST"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.[ -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.发版后手动跑 `--check` **必然误报**。已在 `deploy.sh` 里给那几处加 `chmod 600`(见坑 30)。Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.`.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.(实测残留进去的是**带活令牌**的 `.env.bak.*`)。清单只记 git 跟踪的文件,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.所以 `.env` / `data/` / `price-tables/` 天然不在清单里,绝不会被碰Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# (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.# 有就删掉整份备份并以退出码 1 失败。(第一版就是靠注释"声明"不备份 .env,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.export 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.ENV_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.# ★ 备份里**绝不能有 .env**(令牌/密钥进过备份文件正是这次事故的根源:Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.PRUNE='( -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.# 这一条**不靠注释靠断言**:脚本尾部会检查备份里有没有 .env*,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# ./.env **真的**环境变量(必须 600;它也不来自 git,是服务器上单独维护的)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."未配置公网地址:请在服务器 .env 里设置 "Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.- 只保留最后一段(防 ``../../etc/passwd`` 这类路径穿越)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.data/*|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.生产在 .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.# ./.env.example 是占位模板,要跟普通文件一样收口。Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.4. 扫描要**排除 `.env.example`**(占位模板)。不排除 → 每次发版都误报 → 护栏天天拦人Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# .env.bak 被烤进镜像层 → 活的 MCP 管理员令牌泄漏)。Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# 服务器上的 .env / data/ / price-tables/ 不在 git 里、永远不在清单里,所以绝不会被碰。Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# .env 必须保持 600(它不在归档里,是服务器上单独维护的活凭证)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.→ 症状:后台「MCP 接入」页显示 `http://172.19.0.2:8000/mcp` —— 内网地址,Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.→ 症状:后台「MCP 接入」页显示 `http://172.19.0.2:8000/mcp` —— 内网地址,Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.# ★ `--exclude='./.env*'` 是**真代码**,不是注释里的声明。Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# 文件不得 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."""运行配置:全部可用环境变量覆盖,附 .env.example。"""Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.- .envFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.ssh "$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.等于又开了一个新的暴露面。**scratch 目录一律 `chmod 700`、里面文件 600**,Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.find . $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.→ 修法二选一:① 写标记时显式 `chmod 600`(**全树统一 600,更省心** —— 本仓库采用这个)Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.- **发版前别打断构建**(不要 kill ssh / 不要让本地超时)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.find . $PRUNE -type d -exec chmod 700 {} + 2>/dev/null || trueFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.chmod 700 price-tables 2>/dev/null || trueFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.(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.find . $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.(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.chmod 750 data 2>/dev/null || trueFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.# ★ chmod 600:这两个标记文件是**收口之后**才写的,会带上服务器 umask(0027 → 640)→Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.ssh -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.# > /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.(agent-web 两个服务都是 `User=agentweb`,而文件属主也是 agentweb → `chmod 600` 后服务照常读)Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.# chmod +x deploy/renewal-hook.shFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.Cost to the agent
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
3 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- 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.
- 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.
- 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.
- Access to sensitive file paths≈ +2 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- File permission modification command≈ +2 on the totalRequest the narrowest permission that works; replace wildcards with the exact paths or hosts.
- Python subprocess execution detected≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.