What is slopsquat-guard?
slopsquat-guard is a Claude Code mod by Singh-AP that stops Claude from installing hallucinated or typosquatted packages: every npm, pip, uv, poetry, cargo and gem install is checked against its registry first. Packages that don't exist are. It is listed under Security and has 3 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | Singh-AP |
| Repository | Singh-AP/awesome-claude-mods |
| Popularity | 3 GitHub stars |
| Category | Security |
| Security | Low risk (88/100) |
| Rank | #1,022 of 5,272 Claude Code mods; #122 in Security |
| License | MIT |
| Last commit | 2026-10-17 |
| Stars this week | +1 |
| Hooks | 3 events |
| Sees | Bash calls |
| Draws on | nothing |
Is slopsquat-guard safe to install?
slopsquat-guard scores 88/100 on the MCPMods security check: Low risk. Things to review: sends data over the network. It passed 7 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| Sends data over the network | Review |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.now | |
$.clock.sleep | |
$.command.register | |
$.fs.exists | reads files |
$.http.fetch | network requests |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.ask | draws interface |
$.ui.toast | draws interface |
How do I install slopsquat-guard?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/Singh-AP/awesome-claude-mods claude plugin validate ./awesome-claude-mods/mods/safety/slopsquat-guard
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add Singh-AP/awesome-claude-mods && claude plugin install slopsquat-guard@awesome-claude-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs slopsquat-guard for you:
Install the "slopsquat-guard" Claude Code mod from https://github.com/Singh-AP/awesome-claude-mods/tree/main/mods/safety/slopsquat-guard. Run claude plugin validate on it first and show me what it can access before you enable it.
More from Singh-AP/awesome-claude-mods
This repository has at least 9 Claude Code mods on MCPMods.
- files-touched: Every file Claude changed this session, at a glance: a one-line band above the prompt, /touched for a +/- table, and a p (Low risk)
- git-pulse: Git status at a glance: branch, ahead/behind and changes on the status line, kept fresh as Claude edits, with a heads-up (Low risk)
- test-pulse: Your test suite's heartbeat: every test run Claude makes shows up in the status line (🧪 ✅ 44/44 passing · 2m ago), with (Low risk)
- tool-radar: Mission control for what Claude is doing: a live pane of every tool call with status, arguments, duration and failures, (Low risk)
- codebuild: Build any repo on AWS CodeBuild from Claude Code: pick an AWS profile, press Build. Sets itself up, generates the builds (Review before installing)
- cost-meter: Always know what a session costs: live $ / context / rate-limit status line, the cost of every turn, context warnings, a (Low risk)
- buddy: A tiny ASCII pet that lives above your prompt, reacts to everything Claude does, and levels up as you ship. (Low risk)
- spinner-packs: Themed spinner words: Claude is 'Plundering…' then 'Plundered for 1m 3s'. Ten packs (pirate, Shakespeare, corporate, wiz (Low risk)