Live survey304 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Org-owned · Audited from source

npcpy MCP server

by npc-worldwide/npcpyMIT licenceAudited 22 Sep 2026 · source b3d4a58cc606

stdiostreamable-http★ 1,508
✕BLOCKGrade F · 45/100 · 22 Sep 2026 · b3d4a58

Is it safe? No — BLOCK, grade F (45/100). It exposes 2 tools: 1 read, 1 write and 0 destructive. The audit recorded 35 findings (1 critical, 5 high, 8 medium, 16 low). Maintainer's description: The python library for research and development in NLP, multimodal LLMs, Agents, ML, Knowledge Graphs, and more.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “npcpy MCP server (NPC-Worldwide/npcpy)”. Retrieved 22 Sep 2026. https://modelsatlas.com/mcp/npc-worldwide/npcpy

Why this is BLOCK. The audit found 1 critical and 5 high findings; the most severe is Obfuscation / stealth at npcpy/serve.py:6707. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

Copy of mcp/npc-worldwide/npcpy-1: identical text; the original is the page to read and cite.

Trust audit

Audit 0.4.1 · full source read 22 Sep 2026

Trust score45/100✕BLOCK F
1 critical5 high8 medium16 low5 info

35 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared5 observations
  • NetworkDeclared9 observations
  • ShellDeclared8 observations
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

Findings (35)

Sorted by severity · the 25 most severe of 35 are listed

CRITICALObfuscation / stealthobf.decode_then_exec · npcpy/serve.py:6707
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
b64decode( ... subprocess.
Why
decodes a payload and executes it
Fix
—
HIGHCode injectioncode.deserialize · npcpy/ft/system1.py:350
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
classifiers = pickle.load(f)
Why
deserialises untrusted bytes into live objects
Fix
use json or yaml.safe_load
HIGHCode injectioncode.eval_exec · npcpy/ft/export.py:165
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(convert_script.read_text(), {"__name__": "__main__"})
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · npcpy/npc_compiler.py:716
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(rendered_code, exec_globals, exec_locals)
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · npcpy/npc_compiler.py:1678
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(generated_code, exec_globals, exec_locals)
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHNetwork egressnet.env_exfil · npcpy/npc_sysenv.py:131
F-04 Network egressCWE-200 · CWE-319Layer L1
".env" ... socket.create_connection
Why
reads secrets in the same file that sends data out
Fix
—
MEDIUMCode injectioncode.dynamic_import · npcpy/ml_funcs.py:92
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
module = importlib.import_module(module_path)
Why
No further detail recorded for this rule.
Fix
—
MEDIUMInsecure cryptocrypto.weak_random · npcpy/serve.py:2887
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
key = random.choice(list(mutated.keys()))
Why
No further detail recorded for this rule.
Fix
—
MEDIUMInsecure cryptocrypto.weak_random · npcpy/serve.py:2896
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
child[key] = random.choice([p1.get(key), p2.get(key)])
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · npcpy/gen/response.py:2467
F-04 Network egressCWE-200 · CWE-319Layer L1
api_url = api_url or "http://127.0.0.1:1234/v1"
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · npcpy/gen/response.py:2473
F-04 Network egressCWE-200 · CWE-319Layer L1
api_url = api_url or "http://127.0.0.1:8080/v1"
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · npcpy/gen/response.py:2479
F-04 Network egressCWE-200 · CWE-319Layer L1
api_url = api_url or "http://127.0.0.1:8000/v1"
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · npcpy/npc_sysenv.py:245
F-04 Network egressCWE-200 · CWE-319Layer L1
response = requests.get('http://127.0.0.1:1234/v1/models', timeout=1)
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · npcpy/npc_sysenv.py:256
F-04 Network egressCWE-200 · CWE-319Layer L1
response = requests.get('http://127.0.0.1:8080/v1/models', timeout=1)
Why
No further detail recorded for this rule.
Fix
—
LOWInventory / provenanceinv.hidden_file · .readthedocs.yaml
F-13 Inventory / provenanceCWE-1104Layer L0
.readthedocs.yaml
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · npcpy/gen/.npcsh_global
F-13 Inventory / provenanceCWE-1104Layer L0
.npcsh_global
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWCode injectioncode.eval_exec · tests/test_doc_examples.py:70
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(code, namespace)
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · tests/test_readme_examples.py:62
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(code, namespace)
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
LOWInsecure cryptocrypto.weak_hash · npcpy/gen/cli_agent.py:174
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
cwd_hash = hashlib.md5(cwd.encode()).hexdigest()
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · npcpy/gen/cli_agent.py:200
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
cwd_hash = hashlib.md5(cwd.encode()).hexdigest()
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · npcpy/memory/knowledge_graph.py:102
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
fact_id = hashlib.md5(fact.encode()).hexdigest()
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · npcpy/serve.py:858
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
fact_id = hashlib.md5(statement.encode()).hexdigest()
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.decode_call · npcpy/gen/audio_gen.py:158
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
chunk = base64.b64decode(data["audio"])
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.decode_call · npcpy/gen/audio_gen.py:275
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
audio = base64.b64decode(event.get("delta", ""))
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.decode_call · npcpy/gen/audio_gen.py:405
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
audio = base64.b64decode(part["inlineData"].get("data", ""))
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

2 declared in source · 0 destructive

1 read1 write0 destructive
ToolWhat it doesRisk
add_numbersAdd two numbers together.write
echo_messageEcho back a message.read

Safer alternatives

All web search servers →

Audit history

  1. ✕BLOCK F 45 / 100

    First audit · b3d4a58cc606

Questions about npcpy MCP server

What is the npcpy MCP server?
The python library for research and development in NLP, multimodal LLMs, Agents, ML, Knowledge Graphs, and more.
What tools does npcpy expose?
2 in total: 1 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is npcpy safe to connect to an agent?
No — not without reading the findings first. The audit graded it F (45/100) and found 6 critical or high issues in the source. Each one is listed on this page with the file and line it is on.
What credentials does npcpy need?
It reads ANTHROPIC_API_KEY, BRAVE_API_KEY, DEEPSEEK_API_KEY, ELEVENLABS_API_KEY, EXA_API_KEY, GEMINI_API_KEY, GOOGLE_API_KEY, GROQ_API_KEY, HF_TOKEN, HUGGING_FACE_HUB_TOKEN, MINIMAX_API_KEY and OLLAMA_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does npcpy run?
It speaks stdio and streamable-http, so it runs as a local process your client starts.
How current is this page?
The grade is for one exact copy of the source (b3d4a58cc606), read on 2026-09-22. The repository is watched and re-audited when it changes.
I already installed npcpy. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

  • NPC-Worldwide/npcpy on GitHub — the source we read, its licence, stars and activityObserved · 22 Sep 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit b3d4a58cc606Observed · 22 Sep 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.