Repo Run Check

v1.1.0
io.github.devx-agent/repo-run-check Checked 1 day ago Published 1 month ago

Check GitHub repos and shell commands for malware-delivery tricks before an AI agent runs them

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

check_command Check a shell command before running it

Statically scans one shell, bash or PowerShell command (or a short script) for malware-installer patterns before anyone runs it. Use it whenever an agent is about to run a command copied from a README, issue, gist, website, chat or AI answer, and for one-liners like curl | sh or iwr | iex. It flags download-and-execute (curl/wget piped to a shell, iwr/irm piped to iex) from unknown hosts, encoded or obfuscated PowerShell, Windows LOLBins (mshta, certutil, rundll32...), commands that disable antivirus or Defender, and known malware domains. Well-known installers (rustup, Foundry, Anza and simil…

ParameterTypeDescription
cmd *stringThe exact command or script text you plan to run, unmodified (1-20000 characters). Multi-line input is fine; each line is checked.

check_local_repo Check a cloned repo folder before installing it

Statically scans a repository folder on the machine running this MCP server before you run npm install, pip install, make or its setup steps. It reads only these files if present (each up to 300 KB): README.md, package.json, install.sh, setup.sh, setup.py, requirements.txt, .vscode/tasks.json and Makefile. It looks for npm lifecycle scripts (preinstall/postinstall) that download or run code, typosquatted or URL dependencies, setup.py side effects, VS Code tasks that autorun on folder open, and dangerous commands in the README and scripts. Read-only: it never executes anything, never writes fil…

ParameterTypeDescription
path *stringPath to the repo's root folder on this machine, absolute or relative to the server's working directory. In Docker, the folder must be mounted into the container.

check_repo Check a public GitHub repo's install steps

Fetches a public GitHub repo's README (raw.githubusercontent.com, up to 300 KB) and scans its install instructions before you clone it or follow them. Use it when a user or agent is told to 'clone this repo and run the setup' or is evaluating a starter kit, trading bot, wallet tool or MCP server from GitHub. Free and read-only: one unauthenticated HTTPS request to GitHub; nothing is cloned or executed. Only the README is checked here. The optional paid hosted check (https://repo-run-check.nextill-pos.workers.dev/v1/check, 0.005 USDC via x402 on Base) also reads package.json install scripts, de…

ParameterTypeDescription
repo *stringPublic GitHub repository as owner/repo or https://github.com/owner/repo (a trailing .git or path is fine). Other hosts are not supported.