Zxilly/cangjie-mcp
帮助 llm 理解仓颉语法和标准库的 MCP
13f353fef989cangjie-mcp0.5.0 in pyproject.tomlPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 2 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
Top risks in plain words
- CRITICAL32 production dependencies have known vulnerabilities (worst: critical).
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Update its vulnerable packages
Use
anyhow1.0.103 or later,cookie0.18.3 or later,crossbeam-epoch0.9.20 or later,faster-hex0.10.1 or later and 23 more. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 2 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
cangjie_lspcangjie_lspcangjie_lspNo tool was seen to: connect to the internet or other hosts; read passwords, tokens or keys; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files1 tool · cangjie_lsp
Not all three are present in the tools the scanner traced.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (2: 2 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
cangjie_lsptool Unified Cangjie LSP entry point. Use operation to run definition, references, hover, document_symbol, diagnostics, workspace_symbol, incoming_calls, outgoing_caProcessesFilesEnv varsoutside text
Unified Cangjie LSP entry point. Use operation to run definition, references, hover, document_symbol, diagnostics, workspace_symbol, incoming_calls, outgoing_calls, and type hierarchy.
cangjie_search_docstool Search Cangjie documentation using semantic search. Performs similarity search across all indexed documentation. Returns matching sections ranked by relevance w
Search Cangjie documentation using semantic search. Performs similarity search across all indexed documentation. Returns matching sections ranked by relevance with code examples and pagination support (use offset/top_k). Supports filtering by category (e.g. 'stdlib', 'syntax') and stdlib package name (e.g. 'std.collection', 'std.fs').
Text the model reads (2)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
cangjie_lsp tool
Unified Cangjie LSP entry point. Use operation to run definition, references, hover, document_symbol, diagnostics, workspace_symbol, incoming_calls, outgoing_calls, and type hierarchy.
cangjie_search_docs tool
Search Cangjie documentation using semantic search. Performs similarity search across all indexed documentation. Returns matching sections ranked by relevance with code examples and pagination support (use offset/top_k). Supports filtering by category (e.g. 'stdlib', 'syntax') and stdlib package name (e.g. 'std.collection', 'std.fs').
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 2 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 2 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 2 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 2 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 2 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processes1 of 2 capabilities start processes; 1 more call code the scanner could not follow, where it may happen
- Tools that touch files1 of 2 capabilities touch files; 1 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 2 capabilities; 2 more call code the scanner could not follow, where it may happen
Where the code is: 2 handlers in 1 file at commit 13f353fef989
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests16 manifests: Cargo.toml, cangjie-core/Cargo.toml, cangjie-indexer/Cargo.toml, cangjie-lsp/Cargo.toml, cangjie-mcp-cli/Cargo.toml
- Lockfiles checked against OSV8 files resolved and checked against the OSV database; 9 not resolved: cangjie-core/Cargo.toml: dependency ranges declared here were not resolved against a lockfile and were not checked; cangjie-indexer/Cargo.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
- Known vulnerabilities in production dependencies CRITICAL32 production packages with known advisories
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionrmcp 1.7
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 2 capabilities; 2 more call code the scanner could not follow, where it may happen
- Environment variables1 capability reads environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (32 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
zipcrates.io 7.2.0 CRITICAL 13 advisories 9.0.09.0.5
- CRITICALGHSA-m665-v7pm-7grj CVE-2026-115905 RUSTSEC-2026-0548zip: Critical Parser Differential & Security Control Bypass via Dual-Header Inconsistencies (Zip Cloaking) Leading to Arbitrary File Overwrite & RCE
- HIGHGHSA-q7v9-x93c-xqv3 CVE-2026-115909 RUSTSEC-2026-0429zip: Unbounded Symlink-Target Handling Can Abort Or Exhaust Memory During Extraction
- HIGHGHSA-hjqx-j4rw-g7xv CVE-2026-115908 RUSTSEC-2026-0546zip: Arbitrary file write outside the extraction directory, because ZipArchive::extract validates symlink targets lexically.
- HIGHGHSA-9hj8-73fh-9963 CVE-2026-115907 RUSTSEC-2026-0547zip: legacy Shrink/Reduce/Implode decoder: denial of service from attacker-controlled ZIP64 uncompressed size
- MEDIUMRUSTSEC-2026-0367 GHSA-vv5m-jxxh-4627 Insecure Preservation of SUID/SGID Bits during ZIP Extraction Leading to Potential Privilege Escalation
- MEDIUMRUSTSEC-2026-0548 CVE-2026-115905 GHSA-m665-v7pm-7grj`ZipStreamReader` extracts entries under local-header names that can differ from the central directory
- MEDIUMGHSA-8hxf-qr8p-62x4 CVE-2026-115906 RUSTSEC-2026-0545zip: AES Entry HMAC Authentication Bypass on Premature EOF
- MEDIUMRUSTSEC-2026-0368 GHSA-4v9h-p7m9-rh26zip: `ZipArchive::extract` creates symbolic links whose attacker-controlled targets are outside the destination directory
- MEDIUMRUSTSEC-2026-0429 CVE-2026-115909 GHSA-q7v9-x93c-xqv3zip: `ZipArchive::extract` aborts the process on a symlink entry with a large declared size
- MEDIUMRUSTSEC-2026-0547 CVE-2026-115907 GHSA-9hj8-73fh-9963Legacy Shrink, Reduce and Implode decoders preallocate the declared uncompressed size
- MEDIUMRUSTSEC-2026-0546 CVE-2026-115908 GHSA-hjqx-j4rw-g7xv`ZipArchive::extract` can write outside the destination through absolute or chained symlink targets
- MEDIUMRUSTSEC-2026-0369 GHSA-4684-h2q9-2vcpZipStreamReader::extract() and ZipArchive::extract() apply Unix permissions through symlinks without confining the target
- MEDIUMRUSTSEC-2026-0545 CVE-2026-115906 GHSA-8hxf-qr8p-62x4AES entries returned without checking their authentication code when the data ends early or is empty
quinn-protocrates.io 0.11.14 HIGH 8 advisories 0.11.150.11.170.11.18+1 more
- HIGHGHSA-4w2j-m93h-cj5j CVE-2026-25800 RUSTSEC-2026-0185Quinn: Remote memory exhaustion in quinn-proto from unbounded out-of-order stream reassembly
- MEDIUMRUSTSEC-2026-0185 CVE-2026-25800 GHSA-4w2j-m93h-cj5j Remote memory exhaustion in quinn-proto from unbounded out-of-order stream reassembly
- MEDIUMRUSTSEC-2026-0342 GHSA-2hv7-gw8g-gpq5Zero-length DATAGRAM frames bypass the receive buffer limit in quinn-proto
- MEDIUMRUSTSEC-2026-0524 GHSA-wppq-2f6r-wfvmLong Retry token can panic or exhaust memory in a QUIC client
- MEDIUMRUSTSEC-2026-0340 GHSA-3g6h-r5qx-f6hqPeer minimum ACK delay can panic quinn-proto when ACK_FREQUENCY transmission is enabled
- MEDIUMRUSTSEC-2026-0338 GHSA-465w-v9q3-7j98Remote peer can panic quinn-proto with zero-length STREAM frames during unordered reads
- MEDIUMRUSTSEC-2026-0523 GHSA-53rm-773f-4q8cMAX_STREAM_DATA frame can open streams beyond the stream limit
- MEDIUMRUSTSEC-2026-0339 GHSA-hmxj-32vh-65vrUnbounded growth of pending connection ID retirements in quinn-proto
rmcpcrates.io 1.7.0 HIGH 5 advisories 2.0.02.1.03.9.0
- HIGHGHSA-9pj6-vhgr-3mwh CVE-2026-63128RMCP: Unauthenticated permanent session-table leak in rmcp Streamable HTTP server transport leads to remote denial-of-service
- HIGHGHSA-33f5-2c5q-wgwj CVE-2026-63127RMCP: Missing Resource Field Validation in OAuth Protected Resource Metadata Discovery
- MEDIUMGHSA-9g45-5xwm-f3wc CVE-2026-64684RMCP: Custom HTTP headers leak to cross-origin redirect targets
- MEDIUMRUSTSEC-2026-0462 GHSA-c9f9-cp8h-jcj5Unbounded response body buffering in Streamable HTTP clients
- MEDIUMGHSA-c9xm-49cp-xcr9rmcp OAuth client fetches server-controlled resource_metadata URLs
zstd-safecrates.io 7.2.4 MEDIUM 12 advisories 7.4.08.2.0
- MEDIUMRUSTSEC-2026-0402Heap buffer overflow in `CCtx::try_clone` on a multithreaded context
- MEDIUMRUSTSEC-2026-0403Uninitialized memory exposed when streaming decompression of a legacy frame fails
- MEDIUMRUSTSEC-2026-0398`Seekable::decompress` sets a `Vec` length beyond its capacity for offsets past the end
- MEDIUMRUSTSEC-2026-0396`Seekable` reads a NULL or out-of-bounds seek table
- MEDIUMRUSTSEC-2026-0400Use-after-free of a dictionary after a one-shot call on a context with an open stream
- MEDIUMRUSTSEC-2026-0405Out-of-bounds read with an out-of-range `InBuffer::pos`
- MEDIUMRUSTSEC-2026-0399Use-after-free through `init_using_cdict` and `init_using_ddict`
- MEDIUMRUSTSEC-2026-0404Double free in `DCtx::try_clone`
- MEDIUMRUSTSEC-2026-0395Use-after-free with `CParameter::StableInBuffer`
- MEDIUMRUSTSEC-2026-0401Out-of-bounds read in `train_from_buffer` when sample sizes overflow
- MEDIUMRUSTSEC-2026-0397`OutBuffer::around_pos` exposes uninitialized memory
- MEDIUMRUSTSEC-2026-0406Use-after-free when changing a multithreaded context with an unfinished frame
heaplesscrates.io 0.8.0 MEDIUM 9 advisories 0.9.4
- MEDIUMRUSTSEC-2026-0574`FindMutView::pop` after mutating the value would lead to a use after free
- MEDIUMRUSTSEC-2026-0581`Deque::make_contiguous` could lead to broken invariants
- MEDIUMRUSTSEC-2026-0578`SortedLinkedList::zeroize` lead to an inconsistent state
- MEDIUMRUSTSEC-2026-0576`IndexMap::truncate` could lead to an inconsistent state
- MEDIUMRUSTSEC-2026-0579The `Deque` implementation from `TryFrom` was wrong when the `Deque` ended up full
- MEDIUMRUSTSEC-2026-0580The treiber stack implementation in heapless had a race condition
- MEDIUMRUSTSEC-2026-0577Panicking `Drop` implementation could lead to UB
- MEDIUMRUSTSEC-2026-0575`Spsc::peek` used `Relaxed` ordering where it should have use `Acquire`
- MEDIUMRUSTSEC-2026-0582On maps of `u16::MAX` elements, `IndexMap::insert` could lead to a broken invariant
rustlscrates.io 0.23.40 MEDIUM 8 advisories 0.23.450.23.460.24.0-dev.2
- MEDIUMGHSA-c8m5-c952-6cm4 CVE-2026-123609 RUSTSEC-2026-0346Rustls: Session Debug formatting exposes TLS master secrets and resumption PSKs
- MEDIUMRUSTSEC-2026-0349 CVE-2026-123611 GHSA-w44r-93j7-qv28Unauthenticated ServerHello can downgrade later connections to classical key exchange
- MEDIUMRUSTSEC-2026-0348 CVE-2026-123610 GHSA-h2v8-394m-p7vvBrotli certificate decompression can allocate up to 1 GiB before authentication
- MEDIUMRUSTSEC-2026-0285 CVE-2026-123613 GHSA-2mjx-qc3c-rqvcTLS 1.3 handshake messages incorrectly accepted across encryption level boundaries
- MEDIUMRUSTSEC-2026-0346 CVE-2026-123609 GHSA-c8m5-c952-6cm4`Debug` impls for client session values expose TLS secrets
- MEDIUMGHSA-2mjx-qc3c-rqvc CVE-2026-123613 RUSTSEC-2026-0285Rustls: TLS 1.3 handshake messages incorrectly accepted across encryption level boundaries
- LOWGHSA-w44r-93j7-qv28 CVE-2026-123611 RUSTSEC-2026-0349rustls: An unauthenticated ServerHello poisons the per-name key-exchange record, so later ClientHellos carry only a classical X25519 share
- LOWGHSA-h2v8-394m-p7vv CVE-2026-123610 RUSTSEC-2026-0348Rustls: Brotli certificate decompression can allocate an attacker-controlled amount of memory up to 1 GiB before authentication.
ocipkgcrates.io 0.2.9 MEDIUM 2 advisories 0.4.1
- MEDIUMRUSTSEC-2026-0450`ocipkg`: unpacking an OCI archive can write and delete files outside the local image store (path traversal)
- MEDIUMRUSTSEC-2026-0449`ocipkg` is unmaintained
pulldown-cmarkcrates.io 0.13.4 MEDIUM 2 advisories 0.13.50.13.6
- MEDIUMRUSTSEC-2026-0433Quadratic parsing of nested image wikilinks with `ENABLE_WIKILINKS`
- MEDIUMRUSTSEC-2026-0414Exponential event growth with `ENABLE_WIKILINKS`
anyhowcrates.io 1.0.102 MEDIUM 1 advisory 1.0.103
- MEDIUMRUSTSEC-2026-0190Unsoundness in `Error::downcast_mut()`
anymap2crates.io 0.13.0 MEDIUM 1 advisory no fix yet
- MEDIUMRUSTSEC-2026-0319anymap2 is unmaintained
chronocrates.io 0.4.45 MEDIUM 1 advisory no fix yet
- MEDIUMRUSTSEC-2026-0543chrono is unmaintained
cookiecrates.io 0.18.1 MEDIUM 1 advisory 0.12.00.18.3
- MEDIUMRUSTSEC-2026-0594 GHSA-8wcq-xq25-7fhmPrivate cookie nonces can repeat in processes that fork
crossbeam-epochcrates.io 0.9.18 MEDIUM 1 advisory 0.9.20
- MEDIUMRUSTSEC-2026-0204Invalid pointer dereference in `fmt::Pointer` impl for `Atomic` and `Shared` when the underlying pointer is invalid
faster-hexcrates.io 0.10.0 MEDIUM 1 advisory 0.10.1
- MEDIUMRUSTSEC-2026-0306`hex_decode_unchecked` AVX2 path reads past `src`
gix-packetlinecrates.io 0.21.4 MEDIUM 1 advisory 0.21.5
- MEDIUMGHSA-2vh6-hw4j-32ww CVE-2026-82250gix-packetline: reachable panic on empty side-band packet (pre-auth network DoS)
h2crates.io 0.4.14 MEDIUM 1 advisory 0.4.16
- MEDIUMRUSTSEC-2026-0258 GHSA-q83h-524g-xf6hh2 unbounded empty DATA frames
libsqlite3-syscrates.io 0.37.0 MEDIUM 1 advisory 0.39.0
- MEDIUMRUSTSEC-2026-0459 BIT-sqlite-2026-119375 CVE-2026-119375 GHSA-72w2-rjgg-q729 RUSTSEC-2026-0502`libsqlite3-sys` via C SQLite CVE-2026-119375
lrucrates.io 0.18.0 MEDIUM 1 advisory 0.18.2
- MEDIUMRUSTSEC-2026-0253Potential use-after-free due to lack of panic safety in `LruCache::pop()`
lrucrates.io 0.16.4 MEDIUM 1 advisory 0.18.2
- MEDIUMRUSTSEC-2026-0253Potential use-after-free due to lack of panic safety in `LruCache::pop()`
memmap2crates.io 0.9.10 MEDIUM 1 advisory 0.9.11
- MEDIUMRUSTSEC-2026-0186Unchecked pointer offset in crate `memmap2`
pastecrates.io 1.0.15 MEDIUM 1 advisory no fix yet
- MEDIUMRUSTSEC-2024-0436paste - no longer maintained
proc-macro-error2crates.io 2.0.1 MEDIUM 1 advisory no fix yet
- MEDIUMRUSTSEC-2026-0173proc-macro-error2 is unmaintained
quinn-udpcrates.io 0.5.14 MEDIUM 1 advisory 0.5.160.6.3
- MEDIUMRUSTSEC-2026-0538 GHSA-6pp4-4cxf-xf88Receive loop can spin after a truncated datagram
rustixcrates.io 1.1.4 MEDIUM 1 advisory 1.1.6
- MEDIUMRUSTSEC-2026-0486 GHSA-jh2m-fhpj-3vr7xattr functions mark unwritten bytes as initialized when given a zero-length buffer
rustls-webpkicrates.io 0.103.13 MEDIUM 1 advisory 0.103.160.104.0-alpha.8
- MEDIUMRUSTSEC-2026-0382 BIT-golang-2026-111943 CVE-2026-111943 GO-2026-6809 RUSTSEC-2026-0381 RUSTSEC-2026-0383Certificate verification may accept distrusted intermediates
tokiocrates.io 1.52.3 MEDIUM 1 advisory 1.51.61.53.3
- MEDIUMRUSTSEC-2026-0386`AsyncFd::new` and related constructors violate I/O safety
tract-onnxcrates.io 0.22.2 MEDIUM 1 advisory 0.21.170.22.30.23.2
- MEDIUMGHSA-h668-6x6g-f8r5 CVE-2026-55832tract: Arbitrary file read via unsanitized ONNX external_data `location` (path traversal) on model load in tract-onnx
urlcrates.io 2.5.8 MEDIUM 1 advisory 2.5.9
- MEDIUMRUSTSEC-2026-0592 GHSA-hrj5-67jp-wqp9Stack overflow in `Url::origin()` on nested `blob:` URLs
webpki-root-certscrates.io 1.0.7 MEDIUM 1 advisory 0.26.111.0.10
- MEDIUMRUSTSEC-2026-0383 BIT-golang-2026-111943 CVE-2026-111943 GO-2026-6809 RUSTSEC-2026-0381 RUSTSEC-2026-0382Bundled root certificates allow trust in distrusted emSign intermediates
webpki-rootscrates.io 1.0.7 MEDIUM 1 advisory 0.26.111.0.10
- MEDIUMRUSTSEC-2026-0381 BIT-golang-2026-111943 CVE-2026-111943 GO-2026-6809 RUSTSEC-2026-0382 RUSTSEC-2026-0383Bundled root certificates allow trust in distrusted emSign intermediates
zstdcrates.io 0.13.3 MEDIUM 1 advisory 0.13.40.14.3
- MEDIUMRUSTSEC-2026-0391Data from an abandoned stream leaks into the next stream on a reused context
zstd-syscrates.io 2.0.16+zstd.1.5.7 MEDIUM 1 advisory 2.1.2
- MEDIUMRUSTSEC-2026-0410WebAssembly allocator shim corrupts memory on allocation failure
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | rmcp 1.7 |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-07-13 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 2 catalogs (glama, mcp_toplist) |
|---|---|
| License | MIT |
| Created | 2026-01-18 |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.