From 5679afbd4dce10bc069fe7c201183d2353dcfc66 Mon Sep 17 00:00:00 2001 From: Nigro Simone Date: Tue, 17 Nov 2026 20:37:57 +0100 Subject: [PATCH 1/5] fulmine: compliance suites (h1, h2, ws) and resilience Signed-off-by: Nigro Simone --- frameworks/fulmine/app.js | 36 ++++++++++++++++++++++++++++++++---- frameworks/fulmine/meta.json | 2 ++ 2 files changed, 34 insertions(+), 4 deletions(-) diff --git a/frameworks/fulmine/app.js b/frameworks/fulmine/app.js index 0a7052fae5..a9661ef376 100644 --- a/frameworks/fulmine/app.js +++ b/frameworks/fulmine/app.js @@ -103,10 +103,11 @@ const registerJsonRoute = (target, path = '/json/:count', ...before) => target.g res.json({ items, count }); }); -const registerEchoRoute = (target) => target.post('/echo', readRaw, (req, res) => { - // an empty body leaves req.body unset +// an empty body leaves req.body unset +const echo = (req, res) => { res.type('application/octet-stream').send(Buffer.isBuffer(req.body) ? req.body : Buffer.alloc(0)); -}); +}; +const registerEchoRoute = (target) => target.post('/echo', readRaw, echo); // The .br and .gz files on disk are served when the client accepts them. // https://fulmine.sndesign.it/examples/static-precompressed @@ -216,13 +217,40 @@ app.get('/fortunes', async (req, res) => { }); } +// /spec, the compliance route: Http11Probe reads it on 8080, h2spec on 8082 and 8443. +// HEAD goes to the GET handler, as on Express. +const specHeaders = (req, res) => { + const raw = req.rawHeaders; + let out = ''; + for (let i = 0; i < raw.length; i += 2) out += raw[i] + ': ' + raw[i + 1] + '\n'; + res.type('text/plain').send(out); +}; +app.get('/spec', (req, res) => { + res.type('text/plain').send('spec ok'); +}); +app.options('/spec', readRaw, (req, res) => { + res.set('allow', 'GET, HEAD, POST, OPTIONS').end(); +}); +app.post('/spec', readRaw, echo); +app.get('/spec/headers', specHeaders); +app.post('/spec/headers', readRaw, specHeaders); + +// /parse, for the resilience suite: each body goes through the parser of its type. The limits +// are the parsers' defaults, a body over them is a 413 and an invalid one a 400. +app.post('/parse', + express.json(), express.urlencoded(), express.multipart(), express.raw({ type: () => true }), + (req, res) => { + res.type('text/plain').send('ok'); + }); + // No error middleware on purpose: one anywhere in the app takes the fast paths off every route, // and the final handler already answers 400, 404 and 413 with the status the profiles expect. // app.uwsApp.ws and not app.ws: the echo needs no Request object on the upgrade. // https://fulmine.sndesign.it/websockets +// 64 KB: the Autobahn cases of the spec suite echo messages up to that size. app.uwsApp.ws('/ws', { - maxPayloadLength: 16 * 1024, + maxPayloadLength: 64 * 1024, message: (ws, message, isBinary) => ws.send(message, isBinary) }); diff --git a/frameworks/fulmine/meta.json b/frameworks/fulmine/meta.json index 89eea78fe8..0cce74d86d 100644 --- a/frameworks/fulmine/meta.json +++ b/frameworks/fulmine/meta.json @@ -14,6 +14,8 @@ "repo": "https://github.com/nigrosimone/fulmine.js", "website": "https://fulmine.sndesign.it/", "enabled": true, + "resilience": true, + "spec": ["h1", "h2", "ws"], "tls_check": true, "tests": [ "baseline", "latency-1m", "latency-10k", "latency-500k-8cpu", From 82714e6003df780b58fcb65088e9c4be98f31760 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 17 Nov 2026 20:48:42 +0000 Subject: [PATCH 2/5] Spec results: fulmine [skip ci] --- site/data/spec/fulmine.json | 239 ++++++++++++++++++++++++++++++++++++ 1 file changed, 239 insertions(+) create mode 100644 site/data/spec/fulmine.json diff --git a/site/data/spec/fulmine.json b/site/data/spec/fulmine.json new file mode 100644 index 0000000000..fffd01ae3f --- /dev/null +++ b/site/data/spec/fulmine.json @@ -0,0 +1,239 @@ +{ + "framework": "fulmine.js", + "dir": "fulmine", + "suites": { + "h1": { + "tool": "http11probe", + "version": "d50d818", + "passed": 155, + "total": 159, + "warnings": 19, + "failed": [ + { + "id": "COMP-HOST-WITH-PATH", + "test": "Host header with path component must be rejected", + "expected": "400 or close", + "got": "200, connection left open", + "rfc": "RFC 9112 \u00a73.2", + "level": "Must" + }, + { + "id": "COMP-OPTIONS-STAR", + "test": "OPTIONS * is the only valid asterisk-form request", + "expected": "2xx or 405; close/timeout = warn", + "got": "400, connection closed", + "rfc": "RFC 9112 \u00a73.2.4", + "level": "Must" + }, + { + "id": "COMP-HTTP10-DEFAULT-CLOSE", + "test": "HTTP/1.0 without keep-alive \u2014 server should close connection after response", + "expected": "2xx + close", + "got": "400, connection closed", + "rfc": "RFC 9112 \u00a79.3", + "level": "Should" + }, + { + "id": "COMP-CHUNKED-TRAILER-VALID", + "test": "Valid chunked body with trailer field should be accepted", + "expected": "2xx + echo", + "got": "400, connection closed", + "rfc": "RFC 9112 \u00a77.1.2", + "level": "Must" + } + ] + }, + "h2": { + "tool": "h2spec", + "version": "2.6.0", + "passed": 136, + "total": 145, + "failed": [ + { + "id": "http2/5.1/8", + "test": "closed: Sends a DATA frame after sending RST_STREAM frame", + "expected": "GOAWAY Frame (Error Code: STREAM_CLOSED) or RST_STREAM Frame (Error Code: STREAM_CLOSED) or Connection closed", + "got": "DATA Frame (length:7, flags:0x00, stream_id:1)" + }, + { + "id": "http2/5.1/9", + "test": "closed: Sends a HEADERS frame after sending RST_STREAM frame", + "expected": "GOAWAY Frame (Error Code: STREAM_CLOSED) or RST_STREAM Frame (Error Code: STREAM_CLOSED) or Connection closed", + "got": "DATA Frame (length:7, flags:0x00, stream_id:1)" + }, + { + "id": "http2/5.1/11", + "test": "closed: Sends a DATA frame", + "expected": "GOAWAY Frame (Error Code: STREAM_CLOSED) or RST_STREAM Frame (Error Code: STREAM_CLOSED) or Connection closed", + "got": "Timeout" + }, + { + "id": "http2/5.1/12", + "test": "closed: Sends a HEADERS frame", + "expected": "GOAWAY Frame (Error Code: STREAM_CLOSED) or Connection closed", + "got": "Timeout" + }, + { + "id": "http2/5.1.1/2", + "test": "Sends stream identifier that is numerically smaller than previous", + "expected": "GOAWAY Frame (Error Code: PROTOCOL_ERROR) or Connection closed", + "got": "DATA Frame (length:0, flags:0x01, stream_id:5)" + }, + { + "id": "http2/5.3.1/2", + "test": "Sends PRIORITY frame that depend on itself", + "expected": "GOAWAY Frame (Error Code: PROTOCOL_ERROR) or RST_STREAM Frame (Error Code: PROTOCOL_ERROR) or Connection closed", + "got": "Timeout" + }, + { + "id": "http2/6.3/1", + "test": "Sends a PRIORITY frame with 0x0 stream identifier", + "expected": "GOAWAY Frame (Error Code: PROTOCOL_ERROR) or Connection closed", + "got": "Timeout" + }, + { + "id": "http2/6.7/2", + "test": "Sends a PING frame with ACK", + "expected": "PING Frame (length:8, flags:0x01, stream_id:0, opaque_data:h2spec\\x00\\x00)", + "got": "Connection closed" + }, + { + "id": "http2/6.9.1/3", + "test": "Sends multiple WINDOW_UPDATE frames increasing the flow control window to above 2^31-1 on a stream", + "expected": "RST_STREAM Frame (Error Code: FLOW_CONTROL_ERROR)", + "got": "Connection closed" + } + ], + "listeners": { + "tls": { + "passed": 136, + "total": 145, + "failed": [ + { + "id": "http2/5.1/8", + "test": "closed: Sends a DATA frame after sending RST_STREAM frame", + "expected": "GOAWAY Frame (Error Code: STREAM_CLOSED) or RST_STREAM Frame (Error Code: STREAM_CLOSED) or Connection closed", + "got": "DATA Frame (length:7, flags:0x00, stream_id:1)" + }, + { + "id": "http2/5.1/9", + "test": "closed: Sends a HEADERS frame after sending RST_STREAM frame", + "expected": "GOAWAY Frame (Error Code: STREAM_CLOSED) or RST_STREAM Frame (Error Code: STREAM_CLOSED) or Connection closed", + "got": "DATA Frame (length:7, flags:0x00, stream_id:1)" + }, + { + "id": "http2/5.1/11", + "test": "closed: Sends a DATA frame", + "expected": "GOAWAY Frame (Error Code: STREAM_CLOSED) or RST_STREAM Frame (Error Code: STREAM_CLOSED) or Connection closed", + "got": "Timeout" + }, + { + "id": "http2/5.1/12", + "test": "closed: Sends a HEADERS frame", + "expected": "GOAWAY Frame (Error Code: STREAM_CLOSED) or Connection closed", + "got": "Timeout" + }, + { + "id": "http2/5.1.1/2", + "test": "Sends stream identifier that is numerically smaller than previous", + "expected": "GOAWAY Frame (Error Code: PROTOCOL_ERROR) or Connection closed", + "got": "DATA Frame (length:0, flags:0x01, stream_id:5)" + }, + { + "id": "http2/5.3.1/2", + "test": "Sends PRIORITY frame that depend on itself", + "expected": "GOAWAY Frame (Error Code: PROTOCOL_ERROR) or RST_STREAM Frame (Error Code: PROTOCOL_ERROR) or Connection closed", + "got": "Timeout" + }, + { + "id": "http2/6.3/1", + "test": "Sends a PRIORITY frame with 0x0 stream identifier", + "expected": "GOAWAY Frame (Error Code: PROTOCOL_ERROR) or Connection closed", + "got": "Timeout" + }, + { + "id": "http2/6.7/2", + "test": "Sends a PING frame with ACK", + "expected": "PING Frame (length:8, flags:0x01, stream_id:0, opaque_data:h2spec\\x00\\x00)", + "got": "Connection closed" + }, + { + "id": "http2/6.9.1/3", + "test": "Sends multiple WINDOW_UPDATE frames increasing the flow control window to above 2^31-1 on a stream", + "expected": "RST_STREAM Frame (Error Code: FLOW_CONTROL_ERROR)", + "got": "Connection closed" + } + ] + }, + "h2c": { + "passed": 136, + "total": 145, + "failed": [ + { + "id": "http2/5.1/8", + "test": "closed: Sends a DATA frame after sending RST_STREAM frame", + "expected": "GOAWAY Frame (Error Code: STREAM_CLOSED) or RST_STREAM Frame (Error Code: STREAM_CLOSED) or Connection closed", + "got": "Timeout" + }, + { + "id": "http2/5.1/9", + "test": "closed: Sends a HEADERS frame after sending RST_STREAM frame", + "expected": "GOAWAY Frame (Error Code: STREAM_CLOSED) or RST_STREAM Frame (Error Code: STREAM_CLOSED) or Connection closed", + "got": "Timeout" + }, + { + "id": "http2/5.1/11", + "test": "closed: Sends a DATA frame", + "expected": "GOAWAY Frame (Error Code: STREAM_CLOSED) or RST_STREAM Frame (Error Code: STREAM_CLOSED) or Connection closed", + "got": "Timeout" + }, + { + "id": "http2/5.1/12", + "test": "closed: Sends a HEADERS frame", + "expected": "GOAWAY Frame (Error Code: STREAM_CLOSED) or Connection closed", + "got": "Timeout" + }, + { + "id": "http2/5.1.1/2", + "test": "Sends stream identifier that is numerically smaller than previous", + "expected": "GOAWAY Frame (Error Code: PROTOCOL_ERROR) or Connection closed", + "got": "DATA Frame (length:0, flags:0x01, stream_id:5)" + }, + { + "id": "http2/5.3.1/2", + "test": "Sends PRIORITY frame that depend on itself", + "expected": "GOAWAY Frame (Error Code: PROTOCOL_ERROR) or RST_STREAM Frame (Error Code: PROTOCOL_ERROR) or Connection closed", + "got": "Timeout" + }, + { + "id": "http2/6.3/1", + "test": "Sends a PRIORITY frame with 0x0 stream identifier", + "expected": "GOAWAY Frame (Error Code: PROTOCOL_ERROR) or Connection closed", + "got": "Timeout" + }, + { + "id": "http2/6.7/2", + "test": "Sends a PING frame with ACK", + "expected": "PING Frame (length:8, flags:0x01, stream_id:0, opaque_data:h2spec\\x00\\x00)", + "got": "Connection closed" + }, + { + "id": "http2/6.9.1/3", + "test": "Sends multiple WINDOW_UPDATE frames increasing the flow control window to above 2^31-1 on a stream", + "expected": "RST_STREAM Frame (Error Code: FLOW_CONTROL_ERROR)", + "got": "Connection closed" + } + ] + } + } + }, + "ws": { + "tool": "autobahn-testsuite", + "version": "25.10.1", + "passed": 244, + "total": 244, + "non_strict": 11, + "failed": [] + } + } +} From bd0c0a1f1d902e58e7a5bdb3e17d655d2a65da10 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 17 Nov 2026 22:32:37 +0000 Subject: [PATCH 3/5] Resilience results: fulmine [skip ci] --- site/data/resilience/fulmine.json | 986 ++++++++++++++++++++++++++++++ 1 file changed, 986 insertions(+) create mode 100644 site/data/resilience/fulmine.json diff --git a/site/data/resilience/fulmine.json b/site/data/resilience/fulmine.json new file mode 100644 index 0000000000..7a311986e7 --- /dev/null +++ b/site/data/resilience/fulmine.json @@ -0,0 +1,986 @@ +{ + "framework": "fulmine.js", + "dir": "fulmine", + "passed": 30.5, + "total": 41, + "attacks": { + "slow-body": { + "verdict": "survived", + "passed": true, + "resource": "memory", + "description": "Drip a large declared body one byte at a time; tests the body-read timeout / whole-body buffering.", + "peak_mem_mb": 374.3, + "baseline_mem_mb": 67.6, + "mem_limit_mb": 4096, + "liveness_fail_pct": 0.0, + "recovery_s": 0.0, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": null, + "client_cpu_cores": 2.73, + "server_cpu_cores": 0.25, + "client": { + "established": 32768, + "reaped": 32768, + "open_at_end": 0, + "drip_sent_bytes": 67063040, + "connect_errors": 0 + } + }, + "slow-headers": { + "verdict": "survived", + "passed": true, + "resource": "connections", + "description": "Hold connections with an unfinished, ever-growing header block; tests header-read timeout / caps.", + "peak_mem_mb": 287.2, + "baseline_mem_mb": 67.1, + "mem_limit_mb": 4096, + "liveness_fail_pct": 0.0, + "recovery_s": 0.0, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": null, + "client_cpu_cores": 4.05, + "server_cpu_cores": 0.17, + "client": { + "established": 32768, + "reaped": 32768, + "open_at_end": 0, + "drip_sent_bytes": 25495828, + "connect_errors": 0 + } + }, + "slow-read": { + "verdict": "oom-killed", + "passed": false, + "resource": "memory", + "description": "Request a large response then read it ~1 byte/sec; tests the send/write timeout and response buffering.", + "peak_mem_mb": 4096.1, + "baseline_mem_mb": 67.6, + "mem_limit_mb": 4096, + "liveness_fail_pct": 0.0, + "recovery_s": 0.0, + "oom_killed": true, + "exit_code": 0, + "duration_s": 45, + "rps": null, + "client_cpu_cores": 4.14, + "server_cpu_cores": 0.63, + "client": { + "established": 28847, + "reaped": 5466, + "open_at_end": 23381, + "connect_errors": 3921 + } + }, + "huge-chunk": { + "verdict": "survived", + "passed": true, + "resource": "memory", + "description": "Announce a 0x7fffffffffffffff-byte chunk; tests whether the server pre-allocates the declared chunk buffer.", + "peak_mem_mb": 202.4, + "baseline_mem_mb": 67.9, + "mem_limit_mb": 4096, + "liveness_fail_pct": 0.0, + "recovery_s": 0.0, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": null, + "client_cpu_cores": 6.87, + "server_cpu_cores": 0.39, + "client": { + "established": 32768, + "reaped": 32768, + "open_at_end": 0, + "drip_sent_bytes": 15670528, + "connect_errors": 0 + } + }, + "tiny-chunk-flood": { + "verdict": "degraded", + "passed": true, + "resource": "cpu", + "description": "A chunked body of millions of 1-byte chunks; tests per-chunk framing/dechunk overhead.", + "peak_mem_mb": 3270.0, + "baseline_mem_mb": 67.7, + "mem_limit_mb": 4096, + "liveness_fail_pct": 88.9, + "recovery_s": 0.0, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": 58, + "client_cpu_cores": 1.38, + "server_cpu_cores": 1.98, + "client": { + "established": 9903, + "reaped": 7593, + "open_at_end": 2310, + "frames_sent": 2890, + "connect_errors": 22865 + } + }, + "chunk-extension-flood": { + "verdict": "survived", + "passed": true, + "resource": "cpu", + "description": "1-byte chunks each carrying a huge chunk-extension; tests read-amplification in the chunk parser (CVE-2023-39326).", + "peak_mem_mb": 453.1, + "baseline_mem_mb": 67.1, + "mem_limit_mb": 4096, + "liveness_fail_pct": 0.0, + "recovery_s": 0.4, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": null, + "client_cpu_cores": 3.73, + "server_cpu_cores": 0.91, + "client": { + "established": 32768, + "reaped": 0, + "open_at_end": 32768, + "connect_errors": 0 + } + }, + "chunk-size-overflow": { + "verdict": "survived", + "passed": true, + "resource": "cpu", + "description": "A chunk-size near 2**64; tests whether chunk-size arithmetic overflows and crashes the parser.", + "peak_mem_mb": 189.7, + "baseline_mem_mb": 68.1, + "mem_limit_mb": 4096, + "liveness_fail_pct": 0.0, + "recovery_s": 0.0, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": null, + "client_cpu_cores": 6.05, + "server_cpu_cores": 0.42, + "client": { + "established": 32768, + "reaped": 32768, + "open_at_end": 0, + "connect_errors": 0 + } + }, + "content-length-prealloc": { + "verdict": "survived", + "passed": true, + "resource": "memory", + "description": "Declare a huge Content-Length and send no body; tests whether the read buffer is sized from the declared length (CVE-2026-5440).", + "peak_mem_mb": 451.2, + "baseline_mem_mb": 67.9, + "mem_limit_mb": 4096, + "liveness_fail_pct": 0.0, + "recovery_s": 0.0, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": null, + "client_cpu_cores": 2.69, + "server_cpu_cores": 0.4, + "client": { + "established": 32768, + "reaped": 31393, + "open_at_end": 1375, + "connect_errors": 0 + } + }, + "large-upload": { + "verdict": "oom-killed", + "passed": false, + "resource": "memory", + "description": "A huge uncompressed body delivered fast; tests whole-body buffering and the max-body-size cap.", + "peak_mem_mb": 4107.4, + "baseline_mem_mb": 67.6, + "mem_limit_mb": 4096, + "liveness_fail_pct": 60.0, + "recovery_s": 0.0, + "oom_killed": true, + "exit_code": 0, + "duration_s": 45, + "rps": null, + "client_cpu_cores": 10.3, + "server_cpu_cores": 1.36, + "client": { + "established": 29167, + "reaped": 29167, + "open_at_end": 0, + "connect_errors": 3601 + } + }, + "expect-100-continue": { + "verdict": "survived", + "passed": true, + "resource": "memory", + "description": "Expect: 100-continue + a large Content-Length, body withheld; tests buffer reservation on the 100-continue handshake (CVE-2020-10705).", + "peak_mem_mb": 431.6, + "baseline_mem_mb": 67.7, + "mem_limit_mb": 4096, + "liveness_fail_pct": 0.0, + "recovery_s": 0.0, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": null, + "client_cpu_cores": 2.65, + "server_cpu_cores": 0.49, + "client": { + "established": 32768, + "reaped": 0, + "open_at_end": 32768, + "connect_errors": 0 + } + }, + "keepalive-hoard": { + "verdict": "survived", + "passed": true, + "resource": "connections", + "description": "Many complete keep-alive requests held idle; tests the idle-timeout and max-connection caps.", + "peak_mem_mb": 258.9, + "baseline_mem_mb": 67.8, + "mem_limit_mb": 4096, + "liveness_fail_pct": 0.0, + "recovery_s": 0.0, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": null, + "client_cpu_cores": 3.13, + "server_cpu_cores": 0.27, + "client": { + "established": 32768, + "reaped": 0, + "open_at_end": 32768, + "connect_errors": 0 + } + }, + "header-bomb": { + "verdict": "survived", + "passed": true, + "resource": "memory", + "description": "One complete request with a single enormous header value; tests the per-field / total header size cap.", + "peak_mem_mb": 629.8, + "baseline_mem_mb": 67.5, + "mem_limit_mb": 4096, + "liveness_fail_pct": 0.0, + "recovery_s": 0.0, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": 8342, + "client_cpu_cores": 26.41, + "server_cpu_cores": 0.85, + "client": { + "established": 32768, + "reaped": 32768, + "open_at_end": 0, + "frames_sent": 24302, + "connect_errors": 0 + } + }, + "header-count-flood": { + "verdict": "survived", + "passed": true, + "resource": "memory", + "description": "Very many tiny distinct header fields; tests the header-COUNT cap (CVE-2026-28980 era).", + "peak_mem_mb": 573.7, + "baseline_mem_mb": 68.2, + "mem_limit_mb": 4096, + "liveness_fail_pct": 0.0, + "recovery_s": 0.0, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": 11804, + "client_cpu_cores": 18.74, + "server_cpu_cores": 0.74, + "client": { + "established": 32768, + "reaped": 32768, + "open_at_end": 0, + "frames_sent": 43645, + "connect_errors": 0 + } + }, + "duplicate-header-merge": { + "verdict": "survived", + "passed": true, + "resource": "cpu", + "description": "The same header name repeated N times; tests whether duplicates are joined with O(n^2) concatenation before dispatch.", + "peak_mem_mb": 516.3, + "baseline_mem_mb": 67.1, + "mem_limit_mb": 4096, + "liveness_fail_pct": 0.0, + "recovery_s": 0.0, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": 12370, + "client_cpu_cores": 12.12, + "server_cpu_cores": 0.64, + "client": { + "established": 32768, + "reaped": 32768, + "open_at_end": 0, + "frames_sent": 48235, + "connect_errors": 0 + } + }, + "pipelining-flood": { + "verdict": "degraded", + "passed": true, + "resource": "memory", + "description": "Thousands of pipelined requests on one socket, responses unread; tests whether the inbound queue is bounded (CVE-2026-54273).", + "peak_mem_mb": 457.0, + "baseline_mem_mb": 67.4, + "mem_limit_mb": 4096, + "liveness_fail_pct": 66.7, + "recovery_s": 72.8, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": 29727827, + "client_cpu_cores": 4.15, + "server_cpu_cores": 1.95, + "client": { + "established": 3741, + "reaped": 0, + "open_at_end": 3741, + "frames_sent": 187580000, + "connect_errors": 29027 + } + }, + "trailer-flood": { + "verdict": "survived", + "passed": true, + "resource": "memory", + "description": "A chunked body followed by an unbounded trailer section; tests the trailer-count cap, a header-limit blind spot (CVE-2026-22815 era).", + "peak_mem_mb": 137.4, + "baseline_mem_mb": 68.2, + "mem_limit_mb": 4096, + "liveness_fail_pct": 0.0, + "recovery_s": 0.0, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": null, + "client_cpu_cores": 7.87, + "server_cpu_cores": 0.32, + "client": { + "established": 32768, + "reaped": 32768, + "open_at_end": 0, + "drip_sent_bytes": 1315181, + "connect_errors": 0 + } + }, + "decompression-bomb": { + "verdict": "hung", + "passed": false, + "resource": "memory", + "description": "A small gzip request body that inflates to gigabytes; tests whether request Content-Encoding is decoded unbounded.", + "peak_mem_mb": 1294.9, + "baseline_mem_mb": 67.5, + "mem_limit_mb": 4096, + "liveness_fail_pct": 84.2, + "recovery_s": null, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": 180, + "client_cpu_cores": 0.69, + "server_cpu_cores": 1.89, + "client": { + "established": 4894, + "reaped": 350, + "open_at_end": 4544, + "frames_sent": 9474, + "connect_errors": 27874 + } + }, + "decomp-codec-bypass": { + "verdict": "hung", + "passed": false, + "resource": "memory", + "description": "A deflate bomb labelled Content-Encoding: deflate; tests whether non-gzip request codecs are decoded unbounded (CVE-2026-42587 era).", + "peak_mem_mb": 1321.9, + "baseline_mem_mb": 67.7, + "mem_limit_mb": 4096, + "liveness_fail_pct": 85.0, + "recovery_s": null, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": 205, + "client_cpu_cores": 0.76, + "server_cpu_cores": 1.89, + "client": { + "established": 5947, + "reaped": 1605, + "open_at_end": 4342, + "frames_sent": 10843, + "connect_errors": 26821 + } + }, + "hashdos": { + "verdict": "oom-killed", + "passed": false, + "resource": "cpu", + "description": "A form body of many keys; tests whether the body is parsed into an un-seeded hash map (O(n^2), CVE-2011-3414 era).", + "peak_mem_mb": 4130.8, + "baseline_mem_mb": 67.4, + "mem_limit_mb": 4096, + "liveness_fail_pct": 41.7, + "recovery_s": 0.0, + "oom_killed": true, + "exit_code": 0, + "duration_s": 45, + "rps": 6702, + "client_cpu_cores": 2.7, + "server_cpu_cores": 1.08, + "client": { + "established": 23485, + "reaped": 19409, + "open_at_end": 4076, + "frames_sent": 305724, + "connect_errors": 9283 + } + }, + "json-nesting-bomb": { + "verdict": "oom-killed", + "passed": false, + "resource": "cpu", + "description": "A tiny, deeply nested JSON body; tests the recursion-depth cap of the request-body parser (stack overflow -> crash).", + "peak_mem_mb": 4148.0, + "baseline_mem_mb": 67.4, + "mem_limit_mb": 4096, + "liveness_fail_pct": 80.0, + "recovery_s": 0.0, + "oom_killed": true, + "exit_code": 0, + "duration_s": 45, + "rps": 15223, + "client_cpu_cores": 3.95, + "server_cpu_cores": 1.63, + "client": { + "established": 29424, + "reaped": 29424, + "open_at_end": 0, + "frames_sent": 176410, + "connect_errors": 3344 + } + }, + "multipart-flood": { + "verdict": "oom-killed", + "passed": false, + "resource": "memory", + "description": "multipart/form-data with tens of thousands of tiny parts; tests the part/field-count cap.", + "peak_mem_mb": 4304.0, + "baseline_mem_mb": 67.7, + "mem_limit_mb": 4096, + "liveness_fail_pct": 57.1, + "recovery_s": 0.0, + "oom_killed": true, + "exit_code": 0, + "duration_s": 45, + "rps": 1557, + "client_cpu_cores": 8.7, + "server_cpu_cores": 1.66, + "client": { + "established": 25267, + "reaped": 25267, + "open_at_end": 0, + "frames_sent": 21094, + "connect_errors": 7501 + } + }, + "redos-headers": { + "verdict": "survived", + "passed": true, + "resource": "cpu", + "description": "Header values crafted for catastrophic regex backtracking; tests the header parsers (Accept/Content-Disposition/Range).", + "peak_mem_mb": 186.2, + "baseline_mem_mb": 67.3, + "mem_limit_mb": 4096, + "liveness_fail_pct": 0.0, + "recovery_s": 0.0, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": 26302, + "client_cpu_cores": 10.0, + "server_cpu_cores": 0.38, + "client": { + "established": 32768, + "reaped": 32768, + "open_at_end": 0, + "frames_sent": 65536, + "connect_errors": 0 + } + }, + "qvalue-cpu-bomb": { + "verdict": "survived", + "passed": true, + "resource": "cpu", + "description": "A huge Accept-Language list; tests O(n^2) q-value sorting before dispatch (CVE-2020-27223).", + "peak_mem_mb": 134.1, + "baseline_mem_mb": 67.0, + "mem_limit_mb": 4096, + "liveness_fail_pct": 0.0, + "recovery_s": 0.0, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": 22633, + "client_cpu_cores": 13.06, + "server_cpu_cores": 0.37, + "client": { + "established": 32768, + "reaped": 32768, + "open_at_end": 0, + "frames_sent": 65536, + "connect_errors": 0 + } + }, + "cookie-flood": { + "verdict": "survived", + "passed": true, + "resource": "memory", + "description": "One Cookie header of many tiny pairs under the byte cap; tests the cookie-COUNT cap (CVE-2025-58186).", + "peak_mem_mb": 150.1, + "baseline_mem_mb": 67.5, + "mem_limit_mb": 4096, + "liveness_fail_pct": 0.0, + "recovery_s": 0.0, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": 26335, + "client_cpu_cores": 11.33, + "server_cpu_cores": 0.37, + "client": { + "established": 32768, + "reaped": 32768, + "open_at_end": 0, + "frames_sent": 65536, + "connect_errors": 0 + } + }, + "percent-decode-quadratic": { + "verdict": "survived", + "passed": true, + "resource": "cpu", + "description": "A path of many percent-encoded tokens; tests super-linear percent-decoding in the router (CVE-2026-45822).", + "peak_mem_mb": 174.5, + "baseline_mem_mb": 67.8, + "mem_limit_mb": 4096, + "liveness_fail_pct": 0.0, + "recovery_s": 0.0, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": 25256, + "client_cpu_cores": 11.94, + "server_cpu_cores": 0.39, + "client": { + "established": 32768, + "reaped": 32768, + "open_at_end": 0, + "frames_sent": 65536, + "connect_errors": 0 + } + }, + "range-bomb": { + "verdict": "survived", + "passed": true, + "resource": "memory", + "description": "Many overlapping byte ranges on a static file; tests multipart/byteranges response amplification (Apache-Killer, CVE-2011-3192).", + "peak_mem_mb": 144.0, + "baseline_mem_mb": 67.3, + "mem_limit_mb": 4096, + "liveness_fail_pct": 0.0, + "recovery_s": 0.0, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": 25519, + "client_cpu_cores": 12.57, + "server_cpu_cores": 0.37, + "client": { + "established": 32768, + "reaped": 32768, + "open_at_end": 0, + "frames_sent": 65536, + "connect_errors": 0 + } + }, + "json-bignum": { + "verdict": "degraded", + "passed": true, + "resource": "cpu", + "description": "A single gigantic JSON numeric literal; tests arbitrary-precision number parsing (BigDecimal / quadratic int, CVE-2023-4043).", + "peak_mem_mb": 3467.1, + "baseline_mem_mb": 68.5, + "mem_limit_mb": 4096, + "liveness_fail_pct": 83.3, + "recovery_s": 0.0, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": 8190, + "client_cpu_cores": 1.18, + "server_cpu_cores": 1.91, + "client": { + "established": 17844, + "reaped": 3565, + "open_at_end": 14279, + "frames_sent": 382466, + "connect_errors": 14924 + } + }, + "continuation-flood": { + "verdict": "survived", + "passed": true, + "resource": "memory", + "description": "Endless HTTP/2 CONTINUATION frames with no END_HEADERS (CVE-2024-27316); tests the header-block cap.", + "peak_mem_mb": 197.1, + "baseline_mem_mb": 67.3, + "mem_limit_mb": 4096, + "liveness_fail_pct": 0.0, + "recovery_s": 0.0, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": 643200, + "client_cpu_cores": 20.75, + "server_cpu_cores": 1.37, + "client": { + "established": 24936, + "reaped": 24936, + "open_at_end": 0, + "frames_sent": 3597655, + "connect_errors": 7832 + } + }, + "hpack-bomb": { + "verdict": "survived", + "passed": true, + "resource": "memory", + "description": "One ~4 KB HPACK dynamic-table entry referenced by thousands of 1-byte indices (CVE-2016-6581 family); tests header-list size caps.", + "peak_mem_mb": 128.0, + "baseline_mem_mb": 67.8, + "mem_limit_mb": 4096, + "liveness_fail_pct": 0.0, + "recovery_s": 0.0, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": 133521, + "client_cpu_cores": 4.57, + "server_cpu_cores": 1.65, + "client": { + "established": 7105, + "reaped": 7105, + "open_at_end": 0, + "frames_sent": 1092184, + "connect_errors": 25663 + } + }, + "rapid-reset": { + "verdict": "survived", + "passed": true, + "resource": "cpu", + "description": "Open-then-immediately-RST streams in a tight loop (CVE-2023-44487); tests unbounded stream dispatch.", + "peak_mem_mb": 628.8, + "baseline_mem_mb": 67.2, + "mem_limit_mb": 4096, + "liveness_fail_pct": 9.1, + "recovery_s": 0.3, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": 7330193, + "client_cpu_cores": 44.63, + "server_cpu_cores": 2.0, + "client": { + "established": 1458, + "reaped": 1458, + "open_at_end": 0, + "frames_sent": 105891502, + "connect_errors": 31310 + } + }, + "madeyoureset": { + "verdict": "survived", + "passed": true, + "resource": "cpu", + "description": "Force server-side RST via WINDOW_UPDATE(0) per stream (CVE-2025-8671); tests the Rapid-Reset-mitigation bypass.", + "peak_mem_mb": 343.8, + "baseline_mem_mb": 67.0, + "mem_limit_mb": 4096, + "liveness_fail_pct": 0.0, + "recovery_s": 0.0, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": 11906678, + "client_cpu_cores": 66.97, + "server_cpu_cores": 1.49, + "client": { + "established": 32768, + "reaped": 32768, + "open_at_end": 0, + "frames_sent": 87580192, + "connect_errors": 0 + } + }, + "settings-flood": { + "verdict": "survived", + "passed": true, + "resource": "cpu", + "description": "Flood SETTINGS frames the peer must ACK (CVE-2019-9515).", + "peak_mem_mb": 218.4, + "baseline_mem_mb": 67.8, + "mem_limit_mb": 4096, + "liveness_fail_pct": 0.0, + "recovery_s": 0.0, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": 21968220, + "client_cpu_cores": 48.77, + "server_cpu_cores": 0.91, + "client": { + "established": 15688, + "reaped": 15687, + "open_at_end": 1, + "frames_sent": 492111238, + "connect_errors": 17080 + } + }, + "ping-flood": { + "verdict": "survived", + "passed": true, + "resource": "cpu", + "description": "Flood PING frames the peer must ACK (CVE-2019-9512).", + "peak_mem_mb": 254.9, + "baseline_mem_mb": 68.4, + "mem_limit_mb": 4096, + "liveness_fail_pct": 0.0, + "recovery_s": 0.0, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": 29840865, + "client_cpu_cores": 58.78, + "server_cpu_cores": 1.03, + "client": { + "established": 16083, + "reaped": 16083, + "open_at_end": 0, + "frames_sent": 388288216, + "connect_errors": 16685 + } + }, + "empty-frame-flood": { + "verdict": "survived", + "passed": true, + "resource": "cpu", + "description": "Flood zero-length DATA frames with no END_STREAM (CVE-2019-9518); tests per-frame overhead handling.", + "peak_mem_mb": 556.1, + "baseline_mem_mb": 67.6, + "mem_limit_mb": 4096, + "liveness_fail_pct": 34.6, + "recovery_s": 0.0, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": 19779076, + "client_cpu_cores": 115.5, + "server_cpu_cores": 1.92, + "client": { + "established": 13274, + "reaped": 13018, + "open_at_end": 256, + "frames_sent": 891503016, + "connect_errors": 19494 + } + }, + "window-stall": { + "verdict": "oom-killed", + "passed": false, + "resource": "memory", + "description": "Open many streams at a 0 flow-control window and never grant it (CVE-2019-9517); tests stalled-stream buffering/timeouts.", + "peak_mem_mb": 4096.0, + "baseline_mem_mb": 67.6, + "mem_limit_mb": 4096, + "liveness_fail_pct": 0.0, + "recovery_s": 0.0, + "oom_killed": true, + "exit_code": 0, + "duration_s": 45, + "rps": null, + "client_cpu_cores": 1.59, + "server_cpu_cores": 1.21, + "client": { + "established": 13174, + "reaped": 2952, + "open_at_end": 10222, + "connect_errors": 19594 + } + }, + "ws-giant-frame": { + "verdict": "survived", + "passed": true, + "resource": "memory", + "description": "A WebSocket frame header declaring a 2**63 payload length; tests receive-buffer pre-allocation from the declared length.", + "peak_mem_mb": 96.5, + "baseline_mem_mb": 67.4, + "mem_limit_mb": 4096, + "liveness_fail_pct": 0.0, + "recovery_s": 0.0, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": 24682, + "client_cpu_cores": 23.78, + "server_cpu_cores": 0.84, + "client": { + "established": 32768, + "reaped": 32768, + "open_at_end": 0, + "frames_sent": 32768, + "connect_errors": 0 + } + }, + "ws-fragment-bomb": { + "verdict": "survived", + "passed": true, + "resource": "memory", + "description": "Endless WebSocket continuation frames with no FIN; tests the fragment-aggregation cap (CVE-2026-48779).", + "peak_mem_mb": 718.8, + "baseline_mem_mb": 67.2, + "mem_limit_mb": 4096, + "liveness_fail_pct": 0.0, + "recovery_s": 0.0, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": 5438848, + "client_cpu_cores": 34.25, + "server_cpu_cores": 1.39, + "client": { + "established": 32768, + "reaped": 32768, + "open_at_end": 0, + "frames_sent": 25910518, + "connect_errors": 0 + } + }, + "ws-deflate-bomb": { + "verdict": "survived", + "passed": true, + "resource": "memory", + "description": "A permessage-deflate frame that inflates to gigabytes; tests the inflated-message cap (CVE-2026-1526 era).", + "peak_mem_mb": 587.0, + "baseline_mem_mb": 67.3, + "mem_limit_mb": 4096, + "liveness_fail_pct": 0.0, + "recovery_s": 0.0, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": 4446, + "client_cpu_cores": 13.9, + "server_cpu_cores": 0.54, + "client": { + "established": 32768, + "reaped": 32768, + "open_at_end": 0, + "frames_sent": 32434, + "connect_errors": 0 + } + }, + "ws-pong-flood": { + "verdict": "oom-killed", + "passed": false, + "resource": "memory", + "description": "Flood PING frames, never read; tests whether the auto-PONG queue is bounded (CVE-2026-109932).", + "peak_mem_mb": 4105.0, + "baseline_mem_mb": 67.0, + "mem_limit_mb": 4096, + "liveness_fail_pct": 46.2, + "recovery_s": 0.0, + "oom_killed": true, + "exit_code": 0, + "duration_s": 45, + "rps": 51026216, + "client_cpu_cores": 109.45, + "server_cpu_cores": 1.48, + "client": { + "established": 10098, + "reaped": 10098, + "open_at_end": 0, + "frames_sent": 1242836723, + "connect_errors": 22670 + } + }, + "tls-handshake-flood": { + "verdict": "survived", + "passed": true, + "resource": "cpu", + "description": "Many full TLS handshakes; the server pays the asymmetric crypto each time (THC-SSL-DOS class).", + "peak_mem_mb": 153.8, + "baseline_mem_mb": 67.9, + "mem_limit_mb": 4096, + "liveness_fail_pct": 0.0, + "recovery_s": 0.0, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": 486, + "client_cpu_cores": 3.35, + "server_cpu_cores": 1.98, + "client": { + "established": 328, + "reaped": 0, + "open_at_end": 328, + "frames_sent": 5920, + "connect_errors": 3622 + } + }, + "dheat": { + "verdict": "survived", + "passed": true, + "resource": "cpu", + "description": "Offer only DHE and flood handshakes; forces a modular exponentiation per handshake, or reports immune if no DHE is offered (CVE-2002-20001).", + "peak_mem_mb": 76.4, + "baseline_mem_mb": 67.3, + "mem_limit_mb": 4096, + "liveness_fail_pct": 0.0, + "recovery_s": 0.0, + "oom_killed": false, + "exit_code": 0, + "duration_s": 45, + "rps": null, + "client_cpu_cores": 0.86, + "server_cpu_cores": 0.13, + "client": { + "established": 0, + "reaped": 0, + "frames_sent": 0, + "connect_errors": 4000 + } + } + }, + "tool": { + "driver": "resilience/attack.py" + } +} From 12e17f3c87f5acb18e32c5ee51efae636cecabf8 Mon Sep 17 00:00:00 2001 From: Nigro Simone Date: Wed, 18 Nov 2026 07:41:43 +0100 Subject: [PATCH 4/5] fulmine: fulmine.js 5.34.1 Signed-off-by: Nigro Simone --- frameworks/fulmine/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/fulmine/package.json b/frameworks/fulmine/package.json index c73ddbfb20..421a152088 100644 --- a/frameworks/fulmine/package.json +++ b/frameworks/fulmine/package.json @@ -2,7 +2,7 @@ "name": "httparena-fulmine", "private": true, "dependencies": { - "fulmine.js": "^5.27.0", + "fulmine.js": "^5.34.1", "pg": "^8.13.0", "pg-native": "^3.8.0", "ejs": "^3.1.10", From c73270e9fb31ab7b3b78df970ed45330cc022758 Mon Sep 17 00:00:00 2001 From: Nigro Simone Date: Wed, 18 Nov 2026 07:54:33 +0100 Subject: [PATCH 5/5] fulmine: retry the certificate rotation when the pair does not match yet Signed-off-by: Nigro Simone --- frameworks/fulmine/app.js | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/frameworks/fulmine/app.js b/frameworks/fulmine/app.js index a9661ef376..97a682de42 100644 --- a/frameworks/fulmine/app.js +++ b/frameworks/fulmine/app.js @@ -303,13 +303,19 @@ if (hasPair('/certs-tls')) { setInterval(() => { const now = pairStamp(); if (!now || now === stamp) return; - stamp = now; const next = tlsApp('/certs-tls'); - next.listen(9000, (e) => { - if (e) return; - live.close(); - live = next; - }); + try { + next.listen(9000, (e) => { + if (e) return; + live.close(); + live = next; + }); + } catch { + // listen() builds the SSL context: mid-swap the key and the certificate do not + // match yet and it throws, so the next tick tries again + return; + } + stamp = now; }, 1000).unref(); }); }