Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

got

Latest version: v16.2.0

Overview

Last scanned
30 Oct 2026
Published
30 Oct 2026
npm package Publisher: sindresorhus
14,956 Stars
1,004 Forks
3 Versions
161.3M Downloads
TypeScript Repo language

Scan summary

got was last scanned on 30 Oct 2026 at version 16.2.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions; the latest was published on 30 Oct 2026.
  • Findings: No rules fired in version 16.2.0.
  • Downloads: 161,274,083 downloads.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
16.2.0 LATEST 30 Oct 2026 No rules fired
16.1.0 13 Oct 2026 No rules fired
16.0.0 30 Aug 2026 No rules fired

No rules fired in 16.2.0

Findings

Findings for v16.2.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 16.2.0; other versions have their own rules, not their own score.

Known vulnerabilities

1 CVE · last 18 Jun 2022

0 CRITICAL 0 HIGH 1 MEDIUM 0 LOW

Versions

  • ≥ 12.1.0
  • ≥ 12.0.0, < 12.1.0 1 MEDIUM
  • ≥ 11.8.5, < 12.0.0
  • < 11.8.5 1 MEDIUM

Vulnerabilities

  • CVE-2022-33987 Medium 18 Jun 2022 nodejs-got: missing verification of requested URLs allows redirects to UNIX sockets Fixed in 12.1.0, 11.8.5

README

The publisher’s own README, as collected from the registry.

Human-friendly and powerful HTTP request library for Node.js

Downloads

See how Got compares to other HTTP libraries


You probably want Ky instead, by the same people. It's smaller, works in the browser too, and is more stable since it's built on Fetch. Or fetch-extras for simple needs.


Support questions should be asked here.

Install

npm install got

Warning: This package is native ESM and no longer provides a CommonJS export. If your project uses CommonJS, you will have to convert to ESM. Please don't open issues for questions regarding CommonJS / ESM.

Got v11 is no longer maintained and we will not accept any backport requests.

Take a peek

A quick start guide is available.

JSON mode

Got has a dedicated option for handling JSON payload.\ Furthermore, the promise exposes a .json<T>() function that returns Promise<T>. It also exposes a .json(schema) function that validates the payload with a Standard Schema and infers the type from the schema.

import got from 'got';

const {data} = await got.post('https://httpbin.org/anything', {
    json: {
        hello: 'world'
    }
}).json();

console.log(data);
//=> {"hello": "world"}

For advanced JSON usage, check out the parseJson and stringifyJson options.

For more useful tips like this, visit the Tips page.

Highlights

Documentation

By default, Got will retry on failure. To disable this option, set options.retry.limit to 0.

Main API
  • [x] Promise API
  • [x] Options
  • [x] Stream API
  • [x] Pagination API
  • [x] Advanced HTTPS API
  • [x] HTTP/2 support
  • [x] Response class
  • [x] Response validation with Standard Schema
Timeouts and retries
  • [x] Advanced timeout handling
  • [x] Retries on failure
  • [x] Errors with metadata
Advanced creation
  • [x] Hooks
  • [x] Instances
  • [x] Progress events & other events
  • [x] Plugins
  • [x] Compose
Cache, Proxy and UNIX sockets
  • [x] RFC 7234 compliant caching
  • [x] Proxy support
  • [x] Unix Domain Sockets
Integration
  • [x] Diagnostics Channel
  • [x] TypeScript support
  • [x] AWS
  • [x] Testing

Migration guides

Got plugins

  • got4aws - Got convenience wrapper to interact with AWS v4 signed APIs
  • gh-got - Got convenience wrapper to interact with the GitHub API
  • gl-got - Got convenience wrapper to interact with the GitLab API
  • gotql - Got convenience wrapper to interact with GraphQL using JSON-parsed queries instead of strings
  • got-fetch - Got with a fetch interface
  • got-scraping - Got wrapper specifically designed for web scraping purposes
  • got-ssrf - Got wrapper to protect server-side requests against SSRF attacks

Comparison

got [node-fetch][n0] [ky][k0] [axios][a0] [superagent][s0]
HTTP/2 support :heavy_check_mark: :x: :heavy_check_mark: :x: :heavy_check_mark:**
Browser support :x: :heavy_check_mark:* :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
Promise API :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
Stream API :heavy_check_mark: Node.js only :x: :x: :heavy_check_mark:
Pagination API :heavy_check_mark: :x: :x: :x: :x:
Request aborting :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
RFC 7234 caching :heavy_check_mark: :x: :x: :x: :x:
Cookies (out-of-the-box) :heavy_check_mark: :x: :x: :x: :x:
Follows redirects :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
Retries on failure :heavy_check_mark: :x: :heavy_check_mark: :x: :heavy_check_mark:
Progress events :heavy_check_mark: :x: :heavy_check_mark: Browser only :heavy_check_mark:
Handles gzip/deflate :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
Advanced timeouts :heavy_check_mark: :x: :x: :x: :x:
Timings :heavy_check_mark: :x: :x: :x: :x:
Errors with metadata :heavy_check_mark: :x: :heavy_check_mark: :heavy_check_mark: :x:
JSON mode :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
Custom defaults :heavy_check_mark: :x: :heavy_check_mark: :heavy_check_mark: :x:
Composable :heavy_check_mark: :x: :x: :x: :heavy_check_mark:
Hooks :heavy_check_mark: :x: :heavy_check_mark: :heavy_check_mark: :x:
Issues open [![][gio]][g1] [![][nio]][n1] [![][kio]][k1] [![][aio]][a1] [![][sio]][s1]
Issues closed [![][gic]][g2] [![][nic]][n2] [![][kic]][k2] [![][aic]][a2] [![][sic]][s2]
Downloads [![][gd]][g3] [![][nd]][n3] [![][kd]][k3] [![][ad]][a3] [![][sd]][s3]
Coverage TBD [![][nc]][n4] [![][kc]][k4] [![][ac]][a4] [![][sc]][s4]
Build [![][gb]][g5] [![][nb]][n5] [![][kb]][k5] [![][ab]][a5] [![][sb]][s5]
Bugs [![][gbg]][g6] [![][nbg]][n6] [![][kbg]][k6] [![][abg]][a6] [![][sbg]][s6]
Dependents [![][gdp]][g7] [![][ndp]][n7] [![][kdp]][k7] [![][adp]][a7] [![][sdp]][s7]
Install size [][g8] [][n8] [][k8] [][a8] [][s8]
GitHub stars [![][gs]][g9] [![][ns]][n9] [![][ks]][k9] [![][as]][a9] [![][ss]][s9]
TypeScript support [![][gts]][g10] [![][nts]][n10] [![][kts]][k10] [![][ats]][a10] [![][sts]][s11]
Last commit [![][glc]][g11] [![][nlc]][n11] [![][klc]][k11] [![][alc]][a11] [![][slc]][s11]

* It's almost API compatible with the browser fetch API.\ ** Need to switch the protocol manually. Doesn't accept PUSH streams and doesn't reuse HTTP/2 sessions.\ :sparkle: Almost-stable feature, but the API may change. Don't hesitate to try it out!\ :grey_question: Feature in early stage of development. Very experimental.

[Click here][installsizeofthedependencies] to see the install size of the Got dependencies.

Maintainers

Sindre Sorhus Szymon Marczak
Sindre Sorhus Szymon Marczak

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm got

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229