Web Docs (cosmocoder) MCP Server

@cosmocoder/mcp-web-docs npm v2.0.22 Source verified

Published by cosmocoder — publish provenance cryptographically ties this package to that repository. That is proof of origin, not an official vendor package.

Crawls and indexes web documentation from any website.

Trust grade
C
72/100
Last scanned
Trust
C · 72/100
How safe the published surface and source look. Deterministic; every point is auditable.
Capability
High
Blast radius if it went rogue — what the server’s tools could reach. Independent of trust.
Coverage
Source
How much the scan could actually inspect. Shallow coverage is stated, never hidden.
C Why this grade 100 − 28.3 = 72/100

Every server starts at 100. These are the exact deductions the deterministic engine applied — each one reproducible, none of it an opinion or an LLM's guess:

PointsWhat was foundCategory
−22 Hardcoded JSON Web Token in server code MTC-SRC-008 exfiltration
−6.3 Package runs install-time scripts MTC-SUP-010 supply-chain

Grade capped: 1 confirmed high finding → grade capped at C. A hard gate overrides the point total — no amount of clean surface buys back a confirmed catastrophe.

Capability observations and info notes are shown under Findings but never scored. Open any row's finding below for the file, line and evidence behind the deduction.

Findings 3

high Hardcoded JSON Web Token in server code (build/util/security.test.js)MTC-SRC-008

A live-looking JSON Web Token is hardcoded in `build/util/security.test.js:243`. Secrets in source ship to everyone who installs the package and are a direct credential leak.

Evidence: JSON Web Token: eyJh…(redacted)

Fix: Remove the secret, rotate it, and load credentials from the environment or a secret store.

Location: server build/util/security.test.js

high Dynamic code execution in server code (build/crawler/crawlee-crawler.js)MTC-SRC-001

In the server's implementation (`build/crawler/crawlee-crawler.js:225`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: new Function(

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server build/crawler/crawlee-crawler.js

medium Package runs install-time scripts (postinstall)MTC-SUP-010

"@cosmocoder/mcp-web-docs" executes postinstall script(s) at install time. The large majority of malicious packages abuse install hooks to run code before you ever import them.

Fix: Review the scripts; install with --ignore-scripts where possible and vet what they do.

Location: package @cosmocoder/mcp-web-docs

What this scan could not see

Versions

Scan history per published version. The engine is deterministic — the same version always yields the same score, so a changed score means the package itself changed.

VersionScoreFindingsEngineScanned
v2.0.22 latest C 72/100 3 1.5.0 2026-07-22

Embed this score

Show this server's live Trust Score in your README, docs or website. The badge is served straight from the registry and updates automatically after every rescan — no API key needed. It links back to this page, so anyone who sees the grade can also read the findings behind it instead of taking a number on faith.

MCP Trust Score: C · 72/100
Markdown (GitHub README)
[![MCP Trust Score](https://mcptrustchecker.com/registry/cosmocoder-mcp-web-docs/badge.svg)](https://mcptrustchecker.com/registry/cosmocoder-mcp-web-docs)
HTML
<a href="https://mcptrustchecker.com/registry/cosmocoder-mcp-web-docs"><img src="https://mcptrustchecker.com/registry/cosmocoder-mcp-web-docs/badge.svg" alt="MCP Trust Score" height="20"></a>
Prefer shields.io styling? Point it at https://mcptrustchecker.com/registry/cosmocoder-mcp-web-docs/badge.json via https://img.shields.io/endpoint?url=…

Verify this score yourself

The score above is reproducible: the same package version always yields the same result. Run it locally or over the free API — no account, no LLM, fully deterministic.

npx mcptrustchecker scan @cosmocoder/mcp-web-docs --online

Use the free API → How scoring works

More in Web, Search & Scraping