
Security News
PHP Patches Critical RCE Vulnerabilities, Organizations Urged to Take Unpatched Sites Offline
PHP releases emergency patches for two critical RCE vulnerabilities as agencies urge organizations to take unpatched sites offline.
dsh-zcode-image-search
Advanced tools
DSH port of the ZCode image-search MCP server: find illustrations and reference images.
English | 中文
An unofficial DeepSeek Harness port of the ZCode built-in image search plugin: an MCP server that finds illustrations and reference images.
The upstream declaration is copied verbatim; only the transport wiring changes, because DSH's MCP client takes an explicit endpoint and headers instead of ZCode's zcode_official JWT auth scheme.
| Upstream | Value |
|---|---|
| ZCode plugin | image-search 0.1.1, license Apache-2.0, author Z.ai |
| Endpoint | ${ZCODE_BASE_URL}/api/v1/mcp/server/image_search |
| Auth | zcode_official, provider jwt_token |
| Timeout | 90000 ms |
The original files ship verbatim as mcp.json, zcode-plugin.json, and upstream-README.md.
dsh plugin --profile <profile> add dsh-zcode-image-search
dsh plugin --profile <profile> add ./packages/image-search
ZCode's zcode_official / jwt_token scheme resolves to two request headers. This plugin reproduces both, reading each setting from the process environment first, then $DSH_HOME/.env:
| Variable | Required | Meaning | ZCode source |
|---|---|---|---|
ZCODE_BASE_URL | no | Endpoint origin; defaults to the copied https://zcode.z.ai. | ZCODE_BASE_URL / ZCODE_ENDPOINT_ORIGIN |
ZCODE_JWT_TOKEN | yes | Account JWT sent as Authorization: Bearer <token>. | credential zcodejwttoken |
ZCODE_CODING_PLAN_TOKEN | yes | Coding-plan credential sent as X-Bigmodel-Authorization. | account-provider:coding-plan:...:api-key |
The package ships no credential, so each installation supplies its own values. On a machine that already has ZCode, copy them out of ~/.zcode/v2/credentials.json:
# ZCode encrypts these values as enc:v1:<iv>.<tag>.<data> (AES-256-GCM).
# The key is SHA-256 of $ZCODE_CREDENTIAL_SECRET, or of
# "zcode-credential-fallback:<platform>:<home>:<username>" when that is unset.
Put the three variables in $DSH_HOME/.env (mode 600) or export them in the DSH environment. Without credentials the row still activates (failOnStartupError: false) and exposes no tools instead of failing the boot.
The endpoint authenticates the copied JWT — a wrong or missing credential answers {"code":1006,"message":"no permission"} — but it only opens a session for an account with the coding plan, otherwise it answers:
{"jsonrpc":"2.0","id":1,"error":{"code":3101,"message":"coding plan is required"}}
MCP initialize fails on that response, so no tools are registered even though the URL and credentials are correct. Check the entitlement in ZCode's ~/.zcode/v2/coding-plan-cache.json before expecting tools in the session.
The server's tools appear with the DSH MCP namespace, for example mcp__image_search__<tool>. The upstream server does not document a fixed tool list; discover it from the session tool catalog after the connection succeeds.
X-Bigmodel-Authorization.$DSH_HOME/.env or the environment, never in a repository.FAQs
DSH port of the ZCode image-search MCP server: find illustrations and reference images.
The npm package dsh-zcode-image-search receives a total of 0 weekly downloads. As such, dsh-zcode-image-search popularity was classified as not popular.
We found that dsh-zcode-image-search demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
PHP releases emergency patches for two critical RCE vulnerabilities as agencies urge organizations to take unpatched sites offline.

Threat Research
/Security News
A supply chain attack compromised LiteLLM 1.107.0 on PyPI and Docker, spreading malware that steals cloud credentials, developer secrets, and AI provider keys.

Security News
vlt 1.5.0 links skills from JavaScript dependencies to coding agents, with lockfile versioning and Socket data to filter out known malicious packages.