@kya-os/checkpoint-shared 1.4.0 → 1.5.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 +32 -0
- package/dist/beacon-types/index.d.mts +441 -432
- package/dist/beacon-types/index.d.mts.map +1 -0
- package/dist/beacon-types/index.d.ts +441 -432
- package/dist/beacon-types/index.d.ts.map +1 -0
- package/dist/beacon-types/index.js +198 -182
- package/dist/beacon-types/index.mjs +197 -179
- package/dist/beacon-types/index.mjs.map +1 -0
- package/dist/browser-posture-cookie-Dmq9Brf_.d.mts +5 -0
- package/dist/browser-posture-cookie-Dmq9Brf_.d.mts.map +1 -0
- package/dist/browser-posture-cookie-Dmq9Brf_.d.ts +5 -0
- package/dist/browser-posture-cookie-Dmq9Brf_.d.ts.map +1 -0
- package/dist/browser-posture-cookie.d.mts +2 -0
- package/dist/browser-posture-cookie.d.ts +2 -0
- package/dist/browser-posture-cookie.js +1 -0
- package/dist/browser-posture-cookie.mjs +2 -0
- package/dist/browser-posture-cookie.mjs.map +1 -0
- package/dist/browser-posture-report.d.mts +48 -44
- package/dist/browser-posture-report.d.mts.map +1 -0
- package/dist/browser-posture-report.d.ts +48 -44
- package/dist/browser-posture-report.d.ts.map +1 -0
- package/dist/browser-posture-report.js +1 -1
- package/dist/browser-posture-report.mjs +2 -1
- package/dist/browser-posture-report.mjs.map +1 -0
- package/dist/browser-posture.d.mts +80 -75
- package/dist/browser-posture.d.mts.map +1 -0
- package/dist/browser-posture.d.ts +80 -75
- package/dist/browser-posture.d.ts.map +1 -0
- package/dist/browser-posture.js +159 -18993
- package/dist/browser-posture.mjs +158 -18990
- package/dist/browser-posture.mjs.map +1 -0
- package/dist/browser.d.mts +323 -316
- package/dist/browser.d.mts.map +1 -0
- package/dist/browser.d.ts +323 -316
- package/dist/browser.d.ts.map +1 -0
- package/dist/browser.js +1 -1
- package/dist/browser.mjs +2 -1
- package/dist/browser.mjs.map +1 -0
- package/dist/canonical-signer/index.d.mts +38 -33
- package/dist/canonical-signer/index.d.mts.map +1 -0
- package/dist/canonical-signer/index.d.ts +38 -33
- package/dist/canonical-signer/index.d.ts.map +1 -0
- package/dist/canonical-signer/index.js +411 -181
- package/dist/canonical-signer/index.mjs +383 -175
- package/dist/canonical-signer/index.mjs.map +1 -0
- package/dist/clearance.d.mts +30 -0
- package/dist/clearance.d.mts.map +1 -0
- package/dist/clearance.d.ts +30 -0
- package/dist/clearance.d.ts.map +1 -0
- package/dist/clearance.js +120 -0
- package/dist/clearance.mjs +112 -0
- package/dist/clearance.mjs.map +1 -0
- package/dist/client-ip-1y2iXAYW.js +237 -0
- package/dist/client-ip-HOfe6ucV.mjs +215 -0
- package/dist/client-ip-HOfe6ucV.mjs.map +1 -0
- package/dist/deploy/index.d.mts +339 -339
- package/dist/deploy/index.d.mts.map +1 -0
- package/dist/deploy/index.d.ts +339 -339
- package/dist/deploy/index.d.ts.map +1 -0
- package/dist/deploy/index.js +505 -413
- package/dist/deploy/index.mjs +504 -410
- package/dist/deploy/index.mjs.map +1 -0
- package/dist/errors/index.d.mts +101 -101
- package/dist/errors/index.d.mts.map +1 -0
- package/dist/errors/index.d.ts +101 -101
- package/dist/errors/index.d.ts.map +1 -0
- package/dist/errors/index.js +341 -314
- package/dist/errors/index.mjs +340 -311
- package/dist/errors/index.mjs.map +1 -0
- package/dist/external-jr_S4iSS.d.mts +4187 -0
- package/dist/external-jr_S4iSS.d.mts.map +1 -0
- package/dist/external-jr_S4iSS.d.ts +4187 -0
- package/dist/external-jr_S4iSS.d.ts.map +1 -0
- package/dist/gateway/index.d.mts +138 -132
- package/dist/gateway/index.d.mts.map +1 -0
- package/dist/gateway/index.d.ts +138 -132
- package/dist/gateway/index.d.ts.map +1 -0
- package/dist/gateway/index.js +117 -81
- package/dist/gateway/index.mjs +116 -78
- package/dist/gateway/index.mjs.map +1 -0
- package/dist/gateway-client-ip.d.mts +59 -0
- package/dist/gateway-client-ip.d.mts.map +1 -0
- package/dist/gateway-client-ip.d.ts +59 -0
- package/dist/gateway-client-ip.d.ts.map +1 -0
- package/dist/gateway-client-ip.js +149 -0
- package/dist/gateway-client-ip.mjs +139 -0
- package/dist/gateway-client-ip.mjs.map +1 -0
- package/dist/index.d.mts +14895 -14240
- package/dist/index.d.mts.map +1 -0
- package/dist/index.d.ts +14895 -14240
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +15180 -31025
- package/dist/index.mjs +15065 -30942
- package/dist/index.mjs.map +1 -0
- package/dist/mcpi/agentshield-api/index.d.mts +45 -44
- package/dist/mcpi/agentshield-api/index.d.mts.map +1 -0
- package/dist/mcpi/agentshield-api/index.d.ts +45 -44
- package/dist/mcpi/agentshield-api/index.d.ts.map +1 -0
- package/dist/mcpi/agentshield-api/index.js +0 -2
- package/dist/mcpi/agentshield-api/index.mjs +1 -1
- package/dist/mcpi/approval-grant/index.d.mts +63 -61
- package/dist/mcpi/approval-grant/index.d.mts.map +1 -0
- package/dist/mcpi/approval-grant/index.d.ts +63 -61
- package/dist/mcpi/approval-grant/index.d.ts.map +1 -0
- package/dist/mcpi/approval-grant/index.js +220 -140
- package/dist/mcpi/approval-grant/index.mjs +219 -137
- package/dist/mcpi/approval-grant/index.mjs.map +1 -0
- package/dist/mcpi/dashboard-config/index.d.mts +2323 -2318
- package/dist/mcpi/dashboard-config/index.d.mts.map +1 -0
- package/dist/mcpi/dashboard-config/index.d.ts +2323 -2318
- package/dist/mcpi/dashboard-config/index.d.ts.map +1 -0
- package/dist/mcpi/dashboard-config/index.js +605 -458
- package/dist/mcpi/dashboard-config/index.mjs +604 -455
- package/dist/mcpi/dashboard-config/index.mjs.map +1 -0
- package/dist/mcpi/multibase-ed25519.d.mts +10 -8
- package/dist/mcpi/multibase-ed25519.d.mts.map +1 -0
- package/dist/mcpi/multibase-ed25519.d.ts +10 -8
- package/dist/mcpi/multibase-ed25519.d.ts.map +1 -0
- package/dist/mcpi/multibase-ed25519.js +182 -106
- package/dist/mcpi/multibase-ed25519.mjs +181 -103
- package/dist/mcpi/multibase-ed25519.mjs.map +1 -0
- package/dist/patterns-CkRVOdtV.js +243 -0
- package/dist/patterns-DzkGy_qk.mjs +173 -0
- package/dist/patterns-DzkGy_qk.mjs.map +1 -0
- package/dist/project-verification-key-C3L5rd8a.js +41 -0
- package/dist/project-verification-key-CgSVX9_m.mjs +37 -0
- package/dist/project-verification-key-CgSVX9_m.mjs.map +1 -0
- package/dist/rolldown-runtime-iY2fYEqi.mjs +19 -0
- package/dist/schemas-BmjNLAE7.js +5677 -0
- package/dist/schemas-DxY-dk9y.mjs +5511 -0
- package/dist/schemas-DxY-dk9y.mjs.map +1 -0
- package/dist/signals/index.d.mts +125 -115
- package/dist/signals/index.d.mts.map +1 -0
- package/dist/signals/index.d.ts +125 -115
- package/dist/signals/index.d.ts.map +1 -0
- package/dist/signals/index.js +1693 -1536
- package/dist/signals/index.mjs +1692 -1533
- package/dist/signals/index.mjs.map +1 -0
- package/dist/test-fixtures/index.d.mts +124 -119
- package/dist/test-fixtures/index.d.mts.map +1 -0
- package/dist/test-fixtures/index.d.ts +124 -119
- package/dist/test-fixtures/index.d.ts.map +1 -0
- package/dist/test-fixtures/index.js +460 -228
- package/dist/test-fixtures/index.mjs +459 -225
- package/dist/test-fixtures/index.mjs.map +1 -0
- package/dist/tool-protection/index.d.mts +343 -343
- package/dist/tool-protection/index.d.mts.map +1 -0
- package/dist/tool-protection/index.d.ts +343 -343
- package/dist/tool-protection/index.d.ts.map +1 -0
- package/dist/tool-protection/index.js +366 -285
- package/dist/tool-protection/index.mjs +365 -282
- package/dist/tool-protection/index.mjs.map +1 -0
- package/fixtures/bot-signal-resolution.json +142 -0
- package/fixtures/browser-posture-claims.json +421 -0
- package/fixtures/browser-posture-headers.json +46 -0
- package/fixtures/detection/reason-codes.json +10 -1
- package/fixtures/kya-http/challenge.delegation.fetcher-200.json +9 -3
- package/fixtures/kya-http/challenge.delegation.full.json +9 -3
- package/fixtures/kya-http/challenge.delegation.minimal.json +9 -3
- package/fixtures/kya-http/error-codes.json +7 -2
- package/package.json +20 -6
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gateway-client-ip.mjs","names":["z.object","z.literal","z.string","z.number"],"sources":["../src/gateway-client-ip.ts"],"sourcesContent":["import { SignJWT, createLocalJWKSet, importJWK, jwtVerify, type JWK, type KeyLike } from 'jose';\nimport { z } from 'zod';\nimport { parseIpv6 } from './utils/client-ip';\n\nexport type { JWK, KeyLike } from 'jose';\n\n/**\n * Signed client-identity token minted by the Checkpoint Cloudflare gateway\n * worker and verified by an origin-side Checkpoint SDK (KYA-1121 follow-up).\n *\n * The gateway already forwards the connecting IP as the plain `KYA-Client-IP`\n * / `X-Forwarded-For` headers (see `proxy.ts`), which every adapter behind a\n * KNOWN, trusted peer (Cloudflare's own published edge ranges) can trust.\n * Behind an additional untrusted hop - e.g. a PaaS's own reverse proxy\n * (Railway, Render, Fly) sitting between Cloudflare and the origin - the\n * origin's TCP peer is that PaaS's proxy, not Cloudflare, so the plain\n * header can never be trusted there: any caller reaching the PaaS's edge\n * directly could set it too. This ES256-signed JWS carries the SAME claim\n * with a signature only the gateway's private key can produce, so an origin\n * can trust it regardless of what sits between it and the gateway.\n *\n * One gateway-wide asymmetric key (not a per-project secret): the worker\n * holds the private JWK (`GATEWAY_CLIENT_IP_SIGNING_JWK`), the platform\n * publishes the public JWK at `/.well-known/jwks.json`\n * (`GATEWAY_CLIENT_IP_PUBLIC_JWK`). Rotation is by `kid`.\n */\n\nexport const GATEWAY_CLIENT_IP_TOKEN_HEADER = 'KYA-Client-IP-Token';\nexport const GATEWAY_CLIENT_IP_ISSUER = 'checkpoint:gateway-client-ip:v1';\nexport const GATEWAY_CLIENT_IP_TYPE = 'checkpoint-client-ip+jwt';\n/**\n * Token lifetime, seconds. A verifier MUST additionally bind `cid`/`host` to\n * the request it's verifying (see {@link VerifyGatewayClientIpOptions}) -\n * without that binding, a token captured on an untrusted hop within this\n * window is replayable onto a DIFFERENT request the gateway never actually\n * saw, and the `ip` it carries is not inert: it feeds the same IP-reputation\n * and vendor-cross-match signals as any other resolved client IP, which do\n * influence the engine's enforcement decision. Binding `cid` (unique per\n * request) is what keeps a captured token scoped to the one request the\n * gateway minted it for.\n */\nexport const GATEWAY_CLIENT_IP_TTL_SECONDS = 60;\n/** Clock-skew allowance applied to `exp` (via jose's `clockTolerance`) and independently to `iat` below. */\nconst CLOCK_SKEW_SECONDS = 30;\n\nfunction isIpv4Literal(value: string): boolean {\n const parts = value.split('.');\n return (\n parts.length === 4 &&\n parts.every((part) => /^(0|[1-9]\\d{0,2})$/.test(part) && Number(part) <= 255)\n );\n}\n\n/** True when `value` is a literal IPv4 or IPv6 address - never resolves a hostname. */\nexport function isIpLiteral(value: string): boolean {\n // parseIpv6 is exported by client-ip.ts specifically for reuse by callers\n // that need to validate/mask an address, not just resolve one - reused\n // here rather than a second hand-rolled IPv6 parser.\n return isIpv4Literal(value) || parseIpv6(value) !== null;\n}\n\nexport const GatewayClientIpClaimsSchema = z.object({\n iss: z.literal(GATEWAY_CLIENT_IP_ISSUER),\n aud: z.string().min(1),\n ip: z.string().refine(isIpLiteral, 'ip must be a literal IPv4 or IPv6 address'),\n cid: z.string().min(1),\n host: z.string().min(1),\n iat: z.number().int().nonnegative(),\n exp: z.number().int().positive(),\n});\nexport type GatewayClientIpClaims = z.infer<typeof GatewayClientIpClaimsSchema>;\n\nexport interface GatewayClientIpInput {\n aud: string;\n ip: string;\n cid: string;\n host: string;\n}\n\n/** The gateway's own EC P-256 public key, as published in `/.well-known/jwks.json`. */\nexport const GatewayClientIpPublicJwkSchema = z.object({\n kty: z.literal('EC'),\n crv: z.literal('P-256'),\n alg: z.literal('ES256'),\n use: z.literal('sig'),\n kid: z.string().min(1),\n x: z.string().min(1),\n y: z.string().min(1),\n});\nexport type GatewayClientIpPublicJwk = z.infer<typeof GatewayClientIpPublicJwkSchema>;\n\n/** The private half the gateway worker holds (`GATEWAY_CLIENT_IP_SIGNING_JWK`). */\nexport const GatewayClientIpPrivateJwkSchema = GatewayClientIpPublicJwkSchema.extend({\n d: z.string().min(1),\n});\nexport type GatewayClientIpPrivateJwk = z.infer<typeof GatewayClientIpPrivateJwkSchema>;\n\n/**\n * Import a gateway client-ip JWK (private or public half) into a usable jose\n * key. Callers on a hot path - the gateway worker signs on every proxied\n * request - should import once per isolate and reuse the resulting key\n * rather than calling this per request.\n */\nexport async function importGatewayClientIpSigningKey(jwk: JWK): Promise<KeyLike | Uint8Array> {\n return importJWK(jwk, 'ES256');\n}\n\n/**\n * Mint a compact JWS carrying the gateway's client-identity claim.\n * `privateKey` must already be imported (see {@link importGatewayClientIpSigningKey}) -\n * this function never imports a key itself, so a cached key can be reused\n * across every signed request.\n */\nexport async function signGatewayClientIp(\n privateKey: KeyLike | Uint8Array,\n kid: string,\n input: GatewayClientIpInput,\n now: number = Math.floor(Date.now() / 1000)\n): Promise<string> {\n if (!kid || !input.aud || !input.cid || !input.host || !isIpLiteral(input.ip)) {\n throw new Error('Invalid gateway client-ip signing input');\n }\n const claims: GatewayClientIpClaims = {\n iss: GATEWAY_CLIENT_IP_ISSUER,\n aud: input.aud,\n ip: input.ip,\n cid: input.cid,\n host: input.host,\n iat: now,\n exp: now + GATEWAY_CLIENT_IP_TTL_SECONDS,\n };\n return new SignJWT(claims)\n .setProtectedHeader({ alg: 'ES256', typ: GATEWAY_CLIENT_IP_TYPE, kid })\n .sign(privateKey);\n}\n\nexport interface VerifyGatewayClientIpOptions {\n /** The project this token must be scoped to (`routingEntry.projectId` on the gateway side). */\n projectId: string;\n /**\n * The CURRENT request's own correlation id (the same value the gateway\n * forwards as `x-kya-correlation-id`) - must equal the token's `cid` claim.\n * This is the binding that makes replay impossible: without it, a token\n * captured on an untrusted hop verifies against ANY request presenting it\n * within the TTL, not just the one the gateway minted it for.\n */\n expectedCid: string;\n /**\n * The CURRENT request's own public hostname - must equal the token's\n * `host` claim. On the Java SDK's `RemoteIpResolver.gateway(options)`,\n * this is the host component of the gateway's `KYA-Original-Origin`\n * header, NOT `X-Forwarded-Host`: a PaaS's own reverse proxy in front of\n * the origin (Railway, Render, Fly) commonly rewrites the latter from its\n * own Host-header-based routing, which would make this binding never\n * match on exactly the topology it defends (Cursor Bugbot, high) - see\n * `proxy.ts`, which sets `KYA-Original-Origin` unconditionally on every\n * proxied request to the same `hostname` this token's `host` claim signs.\n */\n expectedHost: string;\n now?: number;\n}\n\n/**\n * Verify a gateway client-ip token against a JWKS document (as served by\n * `/.well-known/jwks.json`) and return its claims, or `null` on ANY failure\n * - malformed token, unknown `kid`, wrong `alg`, a tampered/expired/\n * mismatched claim, or a `cid`/`host` that doesn't match the request being\n * verified. Never throws: a missing or invalid token must change nothing\n * about the caller's IP resolution.\n */\nexport async function verifyGatewayClientIp(\n token: string | undefined | null,\n jwks: { keys: JWK[] },\n options: VerifyGatewayClientIpOptions\n): Promise<GatewayClientIpClaims | null> {\n if (!token || !options.projectId || !options.expectedCid || !options.expectedHost) return null;\n const now = options.now ?? Math.floor(Date.now() / 1000);\n try {\n // Only EC/P-256 keys are ever candidates - the JWKS also carries the\n // unrelated OAuth Ed25519 (OKP) key, which must never be considered here.\n const ecKeys = jwks.keys.filter((key) => key.kty === 'EC' && key.crv === 'P-256');\n if (ecKeys.length === 0) return null;\n const getKey = createLocalJWKSet({ keys: ecKeys });\n const { payload } = await jwtVerify(token, getKey, {\n algorithms: ['ES256'],\n issuer: GATEWAY_CLIENT_IP_ISSUER,\n audience: options.projectId,\n typ: GATEWAY_CLIENT_IP_TYPE,\n currentDate: new Date(now * 1000),\n clockTolerance: CLOCK_SKEW_SECONDS,\n });\n const parsed = GatewayClientIpClaimsSchema.safeParse(payload);\n if (!parsed.success) return null;\n const claims = parsed.data;\n // Business-rule bounds jose has no concept of: the token's OWN declared\n // lifetime must never exceed the fixed TTL (even if a bug ever minted a\n // longer-lived but validly-signed token), iat must not be unreasonably\n // far in the future, and cid/host must bind this token to THIS request -\n // without that check a captured token replays onto any other request.\n if (\n claims.iat > now + CLOCK_SKEW_SECONDS ||\n claims.exp > claims.iat + GATEWAY_CLIENT_IP_TTL_SECONDS ||\n claims.cid !== options.expectedCid ||\n claims.host !== options.expectedHost\n ) {\n return null;\n }\n return claims;\n } catch {\n return null;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA2BA,MAAa,iCAAiC;AAC9C,MAAa,2BAA2B;AACxC,MAAa,yBAAyB;;;;;;;;;;;;AAYtC,MAAa,gCAAgC;;AAE7C,MAAM,qBAAqB;AAE3B,SAAS,cAAc,OAAwB;CAC7C,MAAM,QAAQ,MAAM,MAAM,GAAG;CAC7B,OACE,MAAM,WAAW,KACjB,MAAM,OAAO,SAAS,qBAAqB,KAAK,IAAI,KAAK,OAAO,IAAI,KAAK,GAAG;AAEhF;;AAGA,SAAgB,YAAY,OAAwB;CAIlD,OAAO,cAAc,KAAK,KAAK,UAAU,KAAK,MAAM;AACtD;AAEA,MAAa,8BAA8BA,OAAS;CAClD,KAAKC,QAAU,wBAAwB;CACvC,KAAKC,OAAS,CAAC,CAAC,IAAI,CAAC;CACrB,IAAIA,OAAS,CAAC,CAAC,OAAO,aAAa,2CAA2C;CAC9E,KAAKA,OAAS,CAAC,CAAC,IAAI,CAAC;CACrB,MAAMA,OAAS,CAAC,CAAC,IAAI,CAAC;CACtB,KAAKC,OAAS,CAAC,CAAC,IAAI,CAAC,CAAC,YAAY;CAClC,KAAKA,OAAS,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;AACjC,CAAC;;AAWD,MAAa,iCAAiCH,OAAS;CACrD,KAAKC,QAAU,IAAI;CACnB,KAAKA,QAAU,OAAO;CACtB,KAAKA,QAAU,OAAO;CACtB,KAAKA,QAAU,KAAK;CACpB,KAAKC,OAAS,CAAC,CAAC,IAAI,CAAC;CACrB,GAAGA,OAAS,CAAC,CAAC,IAAI,CAAC;CACnB,GAAGA,OAAS,CAAC,CAAC,IAAI,CAAC;AACrB,CAAC;;AAID,MAAa,kCAAkC,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