@nekzus/mcp-server 1.20.0 → 1.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -12
- package/dist/.tsbuildinfo +1 -1
- package/dist/index.d.ts +13 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +187 -42
- package/dist/index.js.map +1 -1
- package/llms-full.txt +11 -0
- package/package.json +1 -1
package/llms-full.txt
CHANGED
|
@@ -5,6 +5,17 @@ Version: 2025-05-11
|
|
|
5
5
|
Transport: stdio
|
|
6
6
|
Features: resources, tools, error handling
|
|
7
7
|
|
|
8
|
+
### Indirect Prompt Injection Safeguards (OWASP LLM01)
|
|
9
|
+
All tools returning raw 3rd-party Markdown/text (`npmPackageReadme`, `npmChangelogAnalysis`) implement Defense-in-Depth safeguards:
|
|
10
|
+
- **XML Demarcation**: Wraps raw external text inside `<untrusted_external_content source="..." package="..." type="...">` tags.
|
|
11
|
+
- **Metadata Flags (`_meta`)**: Attaches `_meta.untrustedExternalContent = true` and `_meta.sources` arrays to response content.
|
|
12
|
+
- **Tool & Prompt Directives**: Tool schemas and prompts explicitly instruct consuming models to process content strictly as passive data.
|
|
13
|
+
|
|
14
|
+
### Smart SemVer Version Resolution
|
|
15
|
+
All package version querying tools (`npmDeprecated`, `npmLatest`, `npmDeps`, `npmTypes`, `npmPackageReadme`, `npmCompare`, `npmChangelogAnalysis`) implement 4-step SemVer resolution:
|
|
16
|
+
- Automatically resolves major version shorthands (`express@2`), version prefixes (`v4`), wildcard sub-versions (`4.x`), and SemVer ranges (`^4`, `~4.18`) to the highest matching release.
|
|
17
|
+
- Avoids registry 404 errors when an exact SemVer string is omitted.
|
|
18
|
+
|
|
8
19
|
## Architecture
|
|
9
20
|
```mermaid
|
|
10
21
|
flowchart TD
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nekzus/mcp-server",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.21.0",
|
|
4
4
|
"mcpName": "io.github.Nekzus/npm-sentinel-mcp",
|
|
5
5
|
"description": "NPM Sentinel MCP - A powerful Model Context Protocol (MCP) server that revolutionizes NPM package analysis through AI. Built to integrate with Claude and Anthropic AI, it provides real-time intelligence on package security, dependencies, and performance.",
|
|
6
6
|
"type": "module",
|