MCP server · Org-owned · Audited from source
RESTHeart MCP server
by softinstigate/restheartAGPL-3.0 licenceAudited 26 Sep 2026 · source 01af831a22b4
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · chart/templates/NOTES.txt:19
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
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
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
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
Access-Control-Allow-Credentials: true
- Why
- asks the agent to read credentials
- Fix
- —
LOWPrompt injectionprompt.transfer_instruction · README.md:34
- [**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
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
$ 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
| Tool | What it does | Risk |
|---|---|---|
httpClientService | a service that uses java.net.http.HttpClient to execute a GET request | write |
mongoPostCollInterceptor | modifies the content of POST requests adding a timestamp | write |
ccHider | hides credit card numbers | read |
helloWorldInterceptor | modifies the response of helloWorldService | read |
helloWorldService | just another Hello World | read |
helloWorldTS | Test typescript | read |
mclientService | just an example JavaScript service that uses the MongoClient | read |
mongoGetDocInteceptor | a js interceptor that modified the response of GET /coll/<docid> | read |
nodePromiseSrv | just an example node service that requires http and returns a promise | read |
requireModuleService | just an example JavaScript service that uses a CommonJS module | read |
Safer alternatives
All databases servers →aliengiraffe/spotdb
Give your agents a secure, containerized SQL sandbox with MCP or API access enabled with DuckDB. No infra required, quick spin-up cycle. Push any CSV — query, analyze, and move on.
neo4j-contrib/mcp-neo4j
Neo4j Labs Model Context Protocol servers
apache/iotdb-mcp-server
Apache IoTDB MCP Server
Audit history
- ✕BLOCK F 53 / 100
First audit ·
01af831a22b4
README badge
Badges show the current verdict, BLOCK included
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?
What tools does RESTHeart expose?
Is RESTHeart safe to connect to an agent?
What credentials does RESTHeart need?
How current is this page?
I already installed RESTHeart. What should I do?
Can the verdict change?
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.
- What is the RESTHeart MCP server?
- What tools does RESTHeart expose?
- Is RESTHeart safe to connect to an agent?