---
title: "Package Security Audit (x402)"
method: GET
path: "/x402/v2/package-security-audit"
tags: ["x402"]
---

# Package Security Audit (x402)

`GET /x402/v2/package-security-audit`

## Request

- Base URL: `https://api.strale.io`
- URL: `https://api.strale.io/x402/v2/package-security-audit`
- Auth: none required

Composite security audit for npm and PyPI packages with supply chain anomaly detection

## Query parameters

- `name` string, required: Package name
- `version` string: Version to audit
- `ecosystem` string: npm or pypi

## Response `200`

Success

- object
  - `name` string
  - `license` object
  - `version` string
  - `ecosystem` string
  - `freshness` object
  - `risk_level` string
  - `risk_score` integer
  - `supply_chain` object: Supply chain anomaly signals
  - `vulnerabilities` object

## Other responses

- `402`: Payment required (x402 — pay with USDC on Base)

---

[API](https://skmtc.dev/strale/apis/strale-api-2.md) · [All operations](https://skmtc.dev/strale/apis/strale-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/strale/apis/strale-api-2/revisions/a5293878cfc6?raw)
