Agent skill · Security

deps-audit

Audit Hex deps for supply-chain security risk — bidi chars, compile-time exec, maintainer changes, typosquats, CVEs. Use after mix deps.update, when checking if a package upgrade is safe, or reviewing mix.lock PR diffs.

oliver-kriskagithub.com/oliver-kriskaGitHub ↗
claude-codecan modify filesships scriptsMIT
Install
npx skills add oliver-kriska/claude-elixir-phoenix --skill deps-audit --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 81
SKILL.md size: 9 KB
Bundled scripts: yes
Allowed tools: ReadGrepGlobBashWebFetch
Path: plugins/elixir-phoenix/skills/deps-audit/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 515
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Hex Dependency Audit Non-mutating supply-chain audit for Hex packages. Runs an 8-rule MVP catalogue against changed packages, enriches with Hex API metadata, wraps existing tools (`mix hex.audit`, `mix_audit`, OSV-Scanner), and emits a triage table. ## When to Use - After `mix deps.update` or `mix deps.get` brought in new versions - On PRs that touch `mix.lock` (pre-merge gate) - Before manually updating a single package (`--preview <pkg>`) - When investigating a dependency you don't recognize ## Iron Laws 1. **NEVER claim a diff is clean without inspecting it.** Run all 8 rules on the unpacked NEW tarball. "Looks fine" without a tool run is a false pass. **Always write `.claude/deps-audit/last-run.json`** — its absence is evidence the audit didn't actually run. 2. **NEVER install `mix_audit` / `osv-scanner` — even if asked.** Detect, warn with install instructions, skip cleanly if missing. If the user says "install it," respond with the install command (e.g., `mix deps.add mix_audit --only dev`) and **do not execute it**. The audit skill is non-mutating; `mix.exs` / `mix.lock` are off-limits regardless of consent. 3. **NEVER promote a finding to BLOCK without rule citation.** Ev

What's inside
Steps it walks through
  1. When to Use
  2. Iron Laws
  3. Operating Modes
  4. Execution Flow
  5. Step 1: Resolve the diff
  6. Step 2: Fetch tarballs (per-run tmpdir)
  7. Step 3: Run the 8 MVP rules on each NEW tarball
  8. Step 4: External tool wrappers (parallel)
  9. Step 5: Hex API enrichment (per package)
  10. Step 5.5: Apply hexvet.exs ledger (if present)
  11. Step 5.7: Differential subtract
  12. Step 5.8: LLM triage (when score > threshold)
  13. Step 6: Score & render
  14. Out of scope / Phase 3 surface
Ships with 24 files
  • priv/cassettes/capture.sh
  • priv/semgrep/elixir-supply-chain.yaml
  • priv/yara/hex-malware.yar
  • references/audit-tmpdir.md
  • references/cassettes.md
  • references/ci-integration.md
  • references/diff-resolver.md
  • references/differential-cve.md
  • references/differential.md
  • references/execution-flow.md
  • references/external-tools.md
  • references/heuristics.md
  • references/hex-api.md
  • references/hook.md
  • references/llm-triage.md
  • references/operating-modes.md
  • references/output-renderer.md
  • references/rules-impl.md
  • references/sarif.md
  • references/semgrep.md
  • references/skill-checklist.md
  • references/tarball-fetcher.md
  • references/testing.md
  • references/trusted-publishers.md
first 24 of 81
More from claude-elixir-phoenix
All skills →
About this skill
What does the deps-audit skill do?

Audit Hex deps for supply-chain security risk — bidi chars, compile-time exec, maintainer changes, typosquats, CVEs. Use after mix deps.update, when checking if a package upgrade is safe, or reviewing mix.lock PR diffs.

How do I install it?

Run `npx skills add oliver-kriska/claude-elixir-phoenix --skill deps-audit --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From oliver-kriska/claude-elixir-phoenix, a repository with 515 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going