security(v2.7.2): remediate all 3 Critical P0 & 5 High P1 audit findings (fail-closed auth, webhook hardening + replay protection, auth-first BYOK + SSRF allowlist, minimal public tracker DTO, atomic+DB idempotency, 0 npm vulnerabilities, CI gate)
This commit is contained in:
Vendored
+4
-2
@@ -1,8 +1,10 @@
|
||||
import { type Express, type Request } from "express";
|
||||
import { EnvSource } from "./config.js";
|
||||
/**
|
||||
* F10 Fix: Pull client courier keys strictly from request headers.
|
||||
* Query parameters are completely ignored to prevent credential leakage in URL logs.
|
||||
* P0-03 & P1-01 Fix: Pull authenticated tenant BYOK keys strictly from request headers.
|
||||
* Arbitrary caller base-URL headers are validated against the official HTTPS carrier allowlist
|
||||
* (rejecting any http:, IP literal, private/internal host, or unlisted domain).
|
||||
*/
|
||||
export declare function keysFromRequest(req: Request): EnvSource;
|
||||
export declare const app: Express;
|
||||
export declare function clearWebhookReplayCache(): void;
|
||||
|
||||
Reference in New Issue
Block a user