mcp-read-only-sql@0.7.0
CAUTION· not startedPublisher claims: "MCP server for read-only SQL queries supporting PostgreSQL and ClickHouse" Observed in sandbox: no network, touches nothing outside the project, writes no memory.
Coverage
Not started: dependency install failed; the server itself was not observed.- Tested
- the dependency install step · every file read, file written and host contacted by what ran
- Not tested
- server startup · the tool list · tool behavior
What this means for the label: Caution here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.
Before you give it your token
- It will ask for
- no credential variables read in the code
- Where it talks to
- no vendor host named in the code
- What the honeypot saw
- no credential files read · no network
- What we could not test
- server startup · the tool list · tool behavior
Connect it under the guard. Not started: dependency install failed; the server itself was not observed. The code names no credential variable; the guard pins the network to what the honeypot saw and logs every call.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; not started: dependency install failed; the server itself was not observed) on 2026-11-08 and scored it 76/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Access to sensitive file paths; Destructive file system command detected; Access to sensitive file paths. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 0 s · 2 scenarios · 0 deviationsStatic findings
sudo apt-get install -y postgresql-clientFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.DEFAULT_USER_KNOWN_HOSTS_FILES = ("~/.ssh/known_hosts", "~/.ssh/known_hosts2")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.sudo apt-get updateFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.sudo apt-get install -y postgresql-clientFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.sudo apt-get install -y apt-transport-https ca-certificates curl gnupgFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.sudo apt-get install -y apt-transport-https ca-certificates curl gnupgFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.rm -f /tmp/docker_test_keyFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.curl -fsSL 'https://packages.clickhouse.com/rpm/lts/repodata/repomd.xml.key' | sudo gpg --dearmor -o /usr/share/keyrings/clickhouse-keyring.gpgFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.echo "deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg] https://packages.clickhouse.com/deb stable main" | sudo tee /etc/apt/sources.list.d/clickhouse.listFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.curl -fsSL 'https://packages.clickhouse.com/rpm/lts/repodata/repomd.xml.key' | sudo gpg --dearmor -o /usr/share/keyrings/clickhouse-keyring.gpgFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.ssh resolves ``~/.ssh/config`` (including HostName and HostKeyAlias)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…ils with a connection error. `just test` emits JUnit XML at `test-results/pytest.xml` for CI uploads. ## Commit & Pull Request Guidelines Recent commits favour imperative, concis…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.# SSH default, ~/.ssh/known_hosts.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.sudo apt-get updateFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.echo "deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg] https://packages.clickhouse.com/deb stable main" | sudo tee /etc/apt/sources.list.d/clickhouse.listFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.checked = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.resolved = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.result = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.found = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.chmod 600 /tmp/docker_test_keyFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.chown -R tunnel:tunnel /home/tunnel/.ssh && \Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.result = subprocess.run(cmd, capture_output=True, check=False)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.chmod 600 /home/tunnel/.ssh/authorized_keys && \Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.chmod 644 /tmp/test_keyFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.chown tunnel:tunnel /home/tunnel/.ssh/*Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.# Force kill if it doesn't terminateFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.chmod 700 /home/tunnel/.sshFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.{"user": "tunneluser", "private_key": "~/.ssh/id_rsa"}Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."private_key": "~/.ssh/id_rsa",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.result = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."private_key": "~/.ssh/id_rsa",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."private_key": "~/.ssh/id_rsa",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.{"host": "bastion.example.com", "private_key": "~/.ssh/id_rsa"}Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.{"user": "tunneluser", "private_key": "~/.ssh/id_rsa"}Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.docker cp mcp-ssh-bastion:/tmp/test_key /tmp/docker_test_key && chmod 600 /tmp/docker_test_keyFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.result = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."private_key": "~/.ssh/id_rsa",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# so treat the bastion as pinned rather than reading ~/.ssh/known_hosts.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# Verify that kill was called on the processFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."private_key": "~/.ssh/id_rsa",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.f'"{os.path.expanduser("~/.ssh/known_hosts")}" 'Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.assert config.known_hosts_file == os.path.expanduser("~/.ssh/bastions")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# so treat the bastion as pinned rather than reading ~/.ssh/known_hosts.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.subprocess.run(["ssh-keygen", "-q", "-H", "-f", str(path)], check=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.mock_process.kill = MagicMock()Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.subprocess.run(["ssh-keygen", "-q", "-t", "ed25519", "-N", "", "-f", str(path)], check=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.found = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."private_key": "~/.ssh/id_rsa",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.">> /etc/ssh/sshd_config; kill -HUP 1"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.config = _config(known_hosts_file="~/.ssh/bastions")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.log = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.{"host": "bastion.example.com", "private_key": "~/.ssh/id_rsa"}Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.mock_process.kill = MagicMock()Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.f'"{os.path.expanduser("~/.ssh/known_hosts2")}"'Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.scan = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.Cost to the agent
Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.
Known vulnerabilities
No advisories in OSV for mcp-read-only-sql@0.7.0 as of 6d ago. This is the package itself, not its dependencies.
What would make this Verified
4 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Unclaimed publisher≈ +8 on the totalClaim lukleh: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Destructive file system command detected≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- Privileged sudo command≈ +2 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- File type combined with upload action≈ +2 on the totalRemove the call, or declare the host in frontmatter and explain in the README what is sent and why.
- Python subprocess execution detected≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.