Catalog PyPI
Back to packageRELEASE DETAILS

1.0.0

PyPI

agent-security

Security scanner for AI agent dependencies. One command to know if your AI stack is safe.

agentsaicvemcpscannersecuritytrust
Published14 Mar 2026
Direct dependencies0
Transitive dependenciesNot calculated

README

Version 1.0.0 documentation

agent-security

Know if your AI dependencies are safe. One command.

pip install agent-security
agent-security scan requirements.txt

Scans all your AI agent dependencies against Nerq's trust database of 204,000+ agents. Checks for CVEs, license issues, maintenance status, and overall trust score.

Output

agent-security scan: requirements.txt
Scanned 12 dependencies

  OK  langchain: Trust 88 (A), MIT
  OK  openai: Trust 91 (A+), MIT
  !!  some-agent: Trust 48 (C), 1 CVE(s), no license
  !!  risky-tool: Trust 29 (D), 2 CVE(s), AGPL

Summary: 10 trusted, 1 warning(s), 1 critical

Run 'agent-security fix requirements.txt' for improvement recommendations.

Commands

scan

agent-security scan requirements.txt
agent-security scan package.json
agent-security scan pyproject.toml
agent-security scan requirements.txt --ci  # exits 1 if critical issues

fix

agent-security fix requirements.txt

Shows specific recommendations for each problematic dependency:

  • Alternative packages with higher trust scores
  • CVE details and update suggestions

check

agent-security check langchain
agent-security check auto-gpt

Check trust for a single package.

badge

agent-security badge my-project

Generates markdown for a Nerq trust badge to add to your README.

ci

agent-security ci

Outputs a ready-to-use GitHub Action YAML for automated trust checking on every PR.

Supported files

  • requirements.txt — Python dependencies
  • package.json — Node.js dependencies
  • pyproject.toml — Python project dependencies

How it works

agent-security calls the Nerq API for each dependency. Every package is scored on:

  • Security — Known CVEs and vulnerability history
  • Maintenance — Update frequency, issue response time
  • Popularity — Stars, downloads, community size
  • License — SPDX compliance, commercial friendliness
  • Ecosystem — Framework compatibility, integration quality

No API key required. Free to use.

CI Integration

Add to .github/workflows/trust-check.yml:

name: Agent Security Check
on: [push, pull_request]

jobs:
  trust-check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-python@v5
        with:
          python-version: '3.11'
      - run: pip install agent-security
      - run: agent-security scan requirements.txt --ci

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

2 collected
agent_security-1.0.0-py3-none-any.whl

bdist_wheel · 8.04 KB · Python py3

Source file
agent_security-1.0.0.tar.gz

sdist · 6.45 KB · Python source

Source file

Repository

PENDING
agentic-index/agent-security

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 23:19 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:3281a0ec8a82f421cc547dd10f5f3b17cf0b9c1e4d000fa67ef04abd0441d495

Other collected versions

View all collected versions →