Home / Guides / How to review an agent skill or MCP server before you install it
How to review an agent skill or MCP server before you install it
A skill is text an agent will follow. An MCP server is code that runs with your permissions. Treat both like third-party dependencies.
Published 2026-12-02. By hackerdb.
The 10-minute routine
- Read the instruction file. Open
SKILL.md(or the equivalent) in an editor that shows hidden characters. Scroll to the end: long blank gaps can hide text. - List every command it tells the agent to run. Would you run each of them yourself?
- Open the scripts. A skill may ship scripts. Read them. Look for downloads piped to a shell, encoded payloads, and anything that touches credential files.
- Search for network calls.
grep -rnE "curl|wget|fetch|requests\.|https?://" .Is every host expected? - Check requested permissions. Which tools are allowed, which folders can it read, which environment variables does it receive? Does the job need each one?
- Check the source. Repository age, number of maintainers, tagged releases, open security issues, and whether the package name is a look-alike of a popular one.
- Pin it. Install an exact version or commit hash, and record why you trusted it. Review diffs on update.
Red flags
- Text telling the agent to ignore previous instructions, hide actions from you, or keep secrets from you.
- Zero-width or bidirectional control characters in text files.
- Instructions to read SSH keys, cloud credentials, browser profiles, wallet files or seed phrases.
- An MCP server launched with
npxand no pinned version, or rooted at/or your home folder. - Auto-approve or "skip permissions" settings.
- Secrets pasted into config files.
Automate the boring part
Our free agentscan is a local, read-only Python script that checks for these patterns. It makes no network calls and executes nothing it scans. A finding means "look here", not "this is malware", and a clean run does not prove safety.