arch-mcp-server@0.8.0
CAUTION· startup onlyPublisher claims: "MCP server for Linux host administration over SSH, with first-class Arch Linux support" Observed in sandbox: no network, touches nothing outside the project, writes no memory.
Coverage
Startup only; authenticated tool behavior not tested.- Tested
- server startup over stdio (initialize sent) · every file read, file written and host contacted by what ran
- Not tested
- the tool list (the server exited before answering) · what the tools do when called with real credentials
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
ARCH_MCP_GAP_TOKENARCH_MCP_HTTP_TOKENARCH_MCP_PASSWORDConfiguration, not credentials: ARCH_MCP_ALLOW_ANY_EXEC, ARCH_MCP_ALLOW_RAW, ARCH_MCP_ALLOW_SCRIPTS, ARCH_MCP_ALLOW_SUDO, ARCH_MCP_AUDIT, ARCH_MCP_AUDIT_PATH, ARCH_MCP_CONFIRM_TTL, ARCH_MCP_DEBUG, ARCH_MCP_GAP_ENDPOINT, ARCH_MCP_GAP_LOG, ARCH_MCP_HOST, ARCH_MCP_HOST_KEY, ARCH_MCP_HTTP_HOST, ARCH_MCP_HTTP_PORT, ARCH_MCP_KEY, ARCH_MCP_LOCAL, ARCH_MCP_MAX_BYTES, ARCH_MCP_MODE, ARCH_MCP_PASSPHRASE, ARCH_MCP_PORT, ARCH_MCP_PROFILE, ARCH_MCP_RATE_LIMIT, ARCH_MCP_RULES, ARCH_MCP_RULES_FILE, ARCH_MCP_SUDO_ALLOW, ARCH_MCP_TEXT_CONTENT, ARCH_MCP_TIMEOUT_MS, ARCH_MCP_USER- Where it talks to
- no vendor host named in the code
- What we saw when it ran
- no credential files read · no network
- What we could not test
- the tool list (the server exited before answering) · what the tools do when called with real credentials
Connect it with a scoped credential, under the guard. It asks for ARCH_MCP_GAP_TOKEN, ARCH_MCP_HTTP_TOKEN, ARCH_MCP_PASSWORD and talks to its vendor. Give the credential to the guard, not the server: the value never enters the server's environment and only travels to the host you bind. What the tools do with a real credential was not observed.
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; startup only; authenticated tool behavior not tested) on 2026-11-23 and scored it 72/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; Privileged sudo command. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 28 s · 2 scenarios · 0 deviationsStatic findings
warnings.push('ARCH_MCP_ALLOW_SUDO=1: commands run through sudo -n; the SSH user needs NOPASSWD rules');Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.return policy('sudo is disabled', 'set ARCH_MCP_ALLOW_SUDO=1 and add the command to ARCH_MCP_SUDO_ALLOW');Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.mode: z.string().regex(/^[0-7]{3,4}$/, 'expected an octal mode like 644').optional().describe('chmod mode'),Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.return policy('sudo command not in the allowlist', 'add it to ARCH_MCP_SUDO_ALLOW');Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.return err('E_POLICY', 'refusing to chown a system root or ~/.ssh', 'target a specific file');Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.const chmod = await runCommand(ctx.conn, ['chmod', input.mode, path.data], {Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.description: 'Run one allowlisted binary with argv after two-step confirmation. Off unless ARCH_MCP_ALLOW_RAW=1 and mode=admin; shells and sudo are refused.',Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell./** Writes into system trees and ~/.ssh, resolved through the shared policy module. */Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* Run commands through `sudo -n` while keeping the same SSH user.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.return err('E_POLICY', 'refusing to chmod a system root or ~/.ssh', 'target a specific file');Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.description: 'Write a text file after two-step confirmation. Refuses /etc, /boot, /usr and ~/.ssh; content goes over stdin, never through the shell.',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.return err('E_PERM', 'sudo needs a NOPASSWD rule for this MCP user', 'add the command to sudoers with NOPASSWD, or run the MCP as root');Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.3. **`exec_any` / `script_run`**: admin mode and opt-in. `exec_any` rejects shells andFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.return err('E_POLICY', `at most ${MAX_ACTIVE} jobs may run at once`, 'wait for one to finish or kill it');Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.return err('E_PERM', `wrote ${path.data} but chmod failed`, chmod.data.stderr.trim());Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.return err('E_POLICY', 'refusing to chmod a system root or ~/.ssh', 'target a specific file');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.return err('E_POLICY', 'refusing to chown a system root or ~/.ssh', 'target a specific file');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.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 arch-mcp-server@0.8.0 as of 38 min ago. This is the package itself, not its dependencies.
What would make this Verified
8 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Unclaimed publisher≈ +8 on the totalClaim dankyodev: 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.
- File permission modification command≈ +2 on the totalRequest the narrowest permission that works; replace wildcards with the exact paths or hosts.
- Process kill command≈ +2 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.