Atlas / MCP servers / believethehype / NostrDVM

NostrDVMBLOCK

mcp/believethehype/nostrdvm

Framework to run NIP90 Nostr DVMs

Verdict
BLOCK
Grade
D
Trust score
67 /100
Exposed tools
2 1r · 1w · 0d
Transport
stdio
License
MIT
Stars
55
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

This framework provides a way to easily build and/or run Nostr NIP90 DVMs in Python.

This project is currently under development and additional tasks and features are added along the way. This means the project is in alpha status, interfaces might still change/break at this stage.

Getting started

Create a new venv by running "python -m venv venv"

  • Place .env file (based on .env_example) in main folder.
  • If you want the framework to manage wallets and lnaddresses automatically for you, create a LNbits account on an accessible instance of your choice, enter one account's id and admin key (this account will create other accounts for the dvms). Otherwise leave the lnbits .env variables empty and update each of your DVM's profile with a lightning address of your choice or alternativly, make sure the DVM is free.
  • the framework will then automatically create keys, nip89 tags and if lnbits is used zapable NIP57 lightning addresses for your dvms in this file.
  • Activate the venv by typing ".venv\Scripts\activate" on Windows or "source venv/bin/activate" otherwise
  • pip install nostr-dvm
  • Run python3 main.py. (or check single examples in the example folder)

In each task component DVM examples are already prepared. Feel free to play along with the existing ones. You can also add new tasks by using the interface, just like the existing tasks in the tasks folder.

A bot is running by default that lists and communicates with the DVMs added to it, so your DVMs can be controled via any regular social client as well.

If LNBits is not used, make sure your DVM's nostr accounts have a valid lightning address.

A tutorial on how to add additional tasks, as well as the larger server backend will be added at a later stage.

SDK version and upgrading

This checkout targets nostr-sdk==0.45.1. Older SDK releases are not supported. When upgrading an existing checkout, install it into t

Read from source at commit c553334a5761OBSERVED · 2026-10-08
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add vue --env ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY} --env COINSTATSOPENAPI_KEY=${COINSTATSOPENAPI_KEY} --env DVM_PRIVATE_KEY_=${DVM_PRIVATE_KEY_} --env DVM_PRIVATE_KEY_BOT=${DVM_PRIVATE_KEY_BOT} -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "vue": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "${ANTHROPIC_API_KEY}",
        "COINSTATSOPENAPI_KEY": "${COINSTATSOPENAPI_KEY}",
        "DVM_PRIVATE_KEY_": "${DVM_PRIVATE_KEY_}",
        "DVM_PRIVATE_KEY_BOT": "${DVM_PRIVATE_KEY_BOT}"
      }
    }
  }
}
03

Exposed tools (2)

1 read · 1 write · 0 destructive.

ToolRiskDescription
NooglereadOther Stuff on Nostr
get_nostr_noteswritefrom nostr_sdk import Client, Keys, NostrSigner, Filter, Kind, PublicKey, RelayUrl
04

Trust audit

BLOCKgrade D · trust 67/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (5 observation(s))
Network
declared (5 observation(s))
Shell
declared (7 observation(s))
Dependencies
not all pinned
Secrets in source
none-found

Findings (25)

