RepoXray: Browser-Based Scanner Flags Supply-Chain and AI Agent Security Risks
A developer has released RepoXray, a tool for auditing code repositories before installing packages or attaching AI coding agents. It targets 'slopsquatting', where attackers register package names that large language models commonly hallucinate, by checking npm registry existence, package age under 21 days, and OSV.dev advisories. The scanner also flags risky postinstall scripts, plaintext tokens in MCP configuration files, and .env files that coding agents could read. Its web version runs entirely in the browser with no uploads, while the 19 KB CLI, run via npx rxray, has no runtime dependencies. The author is seeking technical feedback on false positives and missing detection rules.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in