the-bastion-mcp@0.1.0
CAUTION· not startedPublisher claims: "Enables AI coding agents to run one-shot commands and copy single files to and from remote servers through The Bastion, which authenticates, authorizes, and records each action. Access is controlled by the bastion rather than allowlists or deny lists." In our sandbox: Not started: dependency install failed; the server itself was not observed.
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.
Behavior
In our sandbox run on 2026-11-06, [email protected] read no files and called no hosts, and its code names no environment variables. Coverage: not started.
Files read
None recorded.
Hosts called
None recorded.
Environment variables its code names
None found.
Names only, read from the code. We never hold a value.
Tools offered
No tool list recorded.
Changes since the prior version
No prior version with a result to compare.
What we did not test
- server startup
- the tool list
- tool behavior
| Run date | 2026-11-06 |
| Coverage | not started |
| Engine | 1.9.2, script@linux |
| Reproduce | npx -y vet-skills try the-bastion-mcp |
| This record | behavior.json, behavior.md, signed attestation |
This is a record of what one version did in the runs we made. It is evidence, not a certificate.
Before you give it your token
Code inventory arrives with this version's next honeypot run.- It will ask for
- unknown until the next run
- Where it talks to
- unknown until the next run
- What we saw when it ran
- no credential files read · no network
- What we could not test
- server startup · the tool list · tool behavior
Not enough was observed to say yet. Not started: dependency install failed; the server itself was not observed. This version's code has not been inventoried for credentials and hosts either; both arrive with its next honeypot run (popular servers first). `vet-skills try the-bastion-mcp` runs it now and prints the full answer.
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-06 and scored it 74/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: Privileged sudo command; Privileged sudo command; 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
rc = subprocess.call([os.environ["FAKE_SSH_SFTP_SERVER"]])Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.(use --no-pager, -y, sudo -n with passwordless sudo).Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.assert sh.returncode != 0, "sudo must not allow a shell as the backend user"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.`sudo -n -u <backend user>` in front.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.p = subprocess.run(argv, input=b'{"version":1}', capture_output=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.identity_file = "~/.ssh/aiagent" # key file without a passphrase, mode 0600. "~" = home of the backend userFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.assert p.returncode != 0 and p.stdout == b"", "sudo must not allow arguments"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.rc = subprocess.call(["/bin/bash", "-c", command], env=env)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.opts += ["ControlMaster=auto", "ControlPersist=60", "ControlPath=~/.ssh/cm-%C"]Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.want = subprocess.run(["bash", "-c", cmd], capture_output=True, env=env, timeout=30)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.return subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.# In split mode the child is sudo (it relays SIGTERM). The backend itself belongs to another user.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.pytest.fail("the [split] mcp_config must run the backends with `sudo -n -u <backend user>`")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.identity_file = "~/.ssh/aiagent" # key file without a passphrase (mode 0600); no ssh-agent is usedFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.sh = subprocess.run(["sudo", "-n", "-u", user, "/bin/sh", "-c", "true"], capture_output=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."""SUDO_USER when the backend runs under sudo as another user, else the effective user."""Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.2. The agent user is not in a group that gives root access, for example `docker` or `lxd`.Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.perm = HELLO + 'remote open "/etc/shadow": Permission denied (x)\r\n>>> Done, 134 bytes uploaded.\n'Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.p = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.subprocess.run(["sleep", "0.05"])Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.return subprocess.run(["bash", "-c", script], input=input, capture_output=True, env=env, cwd="/", timeout=30)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.r, _ = await download(live, "/etc/shadow")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."identity_file": "~/.ssh/k",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.({"local_path": "/etc/passwd"}, "local_path: Extra inputs are not permitted"),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.assert _shorten(home / ".ssh" / "k", home) == "~/.ssh/k"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.return subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.bastion = {"host": "the-bastion1", "port": 2022, "user": "aiagent", "identity_file": "~/.ssh/aiagent"}Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.want = subprocess.run(["bash", "-c", cmd], capture_output=True, timeout=30, env={"PATH": "/usr/bin:/bin"})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
Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.
What would make this Verified
6 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Unclaimed publisher≈ +8 on the totalClaim fihufil: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- 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.
- New publisher≈ +3 on the totalTime clears this on its own after 14 and 30 days. Claiming the handle (+50) is the fastest way past it.
- Python subprocess execution detected≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.