@dhaneshpurohit/mockstar 0.2.2 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/dist/cli.js +786 -178
- package/dist/core/config/schema.d.ts +486 -320
- package/dist/core/config/schema.d.ts.map +1 -1
- package/dist/core/http/body-cap.d.ts +37 -0
- package/dist/core/http/body-cap.d.ts.map +1 -0
- package/dist/core/http/rate-limit.d.ts +55 -0
- package/dist/core/http/rate-limit.d.ts.map +1 -0
- package/dist/core/matching/discriminators.d.ts +25 -0
- package/dist/core/matching/discriminators.d.ts.map +1 -1
- package/dist/core/matching/index.d.ts +3 -1
- package/dist/core/matching/index.d.ts.map +1 -1
- package/dist/features/openapi/converter.d.ts.map +1 -1
- package/dist/features/pass-through.d.ts +7 -0
- package/dist/features/pass-through.d.ts.map +1 -1
- package/dist/features/proxy/cli.d.ts +11 -0
- package/dist/features/proxy/cli.d.ts.map +1 -1
- package/dist/features/proxy/dns.d.ts +21 -3
- package/dist/features/proxy/dns.d.ts.map +1 -1
- package/dist/features/proxy/index.d.ts +1 -1
- package/dist/features/proxy/index.d.ts.map +1 -1
- package/dist/features/proxy/port-bind.d.ts +18 -1
- package/dist/features/proxy/port-bind.d.ts.map +1 -1
- package/dist/features/proxy/sni-gate.d.ts +4 -3
- package/dist/features/proxy/sni-gate.d.ts.map +1 -1
- package/dist/features/url-validator.d.ts +48 -0
- package/dist/features/url-validator.d.ts.map +1 -1
- package/dist/features/webhooks/dispatcher.d.ts.map +1 -1
- package/dist/features/webhooks/event-registry.d.ts +7 -0
- package/dist/features/webhooks/event-registry.d.ts.map +1 -1
- package/dist/features/webhooks/index.d.ts +3 -1
- package/dist/features/webhooks/index.d.ts.map +1 -1
- package/dist/features/webhooks/journal.d.ts +23 -0
- package/dist/features/webhooks/journal.d.ts.map +1 -1
- package/dist/features/webhooks/queue.d.ts +18 -0
- package/dist/features/webhooks/queue.d.ts.map +1 -1
- package/dist/features/webhooks/scheme.d.ts +46 -0
- package/dist/features/webhooks/scheme.d.ts.map +1 -0
- package/dist/features/webhooks/signing.d.ts +24 -13
- package/dist/features/webhooks/signing.d.ts.map +1 -1
- package/dist/features/webhooks/types.d.ts +32 -5
- package/dist/features/webhooks/types.d.ts.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +628 -133
- package/dist/server.d.ts +17 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/** Digest encodings receivers actually use. Shopify signs base64; everyone else here is hex. */
|
|
2
|
+
export type DigestEncoding = "hex" | "base64";
|
|
3
|
+
/** The resolved, validated wire format for one webhook's signature. */
|
|
4
|
+
export interface SigningScheme {
|
|
5
|
+
readonly signedPayload: string;
|
|
6
|
+
readonly signatureTemplate: string;
|
|
7
|
+
readonly digestEncoding: DigestEncoding;
|
|
8
|
+
readonly algorithm: "sha256";
|
|
9
|
+
}
|
|
10
|
+
export declare const DEFAULT_SIGNED_PAYLOAD = "{timestamp}.{body}";
|
|
11
|
+
export declare const DEFAULT_SIGNATURE_TEMPLATE = "{algorithm}={signature}";
|
|
12
|
+
export declare const SIGNED_PAYLOAD_PLACEHOLDERS: readonly ["body", "timestamp", "timestampSeconds"];
|
|
13
|
+
export declare const SIGNATURE_TEMPLATE_PLACEHOLDERS: readonly ["signature", "algorithm", "timestamp", "timestampSeconds"];
|
|
14
|
+
/** Names appearing in `template` that are not in `allowed`, de-duplicated, first-seen order. */
|
|
15
|
+
export declare function unknownPlaceholders(template: string, allowed: readonly string[]): string[];
|
|
16
|
+
/**
|
|
17
|
+
* #30 finding 3 (review round 2): after stripping every well-formed `{...}` span the scanner
|
|
18
|
+
* matched, a leftover `{` immediately followed by an ASCII letter looks like a placeholder the
|
|
19
|
+
* author meant to close but didn't — e.g. `"{timestamp.{body}"` has its trailing `{body}`
|
|
20
|
+
* stripped, leaving residue `"{timestamp."`, whose leftover `{` precedes `t`. That signedPayload
|
|
21
|
+
* signs the literal text `{timestamp.` plus the body and references no `{timestamp}` placeholder
|
|
22
|
+
* `timestampUnitFor()` can see, so the timestamp header is silently dropped from the delivery.
|
|
23
|
+
*
|
|
24
|
+
* A JSON envelope's outer brace is NOT this shape: stripping `{"t":{timestamp},"b":{body}}`'s
|
|
25
|
+
* two placeholder spans leaves residue `{"t":,"b":}`, whose leftover `{` precedes `"` — not a
|
|
26
|
+
* letter — so it passes. Only a leftover `{` directly followed by a letter is flagged; `{"`,
|
|
27
|
+
* `{}` (already consumed above), and a trailing `{` are all legitimate JSON-envelope shapes.
|
|
28
|
+
*/
|
|
29
|
+
export declare function hasUnbalancedPlaceholder(template: string): boolean;
|
|
30
|
+
export declare function renderSignedPayload(template: string, v: {
|
|
31
|
+
body: string;
|
|
32
|
+
timestampMs: number;
|
|
33
|
+
}): string;
|
|
34
|
+
export declare function renderSignatureHeader(template: string, v: {
|
|
35
|
+
signature: string;
|
|
36
|
+
algorithm: string;
|
|
37
|
+
timestampMs: number;
|
|
38
|
+
}): string;
|
|
39
|
+
/**
|
|
40
|
+
* Which unit the standalone timestamp header should carry — or `null` when the scheme
|
|
41
|
+
* never references a timestamp, in which case no timestamp header is emitted at all.
|
|
42
|
+
* Emitting milliseconds beside a seconds-based signature is exactly the class of
|
|
43
|
+
* mismatch this feature exists to eliminate, so the unit follows the scheme.
|
|
44
|
+
*/
|
|
45
|
+
export declare function timestampUnitFor(scheme: Pick<SigningScheme, "signedPayload" | "signatureTemplate">): "ms" | "s" | null;
|
|
46
|
+
//# sourceMappingURL=scheme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scheme.d.ts","sourceRoot":"","sources":["../../../src/features/webhooks/scheme.ts"],"names":[],"mappings":"AAUA,gGAAgG;AAChG,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,QAAQ,CAAC;AAE9C,uEAAu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
|
|
4
|
+
* Used when a caller supplies no scheme, so library embedders calling signPayload/
|
|
5
|
+
* verifySignature directly keep their v0.2.x behaviour.
|
|
6
|
+
*/
|
|
7
|
+
export declare const LEGACY_SCHEME: SigningScheme;
|
|
8
|
+
/**
|
|
9
|
+
* Sign a webhook payload under `scheme`.
|
|
3
10
|
*
|
|
4
|
-
* The signed string is
|
|
5
|
-
*
|
|
6
|
-
*
|
|
11
|
+
* The signed string is `scheme.signedPayload` with {body}/{timestamp}/{timestampSeconds}
|
|
12
|
+
* substituted; the digest is encoded per `scheme.digestEncoding`. Receivers verify by
|
|
13
|
+
* reconstructing the same string and comparing constant-time.
|
|
7
14
|
*
|
|
8
|
-
* Replay-window enforcement is the receiver's responsibility — but we emit the
|
|
9
|
-
*
|
|
10
|
-
* is 300_000ms (5 minutes), matching industry default.
|
|
15
|
+
* Replay-window enforcement is the receiver's responsibility — but we emit the timestamp
|
|
16
|
+
* (in the unit the scheme uses, see timestampUnitFor) so they CAN enforce it.
|
|
11
17
|
*/
|
|
12
|
-
export declare function signPayload(rawBody: string, secret: string, timestampMs: number): string;
|
|
18
|
+
export declare function signPayload(rawBody: string, secret: string, timestampMs: number, scheme?: SigningScheme): string;
|
|
13
19
|
/**
|
|
14
|
-
* Verify a signature constant-time
|
|
15
|
-
* equivalent logic in their own language. Exposed so tests
|
|
16
|
-
* can verify what we sent matches what we documented (S1 + RT-2 evidence).
|
|
20
|
+
* Verify a signature constant-time under the SAME scheme it was produced with. Used by
|
|
21
|
+
* tests; receivers will implement equivalent logic in their own language. Exposed so tests
|
|
22
|
+
* against this module can verify what we sent matches what we documented (S1 + RT-2 evidence).
|
|
23
|
+
*
|
|
24
|
+
* Returns false on length mismatch, encoding mismatch, or timing-safe-compare miss. Never throws.
|
|
17
25
|
*
|
|
18
|
-
*
|
|
26
|
+
* This helper exists for tests and receiver-side reuse and is **not hardened for adversarial
|
|
27
|
+
* input**: in particular, `Buffer.from(x, "base64")` silently discards non-canonical trailing
|
|
28
|
+
* bits, so a non-canonical base64 variant can decode to the same bytes and compare equal. Real
|
|
29
|
+
* receivers should compare the encoded strings themselves, not just the decoded buffers.
|
|
19
30
|
*/
|
|
20
|
-
export declare function verifySignature(rawBody: string, secret: string, timestampMs: number,
|
|
31
|
+
export declare function verifySignature(rawBody: string, secret: string, timestampMs: number, signature: string, scheme?: SigningScheme): boolean;
|
|
21
32
|
/** Replay-window check helper — returns false if `timestampMs` is outside `[now - windowMs, now + skewMs]`. */
|
|
22
33
|
export declare function withinReplayWindow(timestampMs: number, windowMs: number, nowMs?: number, futureSkewMs?: number): boolean;
|
|
23
34
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signing.d.ts","sourceRoot":"","sources":["../../../src/features/webhooks/signing.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"signing.d.ts","sourceRoot":"","sources":["../../../src/features/webhooks/signing.ts"],"names":[],"mappings":"AAKA,OAAO,EAGL,KAAK,aAAa,EAEnB,MAAM,aAAa,CAAC;AAErB;;;;GAIG;AACH,eAAO,MAAM,aAAa,EAAE,aAK1B,CAAC;AAEH;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CACzB,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,MAAM,GAAE,aAA6B,GACpC,MAAM,CAGR;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,eAAe,CAC7B,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,MAAM,EACjB,MAAM,GAAE,aAA6B,GACpC,OAAO,CAaT;AAED,+GAA+G;AAC/G,wBAAgB,kBAAkB,CAChC,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,KAAK,GAAE,MAAmB,EAC1B,YAAY,SAAS,GACpB,OAAO,CAGT;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAsBvD"}
|
|
@@ -1,17 +1,44 @@
|
|
|
1
1
|
import type { CompiledTemplate } from "../../core/templating/index.ts";
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
import type { DigestEncoding } from "./scheme.ts";
|
|
3
|
+
/**
|
|
4
|
+
* Outcome recorded against a single attempt row in the webhook journal, OR the
|
|
5
|
+
* terminal outcome of a whole delivery (every delivery resolves to exactly one
|
|
6
|
+
* of the terminal members below via DeliverySummary.outcome).
|
|
7
|
+
*
|
|
8
|
+
* 'retrying' (#44) is attempt-scoped only — it can appear on a per-attempt
|
|
9
|
+
* WebhookJournalEntry row, but NEVER on a DeliverySummary: a delivery's terminal
|
|
10
|
+
* state is always one of success/failed/dropped/circuit-open. Before #44, a
|
|
11
|
+
* failed-but-will-retry attempt was journaled as outcome:"success" (with an
|
|
12
|
+
* `error` field populated) because DeliveryOutcome had no member for "this
|
|
13
|
+
* attempt failed but the delivery isn't done yet" — an SDET asserting
|
|
14
|
+
* `entries.some(e => e.outcome === "success")` got a false green on a webhook
|
|
15
|
+
* that never actually succeeded. 'retrying' closes that gap.
|
|
16
|
+
*/
|
|
17
|
+
export type DeliveryOutcome = "success" | "failed" | "dropped" | "circuit-open" | "retrying";
|
|
4
18
|
/** Signing config for a single webhook. Off unless explicitly enabled (S1). */
|
|
5
19
|
export interface WebhookSigningSpec {
|
|
20
|
+
/** Signature mechanism. Only `hmac` in v0.x; the union exists so ed25519/oidc can follow (#30). */
|
|
21
|
+
mode: "hmac";
|
|
6
22
|
enabled: boolean;
|
|
7
23
|
/** Algorithm — only sha256 supported in v0.x. */
|
|
8
24
|
algorithm: "sha256";
|
|
9
25
|
/** Secret reference: must be `{{ env.NAME }}` form OR a file:// path. Inline strings rejected at config load (S3). */
|
|
10
26
|
secretRef: string;
|
|
11
|
-
/**
|
|
27
|
+
/** Template for the bytes fed to HMAC. Default `{timestamp}.{body}`. */
|
|
28
|
+
signedPayload: string;
|
|
29
|
+
/** Template for the signature header VALUE. Default `{algorithm}={signature}`. */
|
|
30
|
+
signatureTemplate: string;
|
|
31
|
+
/** Digest encoding. Default `hex`; `base64` for Shopify-style receivers. */
|
|
32
|
+
digestEncoding: DigestEncoding;
|
|
33
|
+
/** Header carrying the rendered signature. Default: x-mockstar-signature. */
|
|
12
34
|
signatureHeader: string;
|
|
13
|
-
/**
|
|
14
|
-
|
|
35
|
+
/**
|
|
36
|
+
* Header carrying the timestamp, in the unit the scheme signs. `null` means: never emit a
|
|
37
|
+
* standalone timestamp header (e.g. Stripe carries its timestamp inside the signature header
|
|
38
|
+
* itself). Independently, no header is emitted when the scheme signs no timestamp at all,
|
|
39
|
+
* regardless of this field — see `timestampUnitFor` in scheme.ts.
|
|
40
|
+
*/
|
|
41
|
+
timestampHeader: string | null;
|
|
15
42
|
/** Replay window in ms. Default: 300_000 (5 minutes). Receiver should check timestamp delta. */
|
|
16
43
|
replayWindowMs: number;
|
|
17
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/features/webhooks/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/features/webhooks/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,eAAe,GACvB,SAAS,GACT,QAAQ,GACR,SAAS,GACT,cAAc,GACd,UAAU,CAAC;AAEf,+EAA+E;AAC/E,MAAM,WAAW,kBAAkB;IACjC,mGAAmG;IACnG,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,iDAAiD;IACjD,SAAS,EAAE,QAAQ,CAAC;IACpB,s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,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,oBAAoB,EAAE,OAAO,CAAC;CAC/B;AAED;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,SAAS,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,qGAAqG;IACrG,UAAU,EAAE,MAAM,CAAC;IACnB,4GAA4G;IAC5G,OAAO,EAAE,MAAM,CAAC;IAChB,+DAA+D;IAC/D,SAAS,EAAE,MAAM,CAAC;IAClB,0EAA0E;IAC1E,gBAAgB,EAAE,MAAM,CAAC;IACzB,oEAAoE;IACpE,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,eAAe,CAAC;IACzB,0GAA0G;IAC1G,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,oFAAoF;IACpF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mFAAmF;IACnF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iGAAiG;IACjG,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,mFAAmF;AACnF,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,eAAe,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;CACzB"}
|
package/dist/index.d.ts
CHANGED
|
@@ -27,4 +27,6 @@ export interface Launched {
|
|
|
27
27
|
export declare function launch(opts: LaunchOptions): Promise<Launched>;
|
|
28
28
|
export type { RunningServer, CreateServerOptions } from "./server.ts";
|
|
29
29
|
export { SnapshotHolder } from "./core/config/index.ts";
|
|
30
|
+
export { signPayload, verifySignature, withinReplayWindow, LEGACY_SCHEME, } from "./features/webhooks/signing.ts";
|
|
31
|
+
export type { SigningScheme, DigestEncoding } from "./features/webhooks/scheme.ts";
|
|
30
32
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAiD,MAAM,wBAAwB,CAAC;AAEvG,OAAO,EAAE,KAAK,gBAAgB,EAAgB,MAAM,+BAA+B,CAAC;AAEpF,OAAO,EAA4B,KAAK,aAAa,EAAgB,MAAM,aAAa,CAAC;AAEzF,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,2EAA2E;IAC3E,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,kGAAkG;IAClG,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,QAAQ;IACvB,QAAQ,CAAC,MAAM,EAAE,aAAa,CAAC;IAC/B,QAAQ,CAAC,IAAI,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACnC,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAC;CACjC;AAED;;;GAGG;AACH,wBAAsB,MAAM,CAAC,IAAI,EAAE,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAiD,MAAM,wBAAwB,CAAC;A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