Six checks for an npm package and five for a VS Code extension, each one you can do by hand — and which of them RepoGates answers first.
The short answer. Before you install an npm package, check its exact name, look it up in OSV's malicious-package records, read its install scripts, and check its declared repository, its age and who published its latest version. Before you install a VS Code extension, check the publisher's verified domain, its installs against its age, its name, its source and its manifest.
Last reviewed . Nobody can tell you a package or an extension is safe; these checks tell you whether it is trustworthy enough to install.
A package that runs code when it is installed, published under a name one letter away from a popular one, or taken over from its maintainer, reaches you the moment npm install runs — and an AI coding agent may type that command for you.
An extension runs inside your editor with your files, your terminal and your credentials in reach. Is this VS Code extension safe? explains each check at more length.
The package checks do not read a package's code or what the package installs after it, and the extension checks read the listing and the package's file list, not its code; a deep scan reads the files. A PASS means every check that could run, ran, and none fired — never a guarantee.
The browser extension does not see git clone, package managers or curl — outside Claude Code with the RepoGates plugin, whose hook refuses a clone or install that names a blocked repository on the command line, before it runs. The plugin's hook sees Bash tool calls in Claude Code and nothing else: it does not see a command you type in your own terminal or one another agent runs. Edit and Write are read for one thing only — an API key about to be saved — checked on the machine and never sent; that guard asks, it never denies. An extension installed from the editor's own Extensions pane is not a shell line, so no hook sees it. On npmjs.com pages the verdict is answered through the agent surfaces, not the browser board.
Is it safe to install npm packages from unknown authors? Nobody can promise that of a package. An unknown author is not a finding by itself; what you can check is whether a malicious-package record names it, whether it runs code at install time, whether its declared repository names it, how old it is and who published its latest version.
Are VS Code extensions safe to install? An extension runs inside your editor with your files, your terminal and your credentials in reach, and malicious ones have been published under names one letter away from popular ones. Check the publisher's verified domain, its installs against its age, its name, its source and what its manifest declares before you press Install.
Does RepoGates read a package's code? Not on these checks. The twelve npm and PyPI checks read the registry's own record, never the package's code or what it installs after it, and the VS Code checks read the listing and the package's file list. A deep scan reads the files, priced in credits.
Set up the Claude Code plugin Add to Browser — it's free Plans
The package and extension checks run on the paid plans, through the MCP server and the Claude Code plugin. The browser extension is free to start.
Adding a skill, a Claude Code plugin or an MCP server instead? Read how to check a Claude Code skill is safe before installing it and how to vet an MCP server before connecting it. A GitHub repository? Read is this GitHub repo safe?