Ky

registrynpm
package nameky
maintainerSindre Sorhus

Ky is a small, elegant HTTP client built on the Fetch API, designed for modern browsers and Deno. It provides retries, timeout, and hook support in a minimal API surface. It is used in frontend applications and Deno projects that prefer Fetch-based clients.

api usage

Checking Ky

ky 1.7.0 is a clean version with no known supply chain compromise. The response returns compromised: false with an empty sources array.

bash
curl "https://api.attestd.io/v1/check?product=ky&version=1.7.0" \
  -H "Authorization: Bearer YOUR_API_KEY"
json
{
  "product": "ky",
  "version": "1.7.0",
  "supported": true,
  "risk_state": "none",
  "supply_chain": {
    "compromised": false,
    "sources": [],
    "malware_type": null,
    "description": null,
    "advisory_url": null,
    "compromised_at": null,
    "removed_at": null
  },
  "last_updated": "2026-05-01T00:00:00Z"
}
attack surface

Why this package is monitored

Browser-side HTTP clients handle requests that carry session cookies and authorization tokens. A backdoored version can clone outgoing requests and forward their contents to an attacker-controlled endpoint before the response is returned to the caller.

Attestd monitors ky using the following detection sources:

registry

Manually curated advisories in the Attestd registry, verified by a human analyst. Confidence 1.0.

osv

OSV.dev malicious-package advisories with IDs prefixed MAL-. Confidence 0.95.

npm_deprecation

npm package versions with deprecation messages containing targeted attack language such as malicious, backdoor, or compromised. Confidence 0.80.

related