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

MCP server · Org-owned · Audited from source

RESTHeart MCP server

by softinstigate/restheartAGPL-3.0 licenceAudited 26 Sep 2026 · source 01af831a22b4

★ 889
✕BLOCKGrade F · 53/100 · 26 Sep 2026 · 01af831

Is it safe? No — BLOCK, grade F (53/100). It exposes 10 tools: 8 read, 2 write and 0 destructive. The audit recorded 28 findings (0 critical, 6 high, 10 medium, 9 low). Maintainer's description: The Agent-native Backend for MongoDB

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “RESTHeart MCP server (softinstigate/restheart)”. Retrieved 26 Sep 2026. https://modelsatlas.com/mcp/softinstigate/restheart

Why this is BLOCK. The audit found 0 critical and 6 high findings; the most severe is Code injection at polyglot/src/js/restheart.js:90. 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.

Trust audit

Audit 0.4.1 · full source read 26 Sep 2026

Trust score53/100✕BLOCK F
0 critical6 high10 medium9 low3 info

28 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

  • FilesystemDeclared1 observation
  • NetworkDeclared13 observations
  • ShellDeclared2 observations
  • DependenciesNot pinnedSome ranges float
  • SecretsFoundSee the findings

Findings (28)

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

HIGHCode injectioncode.eval_exec · polyglot/src/js/restheart.js:90
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
const parsed = eval(code);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · polyglot/src/js/restheart.js:117
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
evaluated = eval(code);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHNetwork egressnet.metadata_ip · core/bin/aws-build-native.sh:156
F-04 Network egressCWE-200 · CWE-319Layer L1
TOKEN=\$(curl -sX PUT "http://169.254.169.254/latest/api/token" -H "X-aws-ec2-metadata-token-ttl-seconds: 60")
Why
cloud metadata endpoint: the classic SSRF credential grab
Fix
—
HIGHNetwork egressnet.metadata_ip · core/bin/aws-build-native.sh:157
F-04 Network egressCWE-200 · CWE-319Layer L1
ISELF=\$(curl -s -H "X-aws-ec2-metadata-token: \$TOKEN" http://169.254.169.254/latest/meta-data/instance-id)
Why
cloud metadata endpoint: the classic SSRF credential grab
Fix
—
HIGHNetwork egressnet.tls_off · core/bin/convert-letsencrypt-java-keystore.sh:151
F-04 Network egressCWE-200 · CWE-319Layer L1
curl --insecure https://letsencrypt.org/certs/${FNAME} > ${outdir}/${FNAME}
Why
certificate verification is disabled
Fix
leave verification on
HIGHHard-coded secretssecret.db_uri · commons/src/main/java/org/restheart/configuration/Configuration.java:130
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · core/bin/aws-build-native.sh:156
F-04 Network egressCWE-200 · CWE-319Layer L1
TOKEN=\$(curl -sX PUT "http://169.254.169.254/latest/api/token" -H "X-aws-ec2-metadata-token-ttl-seconds: 60")
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · core/bin/aws-build-native.sh:157
F-04 Network egressCWE-200 · CWE-319Layer L1
ISELF=\$(curl -s -H "X-aws-ec2-metadata-token: \$TOKEN" http://169.254.169.254/latest/meta-data/instance-id)
Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.aws · docs/restheart-emails-module.md:76
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.aws · docs/restheart-emails-module.md:88
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.db_uri · commons/src/test/java/org/restheart/configuration/ConnectionStringMaskingTest.java:41
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.db_uri · commons/src/test/java/org/restheart/configuration/ConnectionStringMaskingTest.java:52
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.db_uri · commons/src/test/java/org/restheart/configuration/ConnectionStringMaskingTest.java:65
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.db_uri · commons/src/test/java/org/restheart/configuration/ConnectionStringMaskingTest.java:79
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · core/src/test/java/karate/accounts/invitations.feature:173
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · core/src/test/java/karate/accounts/verify.feature:177
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
LOWInventory / provenanceinv.hidden_file · chart/.helmignore
F-13 Inventory / provenanceCWE-1104Layer L0
.helmignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWNetwork egressnet.raw_ip · chart/templates/NOTES.txt:19
F-04 Network egressCWE-200 · CWE-319Layer L1
Then visit: http://127.0.0.1:8080
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · chart/templates/NOTES.txt:23
F-04 Network egressCWE-200 · CWE-319Layer L1
Health check: curl http://127.0.0.1:8080/ping
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · core/src/test/resources/etc/conf-overrides.yml:490
F-04 Network egressCWE-200 · CWE-319Layer L1
proxy-pass: http://127.0.0.1:8080/echo
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · examples/js-plugin/package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
moment, one-liner-joke
Why
2 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWPrompt injectionprompt.credential_read · examples/x-powered-by-remover/README.md:31
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
Access-Control-Allow-Credentials: true
Why
asks the agent to read credentials
Fix
—
LOWPrompt injectionprompt.transfer_instruction · README.md:34
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- [**Accounts**](https://restheart.org/docs/accounts/overview): sign-up, login, email verification, password reset, team invitations, Google sign-in, tokens and API keys
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · examples/slack-notifier/README.md:70
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
http -a admin:secret :8080/contacts name=uji [email protected] message="This is cool!"
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · examples/user-signup/README.md:88
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
$ echo '{"_id":"user","$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{"_id":{"type":"string","pattern":"^\\w+@[a-zA-Z_]+?.[a-zA-Z]{2,3}$"},"password":{"type":"string"
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine

Tools it exposes

10 declared in source · 0 destructive

8 read2 write0 destructive
ToolWhat it doesRisk
httpClientServicea service that uses java.net.http.HttpClient to execute a GET requestwrite
mongoPostCollInterceptormodifies the content of POST requests adding a timestampwrite
ccHiderhides credit card numbersread
helloWorldInterceptormodifies the response of helloWorldServiceread
helloWorldServicejust another Hello Worldread
helloWorldTSTest typescriptread
mclientServicejust an example JavaScript service that uses the MongoClientread
mongoGetDocInteceptora js interceptor that modified the response of GET /coll/<docid>read
nodePromiseSrvjust an example node service that requires http and returns a promiseread
requireModuleServicejust an example JavaScript service that uses a CommonJS moduleread

Safer alternatives

All databases servers →

Audit history

  1. ✕BLOCK F 53 / 100

    First audit · 01af831a22b4

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK FMODELSATLASBLOCK · F

A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.

Questions about RESTHeart MCP server

What is the RESTHeart MCP server?
The Agent-native Backend for MongoDB
What tools does RESTHeart expose?
10 in total: 8 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is RESTHeart safe to connect to an agent?
No — not without reading the findings first. The audit graded it F (53/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 RESTHeart need?
No credential environment variables were found in its source, so it appears to need none.
How current is this page?
The grade is for one exact copy of the source (01af831a22b4), read on 2026-09-26. The repository is watched and re-audited when it changes.
I already installed RESTHeart. 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

  • softinstigate/restheart on GitHub — the source we read, its licence, stars and activityObserved · 26 Sep 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit 01af831a22b4Observed · 26 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.