Rightshold™ Sign up

Answers · agent safety

How do I tell if a Claude Code or Cursor plugin is safe to install?

Short answer: Treat a coding-agent plugin as software you are running, not as a settings file. Anthropic's own documentation says a Claude Code plugin can execute arbitrary code on your machine with your user privileges: its hooks and monitors are shell commands, its MCP and LSP servers are processes Claude Code starts, its bin/ folder lands on the Bash tool's PATH, and its skills, commands and agents go into Claude's context as instructions. Permission rules and the sandbox cover Claude's tool calls, not the hooks, monitors and servers a plugin runs on its own. So before installing: check which marketplace it comes from, read the Will install list in /plugin, read the files that actually run (hooks/hooks.json, .mcp.json, bin/), try it at local scope first, and decide whether you want it to auto-update. Cursor Marketplace plugins are manually reviewed and must be open source, but Cursor still calls installation the user's own risk and recommends reading the source.

Checklist

  1. Check the marketplace: claude plugin marketplace list prints where each marketplace came from. Official and community names (such as claude-plugins-official and claude-community) are only accepted from github.com/anthropics repositories; every other marketplace is third-party, including one a coworker or your company runs. A marketplace's name tells you who runs the catalog, not what each plugin in it does.
  2. Read the Will install section: run /plugin, open the plugin, and look at the commands, agents, skills, hooks, and MCP and LSP servers it adds. A plugin that only adds skills is a different risk from one that adds hooks and a stdio MCP server.
  3. Read what runs, not just what's listed: the details pane shows that a hook exists but not its command. Open the plugin's source and read hooks/hooks.json (the command each hook runs), .mcp.json (each server's command or URL), every file in bin/, and any monitors.
  4. Inspect before installing: clone the plugin's repository and run claude --plugin-dir <dir> plugin details <name> to print its component inventory without starting a session.
  5. Read the skills, commands and agents as instructions: look for text that tells Claude to fetch URLs, read credentials or files outside the project, send data elsewhere, or skip confirmations. Hidden or zero-width text in them is a red flag.
  6. Start narrow: choose Install for you, in this repo only (local scope) to try it, not project scope, which turns it on for everyone who works in the repository once they install it.
  7. Decide on updates: auto-update is on by default for Anthropic's official marketplaces and off for community and third-party ones. Auto-update means the files you reviewed can change on disk; to pin, add a marketplace at a tag (owner/repo#v1.2.0) and keep auto-update off for marketplaces you don't control.
  8. Cursor: plugins from the Cursor Marketplace are manually reviewed before listing and on every update, and must be open source; community plugins on cursor.directory are not that marketplace. Plugins respect your MCP allowlist and blocklist, so a blocked server inside a plugin can't make calls.
  9. Remove cleanly if you change your mind: claude plugin uninstall <plugin> --scope <scope>. Cached files stay under ~/.claude/plugins/cache/ for 14 days unless you delete them, and removing a marketplace uninstalls every plugin you installed from it.

Why a plugin is riskier than a single MCP server

Controls for teams

Ask Rightshold (free, no key)

Add the MCP server https://www.rightshold.com/mcp to Claude, Cursor, ChatGPT, Grok or VS Code, then ask: “Before I enable this plugin, check the MCP server it bundles: is it listed, what tools does it expose, and have its tool definitions changed since they were recorded?”

One-click setup

{
  "tool": "precall_check",
  "arguments": {
    "url": "<the https URL of the plugin's MCP server>"
  }
}

Rightshold does not review or certify Claude Code or Cursor plugins. It checks remote MCP servers' listings and tool definitions and scans text you give it; hooks, monitors and bin/ files run locally and need your own review.

Sources

Related

Not legal advice. Updated 2026-10-29. JSON · Markdown · All answers

Get a free API key in one call

No card and no email needed. 100 free credits; the license and policy checks stay free without a key.

curl -s -X POST https://www.rightshold.com/v1/accounts/signup -H "Content-Type: application/json" -d '{"accept_terms":true}'
export RIGHTSHOLD_API_KEY=rs_...   # the api_key from the reply (shown once)
curl -s https://www.rightshold.com/v1/licenses/check -H "Authorization: Bearer $RIGHTSHOLD_API_KEY" \
  -H "Content-Type: application/json" -d '{"license":"MIT","intended_use":{"commercial_use":true}}'