presence-mcp@0.21.2
CAUTION· install onlyPublisher claims: "Exposes 20 tools over stdio that let coding agents treat any SSH-reachable machine as a local workspace: reading, writing, editing, searching and listing files, running commands and background jobs, driving persistent terminals, and forwarding ports over one pooled connection, with nothing installed on the remote host." In our sandbox: Nothing executable in the bundle ran; the trace covers the install step only.
Coverage
Nothing executable in the bundle ran; the trace covers the install step only.- Tested
- every file read, file written and host contacted by what ran
- Not tested
- use of the skill by an agent
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-14, [email protected] read no files and called no hosts, and its code names 16 environment variables. Coverage: install only.
Files read
None recorded.
Hosts called
None recorded.
Environment variables its code names
DSH_ASAR, DSH_HOME, DSH_SSH_CONFIG, DSH_SSH_DIR, PRESENCE_DIR, PRESENCE_JOBS_FILE, PRESENCE_JOB_EXIT, PRESENCE_JOB_HOST, PRESENCE_JOB_ID, PRESENCE_JOB_LABEL, PRESENCE_PROBE_HOST, PRESENCE_SFTP_RETRIES, PRESENCE_SFTP_TIMEOUT_MS, SSH_AUTH_SOCK, STAT_MAX_PATHS, TRASH_MAX_PATHS
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
- use of the skill by an agent
| Run date | 2026-11-14 |
| Coverage | install only |
| Engine | 1.9.2, script@linux |
| Reproduce | npx -y vet-skills try presence-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
- It will ask for
SSH_AUTH_SOCKConfiguration, not credentials: DSH_ASAR, DSH_HOME, DSH_SSH_CONFIG, DSH_SSH_DIR, PRESENCE_DIR, PRESENCE_JOB_EXIT, PRESENCE_JOB_HOST, PRESENCE_JOB_ID, PRESENCE_JOB_LABEL, PRESENCE_JOBS_FILE, PRESENCE_PROBE_HOST, PRESENCE_SFTP_RETRIES, PRESENCE_SFTP_TIMEOUT_MS, STAT_MAX_PATHS, TRASH_MAX_PATHS- Where it talks to
- no vendor host named in the codeAlso evil.example — not the publisher's domain; check what for before connecting.
- What we saw when it ran
- no credential files read · no network
- What we could not test
- use of the skill by an agent
Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names evil.example as well as its own vendor. The guard injects SSH_AUTH_SOCK only into requests to the host you bind (and its subdomains) and refuses the rest.
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 (1 scenario; nothing executable in the bundle ran; the trace covers the install step only) on 2026-11-14 and scored it 65/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: Reads credential paths from the home directory; Access to sensitive file paths; Access to sensitive file paths. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 0 s · 1 scenarios · 0 deviationsStatic findings
// Read ~/.ssh/config so the plugin offers exactly the machines the userFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose./** Machines from ~/.ssh/config, with live state. The file itself is re-read at most every 10s. */Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.throw new Error(`no host "${host}" in ~/.ssh/config or manual hosts${known ? `; available: ${known}` : ''}`);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// Keep the output captured before the kill instead of throwing it away:Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.command: 'rm -f /data/big.bin',Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.// user@host[:port]) instead of adding them to ~/.ssh/config. Presence owns thisFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.warnings.push(`已忽略 -F ${takeValue(index, '-F')}:只读取 ~/.ssh/config`);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.`Presence ${VERSION ?? ''}${VERSION ? ':' : ''} ${hosts.length} remote machines from ~/.ssh/config (${live}). ` +Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* Parse an ssh command line (`ssh -p 2222 -i ~/.ssh/k user@host`) or a bareFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// Read ~/.ssh/config so the plugin offers exactly the machines the userFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.… description: 'List the machines Presence can reach: every Host in ~/.ssh/config plus manual hosts stored by Presence. Returns alias, hostname, port, use…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.'sudo rm -f x': 'rm?',Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.} else if (exact === '-F') warnings.push(`已忽略 -F ${value}:只读取 ~/.ssh/config`);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const INSTRUCTIONS = `Presence exposes remote machines from ~/.ssh/config as if they were local.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.['sudo rm -f a', null],Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.host: z.string().describe('ssh alias from ~/.ssh/config or a manual Presence host'),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.{ name: '.env', path: `${remoteRoot}/src/.env`, kind: 'file' },Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.check('a configured ssh host is available for the mount path', false, 'no host in ~/.ssh/config');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// machine listed in ~/.ssh/config. Nothing is installed on the far side.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.console.error(`no host "${alias}" in ~/.ssh/config`);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// Plain Node, no DSH imports, against the real host in ~/.ssh/config. RemoteFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.console.error(`no host "${host}" in ~/.ssh/config`);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// Read ~/.ssh/config so the plugin offers exactly the machines the userFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.if (hosts.length === 0) return ok('no hosts: add machines to ~/.ssh/config or use Presence manual hosts');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.JSON.stringify({ command: spawn?.command, env: spawn?.options?.env }),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// 3. a real `ss` scan against a host from ~/.ssh/config (via src/pool.js);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.['no host "nope" in ~/.ssh/config or manual hosts', 'fatal'],Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.await connection.exec(`chmod 755 ${fixture}/locked 2>/dev/null; rm -rf ${fixture}`);Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.* something. After a real kill the status file decides the exit code; whenFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.// chmod below still fixes an explicit/preserved mode exactly, because theFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.// Zero-install probe: prove that a machine from ~/.ssh/config becomes usableFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.if (value === null) throw new Error('chmod requires a mode, for example 0o640');Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.// ------------------------------------------------------------------ chmodFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.// B2: mkdir / rename / copy / chmod through the frozen path-ops helpers.Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.console.error(`no host "${alias}" in ~/.ssh/config`);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// chmod below still fixes an explicit/preserved mode exactly, because theFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.// Keep the output captured before the kill instead of throwing it away:Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.// chmod the temporary, never the target: the rename publishes content andFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.…ription: 'List the machines Presence can reach, taken from the user\'s ~/.ssh/config, with whether each one is connected right now. Call this before targetin…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.await connection.exec(`printf '#!/bin/sh\\necho old\\n' > ${dir}/script.sh && chmod 755 ${dir}/script.sh`);Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.'a timeout keeps partial output and reports the kill sequence',Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.// the caller gets `timedOut`, the kill sequence and the partial streamFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.'chmod recursive:true applies to the tree',Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.// user@host[:port]) instead of adding them to ~/.ssh/config. Presence owns thisFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// DSH imports — against the real host in ~/.ssh/config.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.`printf 'needle in data\\n' > ${fixture}/other.dat && chmod 000 ${fixture}/locked`,Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.await guardDestructive({ ...base, command: 'rm -rf /tmp', confirm: true });Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.console.error(`no host "${alias}" in ~/.ssh/config`);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// `kill -- -1` would signal every process this user owns, so refuse it.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.// ~/.ssh/config. Presence owns the store; the ssh config is never written.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// the caller gets `timedOut`, the kill sequence and the partial streamFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.* Parse an ssh command line (`ssh -p 2222 -i ~/.ssh/k user@host`) or a bareFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.console.error(`no host "${alias}" in ~/.ssh/config`);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// old bytes at the new one). A failed chmod must not leave the stagedFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts./** Machines from ~/.ssh/config, with live state. The file itself is re-read at most every 10s. */Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.check('helper chmodPath refuses /', /refusing to chmod \//.test(helperRootError ?? ''), helperRootError ?? 'no error');Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.// channel is the only kill there is.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.// `kill -- -1` would signal every process this user owns, so refuse it.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.// old bytes at the new one). A failed chmod must not leave the stagedFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.warnings.push(`已忽略 -F ${takeValue(index, '-F')}:只读取 ~/.ssh/config`);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* something. After a real kill the status file decides the exit code; whenFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.} else if (exact === '-F') warnings.push(`已忽略 -F ${value}:只读取 ~/.ssh/config`);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// chmod the temporary, never the target: the rename publishes content andFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.if (hosts.length === 0) return 'No hosts with an explicit HostName were found in ~/.ssh/config.';Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.console.error(`no host "${alias}" in ~/.ssh/config`);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.throw new Error(`no host "${host}" in ~/.ssh/config or manual hosts${known ? `; available: ${known}` : ''}`);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// channel is the only kill there is.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.`printf 'copy me\\n' > ${dir}/copy-src.txt && chmod 751 ${dir}/copy-src.txt && ` +Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.if (value === null) throw new Error('chmod requires a mode, for example 0o640');Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.// Read ~/.ssh/config so the plugin offers exactly the machines the userFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const result = await runExec(connection, `chmod -R ${value.toString(8)} -- ${shq(path)}`, EXEC_TIMEOUT_MS);Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.…lur`。参考 [Figma ambient glowing rings 教程](https://designerviet.com/threads/huong-dan-tao-hieu-ung-ambient-glowing-rings-trong-figma.21169/)。 3. **局部光斑(spotlight)**:…Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.description: 'For close: also kill the named tmux session instead of leaving it running. Defaults to false.',Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.if (!info.exists) throw new Error(`cannot chmod ${path}: it does not exist`);Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.if (path === '/') throw new Error('refusing to chmod /');Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.* With `recursive:true` a directory is changed with a remote `chmod -R`.Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.…ode number such as 0o755. With recursive:true a directory tree is changed with `chmod -R`. Inside a workspace, relative paths resolve against the workspace root.', …Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.return `chmod ${args.recursive === true ? '-R ' : ''}${result.mode} ${result.path} on ${host}`;Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts./** A chmod mode argument: "755"/"0644"/"0o755" strings, or an octal mode number. */Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.const result = await connection.exec(`kill -0 ${condition.pid} 2>/dev/null`, {Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.if (result.code !== 0) throw new Error(`could not chmod -R ${path}: ${execDetail(result)}`);Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts./** One `kill -0` / `pgrep -f` of a process condition. */Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.Cost to the agent
Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.
Known vulnerabilities
Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.
What would make this Verified
15 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Reads credential paths from the home directory≈ +9 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Unclaimed publisher≈ +8 on the totalClaim fanrj3: 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≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- 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.