# Webschutz Subresource Integrity Repair Plan

> Webschutz Subresource Integrity Repair Plan is a paid API for AI agents from webschutz.halowerk.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-23).

Passively audits a public URL for missing or incorrect Subresource Integrity (SRI) attributes on external scripts and stylesheets, returning a verdict, evidence source, and actionable repair recommendations.

## Facts

- Endpoint: POST https://webschutz.halowerk.com/v1/subresource-integrity-repair?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/webschutz-subresource-integrity-repair-plan-7ec9fe45
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_45yzUoHMzs-cnSx0O_7mg

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 webschutz-subresource-integrity-repair-plan-7ec9fe45 -d '<json body>'
```

Example prompt: Can you check https://www.example.com for subresource integrity issues and give me a repair plan — which external scripts or stylesheets are missing SRI hashes and what should I do to fix them?

## When to prefer this

Use this endpoint when you need a passive, non-intrusive audit specifically focused on Subresource Integrity (SRI) compliance for a public web page — particularly when you want not just a verdict but an actionable repair plan. It is part of a broader web security suite on webschutz.halowerk.com, so prefer it over generic security scanners when you need SRI-specific evidence with clear remediation steps. It is ideal for CI/CD pipelines, pre-launch checklists, or periodic compliance checks where cost-efficiency ($0.001/call) matters.

## Known failure modes

- Target URL is unreachable or returns a non-2xx status, resulting in an error or inconclusive verdict
- Target domain resolves but serves no HTML with external resources, yielding empty evidence
- Rate limiting or bot-blocking by the target site may prevent evidence collection
- Dynamically loaded scripts injected by JavaScript may not be detected in a passive fetch
- Very large pages may be partially analyzed due to response size limits

## How this service works

External script integrity repair plan fetches current public evidence from the supplied target and evaluates the documented criterion. It returns the observation, threshold, verdict, exact evidence source, limitations and a mode-specific action. The check is passive: no login attempt, payload injection, exploit, purchase, form submission or load test is performed.

## Output

Returns a structured report including: the observed SRI state (which resources lack or have incorrect integrity attributes), the evaluation threshold/criterion used, a pass/fail verdict, the exact public evidence source URL inspected, known limitations of the passive check, and a mode-specific action plan describing how to remediate missing or broken SRI hashes. No authentication or intrusive actions are performed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "target": {
   "type": "string",
   "maxLength": 2048,
   "minLength": 3,
   "description": "Public HTTP(S) URL or domain to inspect. A bare domain is normalized to HTTPS."
  },
  "context": {
   "type": "object",
   "description": "Optional non-secret correlation labels returned unchanged only in the request lifecycle.",
   "maxProperties": 12,
   "additionalProperties": {
    "type": [
     "string",
     "number",
     "boolean",
     "null"
    ]
   }
  },
  "baseline": {
   "type": [
    "object",
    "null"
   ],
   "description": "Optional baseline returned by a previous snapshot call.",
   "additionalProperties": true
  },
  "compare_url": {
   "type": "string",
   "maxLength": 2048,
   "minLength": 3,
   "description": "Optional public comparison URL. Used by change and monitoring services."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/webschutz-subresource-integrity-repair-plan-7ec9fe45/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from webschutz.halowerk.com](https://www.zero.xyz/host/webschutz.halowerk.com/llms.txt)
