safedeps

Solid

Gate dependency installs (npm/pip/cargo/go/gem/maven/nuget) with OSV-backed advisory checks, approved-spec ledger, and post-install reorg rollback. Run `safedeps check <eco> <pkg>@<range>` before any install command.

AI & Automation 19 stars 4 forks Updated 4 days ago Apache-2.0

Install

View on GitHub

Quality Score: 81/100

Stars 20%
43
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Safedeps Hook registration is performed by `scripts/install/install-safedeps-hooks.mjs`, which is the single channel: it registers `scripts/safedeps-hook-entry.sh pre|post` for `PreToolUse` and `PostToolUse` at the timeout it owns (ARCHITECTURE names the number once). This file used to declare the hook scripts directly in its frontmatter, which no runtime reads as a registration and which drifted from what the installer actually writes — a second description of a registration is a second thing to keep in sync, so there is one now. Two gates, one skill. Safedeps is an agent security skill backed by Claude/Codex hooks and a local CLI. It is not a Codex plugin bundle unless it is later wrapped with a plugin manifest. You (the agent) are the primary user — drive both: - **Install-time gate** — clear every dependency install through an OSV-backed advisory check before it runs. - **Secret-leak gate** — stop a secret or a real `.env` from being committed (per-repo, local by default). --- ## Install-time gate The hooks enforce this; you just run `check` first. - **PreToolUse** blocks an install whose spec is not approved and quotes the exact `safedeps check` to run. On Claude Code it also rewrites an npm install with `--ignore-scripts`, so it runs **inert** until verified; Codex CLI uses detect-and-rollback. - **Pin the version, or the gate does not run.** The ledger check needs a parseable `pkg@version`. `pip install evil` names no version, so no spec is produced and nothi...

Details

Author
aldegad
Repository
aldegad/safedeps
Created
4 months ago
Last Updated
4 days ago
Language
Shell
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

safedep

SafeDep protects developers and AI coding agents against malicious open source components. External components are the blindspot: developers and agents can inspect the code they own, not the packages, IDE extensions, Agent Skills, MCP servers, and GitHub repositories they pull in, and every one of those can carry a supply chain attack (Shai-Hulud, Miasma, S1ngularity). The toolset: vet (scan dependencies for malware and known vulnerabilities), PMG (block malicious npm/pip/other packages at install time), gryph (audit what AI coding agents read, write, and execute), xBom (AI- and SaaS-aware bill of materials), plus SafeDep Cloud, Endpoint Hub, and an MCP server for hosted governance and fleet visibility. Use this skill whenever the user wants to secure their dependencies, block or detect malicious packages, scan a repository for vulnerabilities, deploy SafeDep for a team, install or configure vet / PMG / gryph / xBom, monitor developer machines for malicious package installs, investigate package activity or a

0 Updated 2 weeks ago
safedep
Code & Development Listed

unslop-guard

Install and run pre-ship guardrails that stop new AI-generated slop from re-entering a codebase - a warn-only pre-commit hook that blocks only on secrets, and a GitHub Actions workflow that runs the unslop audit on pull requests and fails on critical findings. Use when the user asks to prevent regressions, add a pre-commit or CI security check, or gate deploys on an audit.

0 Updated 4 days ago
RuslanAMandell
Code & Development Listed

gatekeeper

This skill should be used before installing a skill, plugin, or MCP server from someone else — when the user says "is this skill safe", "check this before I install it", "audit this skill", "vet this plugin", "should I trust this", "scan this for malicious code", or pastes a GitHub link to a skill they are about to add. Reports what a skill actually touches next to what it claims to do, so the gap is visible before it runs with your permissions.

1 Updated 3 weeks ago
lkc-studio