Skip to main content

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

Metadata

Release files for agent-security 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agent-security 1.0.0
File Size Uploaded Provenance
agent_security-1.0.0.tar.gz 6.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for agent-security 1.0.0
File Interpreter ABI Platform
agent_security-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 14.8 kB

Release files / agent_security-1.0.0.tar.gz

Download URL agent_security-1.0.0.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f91e695ca929fcefd7323477d95de4afb0262be6c0185c8b05ed093105e12aca
BLAKE2b-256 checksum
How to use checksums
9b8e199fc87995fd9823337a5f488d724af4561611a90f7291d1ea6163d432bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / agent_security-1.0.0-py3-none-any.whl

Download URL agent_security-1.0.0-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9365c80b325c42e38dcb30a62956328d9ff238af9a0a8f8e14dc02530e8feea6
BLAKE2b-256 checksum
How to use checksums
e4da3036eb7af9b36ccd67a24a7e6b69caecd905a7b622196f6f50338ea6038d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Security for agent-security 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page