@somewhere-tech/cliBLOCK
Official CLI for the somewhere.tech platform
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
CLI for somewhere.tech. Like gh for GitHub, vercel for Vercel.
Install
npm install -g @somewhere-tech/cli
Or run directly:
npx somewhere-cli deploy
From a project folder, that single command deploys anonymously when no account is configured and prints the live URL, claim URL, and expiry. The scoped package name works too: npx @somewhere-tech/cli deploy.
Quick start
somewhere login # OAuth in browser, stores API key somewhere init # Create project, write .somewhere.json + .mcp.json somewhere dev # Serve your app on localhost, compiled by the platform somewhere deploy # Deploy current directory somewhere logs # Stream logs somewhere open # Open in browser
The CLI needs no MCP setup: every command works from the shell, and somewhere run executes code against your live project. somewhere init also writes a .mcp.json so supporting hosts can additionally connect the same tools in context — optional, not required. Just start coding.
Commands
276ef869b242OBSERVED · 2026-10-11Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add swpx-verdict-api --env API_KEY=${API_KEY} --env GITHUB_TOKEN=${GITHUB_TOKEN} --env PREWARM_KEY=${PREWARM_KEY} --env SECRET=${SECRET} -- npx -y [email protected]{
"mcpServers": {
"swpx-verdict-api": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"API_KEY": "${API_KEY}",
"GITHUB_TOKEN": "${GITHUB_TOKEN}",
"PREWARM_KEY": "${PREWARM_KEY}",
"SECRET": "${SECRET}"
}
}
}
}Exposed tools (14)
10 read · 3 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.
| Tool | Risk | Description |
|---|---|---|
cron_create | write | Create a scheduled trigger. |
cron_delete | destructive | Delete a scheduled trigger |
cron_list | read | List scheduled triggers |
cron_update | write | Update a scheduled trigger |
db_browse | read | Browse rows |
email_send | write | Send transactional email |
email_test_inbox | read | Read test inbox |
feedback | read | Project feedback |
project_grep | read | Search source |
sketchy | read | lightweight date formatter |
tasks_get | read | Get one task |
tasks_list | read | List tasks |
usage_summary | read | Usage totals |
x | read | y |
Trust audit
BLOCKgrade F · trust 54/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | FAIL |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | WARN |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (5 observation(s))
- Network
- declared (6 observation(s))
- Shell
- declared (7 observation(s))
- Dependencies
- not all pinned
- Secrets in source
- found
Findings (25)
const computeOutlineVisibility = eval('(' + helperJs + ')');const script = eval('`' + raw + '`');const origin = `http://127.0.0.1:${address.port}`;dsn: 'postgres://app_user:[email protected]/appdb',
token: 'smt_auth_export_fixture',
token: 'smt_print_token_test',
writeFileSync(join(root, 'config.json'), JSON.stringify({ token: 'smt_fixture_identity' }), { mode: 0o600 });token: 'smt_permissions_test',
token: 'smt_cron_timezone_test',
cron_delete
mal-cache.test.mjs
.mailmap
.somewhere.json
new Function('require', 'module', 'exports', parser.outputFiles[0].text)(req, mod, mod.exports);const module = { exports: {} }; new Function('require', 'exports', js)(require, module.exports);const authenticate = new Function('context', 'github', 'core', `return (async () => { ${script} })()`);const accept = createHash('sha1'){ main: '../../../../etc/passwd' },import { resolveVerdict } from '../../../_lib/resolve.mjs';import { checkRateLimit, clientIp } from '../../../_lib/ratelimit.mjs';import { enrichRow } from '../../../_lib/prewarm.mjs';import { readVerdict, writeVerdict } from '../../../_lib/db.mjs';assert.deepEqual(parseMatchResponse('{"match": false, "reason": "exfiltrates env"}'), {description_match_reason: 'exfiltrates env',
const sw = { ai: { chat: async () => ({ text: '{"match": false, "reason": "exfiltrates"}' }) } };Gates applied: no_behavioural_pass.
276ef869b242full audit observations/trust-audit/mcp-server/somewhere-tech__somewhere-cli.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-11 | 276ef869b242 | BLOCK | F | 54 | first audit |
Questions
What is the @somewhere-tech/cli MCP server?
Official CLI for the somewhere.tech platform
What tools does @somewhere-tech/cli expose?
14 in total: 10 read-only, 3 that write, and 1 that can delete or overwrite (cron_delete). Every one is listed on this page with its risk.
Is @somewhere-tech/cli safe to connect to an agent?
No — not without reading the findings first. The audit graded it F (54/100) and found 2 critical or high issues in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does @somewhere-tech/cli need?
It reads API_KEY, GITHUB_TOKEN, PREWARM_KEY, SECRET and SOMEWHERE_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does @somewhere-tech/cli run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as swpx-verdict-api at 0.1.0.
How current is this page?
The grade is for one exact copy of the source (276ef869b242), read on 2026-10-11. The repository is watched and re-audited when it changes.