xianyu-mcp-server@1.0.0
VERIFIED· not startedPublisher claims: "基于 pyxianyu 的闲鱼 MCP 服务(Goofish MCP Server by DoLovya)" Observed in sandbox: no network, touches nothing outside the project, writes no memory.
Coverage
Not started: dependency install failed; the server itself was not observed.- Tested
- the dependency install step · every file read, file written and host contacted by what ran
- Not tested
- server startup · the tool list · tool behavior
What this means for the label: Verified 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.
Before you give it your token
- It will ask for
- no credential variables read in the code
- Where it talks to
- no vendor host named in the codeAlso goofish.com, plot.ly — not the publisher's domain; check what for before connecting.
- What we saw when it ran
- no credential files read · no network
- What we could not test
- server startup · the tool list · tool behavior
Connect it under the guard. Not started: dependency install failed; the server itself was not observed. The code names no credential variable; the guard pins the network to what the honeypot saw and logs every call.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; not started: dependency install failed; the server itself was not observed) on 2026-11-21 and scored it 84/100 (Verified). In what ran, nothing we could detect went wrong: no undeclared network egress, no credential reads, no persistent instruction writes. What it does with a real credential was not observed; the static findings and the publisher carry the rest of the score. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 0 s · 2 scenarios · 0 deviationsStatic findings
- Do NOT copy `<context>`, `<rules>`, `<project_context>` blocks into the artifactFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct._write_env_cookie(self._repo_root / ".env", cookie_str)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.- Do NOT copy `<context>`, `<rules>`, `<project_context>` blocks into the artifactFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.return subprocess.run(cmd, capture_output=True, text=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."大部分工具调用前请先在 .env 中配置 XIANYU_COOKIE 或 XIANYU_COOKIE_FILE;如无 Cookie,可先使用 qr_login_* 工具扫码获取。"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.if importlib.util.find_spec("dotenv") is not None:Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.subprocess.run(["open", str(face_path)], check=False)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."未配置闲鱼 Cookie。请在 .env 中填写 XIANYU_COOKIE,或提供 XIANYU_COOKIE_FILE。"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.subprocess.run(["open", verification_url], check=False)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.str(self._repo_root / ".env"),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."""可选加载 .env.local / .env(不强依赖 python-dotenv)。Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.document.getElementById("envWritten").textContent = st.env_written ? "已写入 .env" : "未写入";Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.files = [os.path.join(root, ".env.local"), os.path.join(root, ".env")]Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.def qr_login_save_env(session_id: str, env_path: str = ".env") -> str:Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.subprocess.run(["open", str(out_path)], check=False)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.load_dotenv(_REPO_ROOT / ".env")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.return subprocess.run(cmd, cwd=str(cwd or REPO_ROOT), env=env, capture_output=capture, text=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.# 当前 os.environ 优先级最高(覆盖 .env.local/.env 中的值)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# docker run -it --env-file .env pyxianyuFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.(repo / ".env").write_text('XIANYU_COOKIE="from_dotenv"\n', encoding="utf-8")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.(repo / ".env").write_text("", encoding="utf-8")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.if importlib.util.find_spec("importlib.metadata"):Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.if importlib.util.find_spec("importlib.metadata"):Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# Re-read .env on every tool invocation so a long-lived MCP process canFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.load_dotenv(_REPO_ROOT / ".env", override=False)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.Cost to the agent
Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.
Known vulnerabilities
No advisories in OSV for xianyu-mcp-server@1.0.0 as of 46 min ago. This is the package itself, not its dependencies.