PkgGuard

v0.1.1
co.youraitools/pkgguard Checked 9 hours ago Published 1 month ago

Dependency scan for agents: known CVEs and malicious packages via OSV.dev.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

scan_dependencies Scan a dependency manifest for vulnerable and malicious packages

Checks a package.json, lockfile, requirements.txt, go.mod, Cargo.lock, poetry.lock or composer.lock (contents or a local path) or a package list against OSV.dev for known vulnerabilities and confirmed-malicious packages. Free preview by default (verdict and counts, up to 25 packages). With PKGGUARD_X402_PRIVATE_KEY set, returns the full paid result (affected packages, advisory ids, severity, CVSS, fixed-in versions; up to 500 packages) from https://api.youraitools.co/pkgguard/v1/scan, paying $0.003 USDC on Base per scan over x402. Informational: lists published advisories from OSV.dev for the…

ParameterTypeDescription
filenamestring
include_devboolean
manifeststringFile contents (package.json, package-lock.json, requirements.txt, Pipfile.lock, poetry.lock, go.mod, Cargo.lock, composer.lock)
packagesarray[{ecosystem, name, version}]
pathstringOr a local file path to read (e.g. ./package-lock.json)

check_package Is this package version vulnerable or malicious?

Checks one package version (npm, PyPI, Go, crates.io, Packagist, RubyGems, Maven, NuGet, Pub, Hex) against OSV.dev. Paid mode uses https://api.youraitools.co/pkgguard/v1/package ($0.001).

ParameterTypeDescription
name *string
version *string
ecosystemstringdefault npm