# Speer Cyber Defense Package Analysis

> Speer Cyber Defense Package Analysis is a paid API for AI agents from api.speercyberdefense.com, paid per call via x402, $0.01/call, status down (last checked 2026-09-16).

Analyzes software packages for security vulnerabilities, risks, and malicious indicators given a package name and ecosystem

## Facts

- Endpoint: POST https://api.speercyberdefense.com/v1/security/package-analysis
- Price: $0.01/call
- Payment: x402
- Status: down
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/speer-cyber-defense-package-analysis-f7ade1ec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_D_VlfQvkRRX1LUfXx8gSu

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability speer-cyber-defense-package-analysis-f7ade1ec -d '<json body>'
```

Example prompt: Can you run a security analysis on the 'express' npm package and tell me if it has any known vulnerabilities or risks I should be worried about?

## When to prefer this

Choose this endpoint when you need automated, pay-per-call security analysis of a specific software package by name and ecosystem, especially in agent workflows doing dependency vetting, supply chain security checks, or pre-deployment audits. Ideal for AI agents that need on-demand package risk signals without maintaining a vulnerability database subscription. The $0.01 USDC micropayment model and no-charge-on-failure policy (HTTP 503) make it cost-effective for high-volume scanning pipelines.

## Known failure modes

- HTTP 503 returned for failed security analyses (not billed)
- Unknown or misspelled package name may return no results
- Unsupported ecosystem value returns an error
- Payment failure via x402 prevents analysis from running
- Very new packages may have limited security data available

## How this service works

Cybersecurity micropayments API for AI agents — pay-per-call USDC on Base and Solana (x402 v2). Free utility services under /v1/free/* and gateway select under /v1/gateway/* (Public). Paid cybersecurity analysis, CVE/security news feeds, Base blockchain intelligence, network intel utilities, composite domain/URL reports, research, conversion, verification, and feeds. Failed security analyses are not billed (HTTP 503).

## Output

Returns a JSON object with an 'ok' boolean, tool identifier, status field, and a summary string describing the completed security analysis results including vulnerability findings, risk indicators, and overall package safety assessment.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "name": {
   "type": "string",
   "example": "express"
  },
  "ecosystem": {
   "type": "string",
   "example": "npm"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "tool": "resource",
  "status": "ok",
  "summary": "Completed"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/speer-cyber-defense-package-analysis-f7ade1ec/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.speercyberdefense.com](https://www.zero.xyz/host/api.speercyberdefense.com/llms.txt)