HIGHCode injection · code.deserialize · CWE-78, CWE-94, CWE-95
nostr_dvm/tasks/content_discovery_for_you.py:229
data = pickle.load(handle)
Why it matters. deserialises untrusted bytes into live objects
Fix. use json or yaml.safe_load
MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
nostr_dvm/interfaces/dvmtaskinterface.py:107
__import__(module)
MEDIUMInformation disclosure · disclose.log_secret · CWE-209, CWE-532
nostr_dvm/tasks/discovery_bot_farms.py:50
print(self.dvm_config.PRIVATE_KEY)
MEDIUMInformation disclosure · disclose.log_secret · CWE-209, CWE-532
nostr_dvm/tasks/generic_dvm.py:38
print(self.dvm_config.PRIVATE_KEY)
MEDIUMInformation disclosure · disclose.log_secret · CWE-209, CWE-532
nostr_dvm/tasks/search_users.py:55
#print(self.dvm_config.PRIVATE_KEY)
LOWInventory / provenance · inv.hidden_file · CWE-1104
.env_example
.env_example
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
examples/ollama_dvm/.env_example
.env_example
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
examples/tts_dvm/.env_example
.env_example
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
examples/unleashed_dvm/.env_example
.env_example
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
ui/noogle/.env_example
.env_example
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
tests/unit/test_review_fixes.py:116
self.assertEqual(function("test")[-1], "success")
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/mcp/dvm-client/mcp_dvm_client.py:132
env_path = Path('../../.env')
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
nostr_dvm/backends/discover/modules/stablediffusionxl/readme.md:32
url = 'http://127.0.0.1:53770/predict'
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
nostr_dvm/backends/discover/modules/whisperx/readme.md:48
url = 'http://127.0.0.1:8080/process'
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
nostr_dvm/utils/nut_wallet_utils.py:731
cashu_wallet.private_key = PrivateKey(bytes.fromhex(nut_wallet.privkey), raw=True)
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
nostr_dvm/utils/nut_wallet_utils.py:800
outgoing_wallet.private_key = PrivateKey(bytes.fromhex(nut_wallet.privkey), raw=True)
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
nostr_dvm/utils/nut_wallet_utils.py:812
incoming_wallet.private_key = PrivateKey(bytes.fromhex(nut_wallet.privkey), raw=True)
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
nostr_dvm/utils/zap_utils.py:281
encrypted_msg = base64.b64decode(encrypted)
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
nostr_dvm/utils/zap_utils.py:282
iv = base64.b64decode(encoded_iv)
LOWSupply chain · supply.git_dep · CWE-829, CWE-1357
nostr_dvm/backends/discover/modules/image_interrogator/requirements.txt:5
git+https://github.com/huggingface/diffusers.git
LOWSupply chain · supply.git_dep · CWE-829, CWE-1357
nostr_dvm/backends/discover/modules/image_upscale/requirements.txt:1
realesrgan @git+https://github.com/xinntao/Real-ESRGAN.git
LOWSupply chain · supply.git_dep · CWE-829, CWE-1357
nostr_dvm/backends/discover/modules/image_upscale/requirements.txt:13
git+https://github.com/huggingface/diffusers.git
LOWSupply chain · supply.git_dep · CWE-829, CWE-1357
nostr_dvm/backends/discover/modules/stablediffusionxl/requirements.txt:5
git+https://github.com/huggingface/diffusers.git
LOWSupply chain · supply.git_dep · CWE-829, CWE-1357
nostr_dvm/backends/discover/modules/stablevideodiffusion/requirements.txt:4
git+https://github.com/huggingface/diffusers.git
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
nostr_dvm/backends/discover/modules/image_interrogator/requirements.txt
hcai-nova-utils, clip_interrogator, git+https://github.com/huggingface/diffusers.git
Why it matters. 3 requirement(s) not pinned with ==
Fix. pin exact versions

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha c553334a5761full audit observations/trust-audit/mcp-server/believethehype__nostrdvm.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-08c553334a5761BLOCKD67first audit
06

Questions

What is the NostrDVM MCP server?

Framework to run NIP90 Nostr DVMs

What tools does NostrDVM 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 NostrDVM safe to connect to an agent?

No — not without reading the findings first. The audit graded it D (67/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on.

What credentials does NostrDVM need?

It reads ANTHROPIC_API_KEY, COINSTATSOPENAPI_KEY, DVM_PRIVATE_KEY_, DVM_PRIVATE_KEY_BOT, DVM_PRIVATE_KEY_BOT_, HUGGINGFACE_PASSWORD, HUGGINGFACE_TOKEN, LIBRE_TRANSLATE_API_KEY, LNBITS_ACCESS_TOKEN, LNBITS_ADMIN_KEY, LNBITS_ADMIN_KEY_ and LNBITS_INVOICE_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 NostrDVM run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as vue at 0.0.0.

How current is this page?

The grade is for one exact copy of the source (c553334a5761), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement