Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By bradleygoldenv1.2.1MITIn 1 marketplace
Blocks git commits in Elixir projects that depend on packages with known vulnerabilities, using the mix_audit scanner. A hook runs before every Bash call and acts only on git commit; it needs mix_audit in the project's dependencies.
Trending plugins
7-day copy clicks
Run automatically on Claude Code events. Claude doesn't decide.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Dependency security audit plugin for Claude Code that scans Mix dependencies for known vulnerabilities before commits.
The mix_audit plugin integrates the mix_audit Elixir dependency security scanner into Claude Code workflows. It automatically scans your project's dependencies against a database of known security vulnerabilities and blocks commits if vulnerable dependencies are detected.
mix deps.audit before git commitsmix_audit is in your project dependenciesmix.exs file# mix.exs
def deps do
[
{:mix_audit, "~> 2.0", only: [:dev, :test], runtime: false}
]
end
Then run:
mix deps.get
/plugin marketplace add github:bradleygolden/claude-marketplace-elixir
/plugin install mix_audit@elixir
When you or Claude attempt to create a git commit, the plugin:
git commitmix_audit is in dependenciesmix deps.audit in the project rootNote: Skips if project has a precommit alias (defers to precommit plugin)
When vulnerabilities are detected:
Pass: project depends on safe version of phoenix
Fail: project depends on unsafe version of plug (1.10.0)
Known affected package: plug (1.10.0)
Vulnerability: Arbitrary Code Execution in Plug.Static
Patched versions: >= 1.10.4
CVE: CVE-2021-32...
The commit is blocked until you update the vulnerable dependency.
mix_audit is an Elixir security vulnerability scanner that:
mix.lock against the GitHub Advisory Databasemix hex.audit (which checks for retired packages)Similar to:
npm audit for Node.jsbundler-audit for Rubycargo audit for RustIf you need to temporarily ignore specific vulnerabilities, use mix_audit's ignore flags:
# In your project
mix deps.audit --ignore-advisory-ids=uuid-1,uuid-2
For permanent ignores, create a .audit.exs ignore file:
mix deps.audit --ignore-file=.audit.exs
See mix_audit documentation for details.
The pre-commit hook has a 30-second timeout (configurable in hooks/hooks.json). This is typically sufficient for dependency audits.
Consider installing these related security plugins:
Together, these provide comprehensive security and quality coverage.
Cause: mix_audit is not in your project dependencies
Solution: Add {:mix_audit, "~> 2.0", only: [:dev, :test], runtime: false} to mix.exs
Cause: Advisory applies to usage you don't have
Solution: Use --ignore-advisory-ids or create .audit.exs ignore file
Cause: First run fetches the advisory database
Solution: Subsequent runs are faster (database is cached locally)
To audit dependencies without committing:
# In your project root
mix deps.audit
# With JSON output
mix deps.audit --format json
# Check specific path
mix deps.audit --path=/path/to/project
See CHANGELOG.md for version history.
MIT
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub bradleygolden/claude-marketplace-elixir --plugin mix_auditPlugins from other owners that cover similar ground