javascriptMITTrust: scannedUsed 3×

HTTP JSON request

A reusable async helper that performs a JSON fetch request with configurable method, headers, body, and a timeout using AbortController.

Untrusted input — what to verify before you trust it

Outbound fetch helpers often lack SSRF guards, timeouts and redirect limits — the difference between a helper and an internal-network exfil vector. Confirm this card blocks internal addresses and bounds redirects and timeouts.

Preview

17 lines
// aperçu protégé · javascript · 17 lignes

17 more lines are delivered on retrieval, with the full verified card and its proof receipt.

What you get on retrieval

  • · The complete verified implementation, written to bytes by the MCP tool (near-zero output tokens).
  • · A proof receipt: source provenance, review status, license state and estimated savings.
  • · Revocation coverage — if a security fix lands on this primitive, retrievers are notified.