@atlasauth/nextjs 0.9.0 → 0.11.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 CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.11.0 — 2026-11-04
6
+
7
+ ### Changed (behaviour-changing)
8
+
9
+ - `createMountHandler` sends Atlas only what Atlas uses. By default the only cookies forwarded are `__session`, `__client` and `__atlas_*`, and the only headers are browser basics plus the ones Atlas reads; your app's own cookies and internal headers stay on your side. To send something else, pass `forwardCookies(name)` or `forwardHeaders(name)`, which replace the defaults: `forwardCookies: () => true` and `forwardHeaders: () => true` restore the old behaviour. Hop-by-hop headers, `X-Forwarded-*`, and `X-Atlas-*` other than `X-Atlas-SDK` are dropped whatever a hook returns. Client IP handling is unchanged.
10
+
11
+ ### Fixed
12
+
13
+ - `createMountHandler` forwards `X-Atlas-SDK`, so SDK version advisories now reach browsers behind a mount.
14
+
15
+ ## 0.10.0 — 2026-11-04
16
+
17
+ ### Security
18
+
19
+ - `createMountHandler` no longer trusts a browser-supplied client IP. It used the leftmost `X-Forwarded-For` entry (or `X-Real-IP`) as `X-Atlas-Client-IP`, which Atlas uses for rate limits, lockouts, risk checks and audit logs, so a visitor could pick their own IP. It now takes the `X-Forwarded-For` entry `trustedProxyHops` places from the right (default `1`: the one your nearest proxy appended), never reads `X-Real-IP`, and drops values that are not IP addresses.
20
+ - `createMountHandler` takes `X-Forwarded-Proto` from the nearest proxy's (last) entry, `http` or `https` only, so a browser-sent value cannot downgrade the scheme.
21
+
22
+ ### Added
23
+
24
+ - `createMountHandler({ clientIp?, trustedProxyHops? })`: `clientIp(request)` supplies the client IP yourself (takes precedence); `trustedProxyHops` sets how many proxies append to `X-Forwarded-For` (`0` forwards no client IP).
25
+
26
+ ### Changed
27
+
28
+ - `createMountHandler` without `ATLAS_UPSTREAM` or `ATLAS_PROXY_SECRET` answers 503 (`text/plain`) and logs the missing variable once, instead of throwing (a bare 500).
29
+
5
30
  ## 0.9.0 — 2026-11-03
6
31
 
7
32
  ### Added
package/README.md CHANGED
@@ -139,7 +139,7 @@ Set `ATLAS_UPSTREAM` (your instance's Frontend API host, from the domain's `inst
139
139
 
140
140
  Use a base path without a leading underscore, such as `/atlas`. The App Router treats folders starting with `_` as private and never routes them, so the default `/__atlas` doesn't work in Next.js.
141
141
 
142
- The handler forwards the method, path, query and body, sets `X-Atlas-Forwarded-Host`, `X-Atlas-Proxy-Secret`, `X-Atlas-Client-IP`, `X-Forwarded-For` and `X-Forwarded-Proto` itself (never from the browser), and returns every `Set-Cookie` and redirect unchanged. Both handlers are also exported from `@atlasauth/nextjs`.
142
+ The handler forwards the method, path, query and body. By default only the cookies `__session`, `__client` and `__atlas_*` and an allowlist of headers reach Atlas, so your app's own cookies and internal headers don't; `forwardCookies(name)` and `forwardHeaders(name)` replace those lists. It always drops any incoming `X-Atlas-*` (except `X-Atlas-SDK`), `X-Forwarded-*`, `Forwarded` and `X-Real-IP` headers, sets `X-Atlas-Forwarded-Host` and `X-Atlas-Proxy-Secret` itself, and returns every `Set-Cookie` and redirect unchanged. The client IP (`X-Atlas-Client-IP` and `X-Forwarded-For`) is the incoming `X-Forwarded-For` entry `trustedProxyHops` places from the right (default `1`: the entry your nearest proxy appended; entries further left are browser-controlled and ignored; `0` forwards none), or whatever `clientIp(request)` returns when you pass it; values that are not IP addresses are dropped. Without `ATLAS_UPSTREAM` or `ATLAS_PROXY_SECRET` the mount answers 503 and logs the missing variable once. Both handlers are also exported from `@atlasauth/nextjs`.
143
143
 
144
144
  ## Routing rules
145
145
 
package/dist/mount.d.ts CHANGED
@@ -28,6 +28,31 @@ export interface AtlasMountOptions {
28
28
  verifyToken?: string;
29
29
  /** The mount's `base_path`, as registered with Atlas. Default `/atlas`. */
30
30
  basePath?: string;
31
+ /**
32
+ * Derive the client IP forwarded to Atlas as `X-Atlas-Client-IP` yourself
33
+ * (for example from your platform's verified request IP). Takes precedence
34
+ * over `trustedProxyHops`. A value that is not an IP address is dropped.
35
+ */
36
+ clientIp?: (request: Request) => string | undefined;
37
+ /**
38
+ * How many proxies in front of this app append to `X-Forwarded-For`. The
39
+ * client IP is the entry that many places from the right (default 1: the
40
+ * rightmost, appended by the nearest proxy). Entries further left are
41
+ * browser-controlled and never used. `0` forwards no client IP.
42
+ */
43
+ trustedProxyHops?: number;
44
+ /**
45
+ * Which request cookies reach Atlas, replacing the default: `__session`,
46
+ * `__client` and `__atlas_*`. Your app's own cookies stay on your side.
47
+ */
48
+ forwardCookies?: (name: string) => boolean;
49
+ /**
50
+ * Which request headers reach Atlas (the name is lowercase), replacing the
51
+ * default list of browser basics and what Atlas reads. It can't let through
52
+ * hop-by-hop headers, `X-Forwarded-*`, or `X-Atlas-*` other than `X-Atlas-SDK`:
53
+ * Atlas trusts those from your proxy, so they are never taken from the browser.
54
+ */
55
+ forwardHeaders?: (name: string) => boolean;
31
56
  fetchImpl?: typeof fetch;
32
57
  }
33
58
  type Handler = (request: Request) => Promise<Response>;
@@ -42,11 +67,19 @@ export interface AtlasMountHandlers {
42
67
  }
43
68
  /**
44
69
  * App Router handlers that forward the mount to Atlas: method, path (base
45
- * included: Atlas reads the prefix from it), query and streamed body unchanged;
46
- * hop-by-hop headers dropped; `X-Atlas-Forwarded-Host`, `X-Atlas-Proxy-Secret`,
47
- * `X-Atlas-Client-IP`, `X-Forwarded-For` and `X-Forwarded-Proto` set from the
48
- * request (never passed on from the browser). The response keeps its status,
49
- * headers and EVERY `Set-Cookie`; redirects are returned, not followed.
70
+ * included: Atlas reads the prefix from it), query and streamed body unchanged.
71
+ * Only allowlisted request headers and cookies go upstream: browser basics, what
72
+ * Atlas reads, and the cookies `__session`, `__client` and `__atlas_*`
73
+ * (`forwardHeaders` and `forwardCookies` replace those lists). Hop-by-hop headers
74
+ * and every incoming `X-Atlas-*` (except `X-Atlas-SDK`), `X-Forwarded-*`,
75
+ * `Forwarded` and `X-Real-IP` header are always dropped, then set as: `X-Atlas-Forwarded-Host`
76
+ * from `Host`; `X-Atlas-Proxy-Secret` from config; `X-Atlas-Client-IP` and
77
+ * `X-Forwarded-For` from `options.clientIp`, else the incoming `X-Forwarded-For`
78
+ * entry `trustedProxyHops` (default 1) from the right, omitted when absent or not
79
+ * an IP; `X-Forwarded-Proto` from the last incoming `X-Forwarded-Proto` entry (http or https only),
80
+ * else the request URL's scheme. The response keeps its status, headers and EVERY
81
+ * `Set-Cookie`; redirects are returned, not followed. Without an upstream or
82
+ * proxy secret it answers 503 (logged once).
50
83
  */
51
84
  export declare function createMountHandler(options?: AtlasMountOptions): AtlasMountHandlers;
52
85
  type VerifyContext = {
package/dist/mount.js CHANGED
@@ -27,7 +27,23 @@ function readEnv() {
27
27
  return globalThis.process?.env ?? {};
28
28
  }
29
29
  const HOP_BY_HOP = new Set(['connection', 'keep-alive', 'transfer-encoding', 'upgrade', 'te', 'trailer', 'host', 'content-length']);
30
- const dropRequestHeader = (name) => HOP_BY_HOP.has(name) || name.startsWith('proxy-') || name.startsWith('x-atlas-') || name.startsWith('x-forwarded-') || name === 'forwarded' || name === 'x-real-ip';
30
+ /** Hop-by-hop headers and the ones Atlas believes from a proxy or edge: never taken from the browser, whatever `forwardHeaders` says. */
31
+ const neverForwardHeader = (name) => HOP_BY_HOP.has(name) ||
32
+ name.startsWith('proxy-') ||
33
+ (name.startsWith('x-atlas-') && name !== 'x-atlas-sdk' && name !== 'x-atlas-app-version') ||
34
+ name.startsWith('x-forwarded-') ||
35
+ ['forwarded', 'x-real-ip', 'cf-connecting-ip', 'true-client-ip', 'ssl-client-cert', 'x-client-cert'].includes(name);
36
+ const FORWARDED_HEADERS = new Set([
37
+ 'accept', 'authorization', 'cache-control', 'content-encoding', 'content-type', 'cookie', 'last-event-id', 'origin', 'pragma', 'range', 'referer', 'user-agent',
38
+ 'if-match', 'if-modified-since', 'if-none-match', 'if-range', 'if-unmodified-since',
39
+ // Sent by the Atlas SDKs.
40
+ 'atlas-attestation', 'x-atlas-sdk', 'x-atlas-app-version', 'x-publishable-key', 'x-refresh-token',
41
+ // Read by the Frontend API and OpenID Provider routes under the mount.
42
+ 'dpop', 'idempotency-key', 'mcp-session-id', 'oauth-client-attestation', 'oauth-client-attestation-pop', 'pca-action', 'workload-identity-token', 'workload-proof-token',
43
+ ]);
44
+ const forwardHeaderByDefault = (name) => FORWARDED_HEADERS.has(name) || name.startsWith('accept-') || name.startsWith('access-control-request-') || name.startsWith('sec-fetch-') || name.startsWith('sec-ch-');
45
+ /** What Atlas reads and sets. Exact `__session` / `__client`: other vendors' `__session_*` and `__client_uat` are not ours to receive. */
46
+ const forwardCookieByDefault = (name) => name === '__session' || name === '__client' || name.startsWith('__atlas_');
31
47
  const DROP_RESPONSE = new Set(['connection', 'keep-alive', 'transfer-encoding', 'upgrade', 'te', 'trailer', 'content-encoding', 'content-length', 'set-cookie']);
32
48
  const NULL_BODY_STATUS = new Set([101, 204, 205, 304]);
33
49
  function setCookies(headers) {
@@ -37,10 +53,41 @@ function setCookies(headers) {
37
53
  const single = headers.get('set-cookie');
38
54
  return single ? [single] : [];
39
55
  }
40
- function clientIp(headers) {
41
- const xff = headers.get('x-forwarded-for')?.split(',')[0]?.trim();
42
- return xff || headers.get('x-real-ip')?.trim() || undefined;
56
+ /** An IPv4/IPv6 address with any port or brackets stripped, or undefined when `raw` is not one. */
57
+ function normaliseIp(raw) {
58
+ let v = raw?.trim() ?? '';
59
+ const bracketed = /^\[([^\]]+)\](?::\d+)?$/.exec(v);
60
+ if (bracketed)
61
+ v = bracketed[1];
62
+ else if (/^[\d.]+:\d+$/.test(v))
63
+ v = v.slice(0, v.lastIndexOf(':'));
64
+ if (/^\d{1,3}(\.\d{1,3}){3}$/.test(v))
65
+ return v.split('.').every((o) => Number(o) <= 255) ? v : undefined;
66
+ if (!v.includes(':') || !/^[0-9a-fA-F:.]+$/.test(v))
67
+ return undefined;
68
+ try {
69
+ new URL(`http://[${v}]/`); // the WHATWG URL parser validates IPv6 on every runtime
70
+ return v;
71
+ }
72
+ catch {
73
+ return undefined;
74
+ }
43
75
  }
76
+ /**
77
+ * The client IP: `options.clientIp(request)` when given, else the
78
+ * `X-Forwarded-For` entry `trustedProxyHops` from the right. The browser can
79
+ * set any `X-Forwarded-For` / `X-Real-IP`, so leftmost entries are never trusted.
80
+ */
81
+ function clientIp(request, options) {
82
+ if (options.clientIp)
83
+ return normaliseIp(options.clientIp(request));
84
+ const hops = options.trustedProxyHops ?? 1;
85
+ if (hops <= 0)
86
+ return undefined;
87
+ const entries = request.headers.get('x-forwarded-for')?.split(',') ?? [];
88
+ return entries.length < hops ? undefined : normaliseIp(entries[entries.length - hops]);
89
+ }
90
+ let loggedMisconfig = false;
44
91
  /** `/atlas`, normalised: one leading slash, no trailing slash. */
45
92
  function normaliseBase(raw) {
46
93
  const base = `/${raw.trim().replace(/^\/+|\/+$/g, '')}`;
@@ -48,23 +95,47 @@ function normaliseBase(raw) {
48
95
  throw new Error('@atlasauth/nextjs createMountHandler: basePath must not be "/"');
49
96
  return base;
50
97
  }
98
+ /** The `Cookie` header with only the allowed cookies, or undefined when none is left. */
99
+ function filterCookies(header, allow) {
100
+ const kept = header
101
+ .split(';')
102
+ .map((part) => part.trim())
103
+ .filter((part) => part && allow(part.split('=', 1)[0].trim()));
104
+ return kept.length ? kept.join('; ') : undefined;
105
+ }
51
106
  /**
52
107
  * App Router handlers that forward the mount to Atlas: method, path (base
53
- * included: Atlas reads the prefix from it), query and streamed body unchanged;
54
- * hop-by-hop headers dropped; `X-Atlas-Forwarded-Host`, `X-Atlas-Proxy-Secret`,
55
- * `X-Atlas-Client-IP`, `X-Forwarded-For` and `X-Forwarded-Proto` set from the
56
- * request (never passed on from the browser). The response keeps its status,
57
- * headers and EVERY `Set-Cookie`; redirects are returned, not followed.
108
+ * included: Atlas reads the prefix from it), query and streamed body unchanged.
109
+ * Only allowlisted request headers and cookies go upstream: browser basics, what
110
+ * Atlas reads, and the cookies `__session`, `__client` and `__atlas_*`
111
+ * (`forwardHeaders` and `forwardCookies` replace those lists). Hop-by-hop headers
112
+ * and every incoming `X-Atlas-*` (except `X-Atlas-SDK`), `X-Forwarded-*`,
113
+ * `Forwarded` and `X-Real-IP` header are always dropped, then set as: `X-Atlas-Forwarded-Host`
114
+ * from `Host`; `X-Atlas-Proxy-Secret` from config; `X-Atlas-Client-IP` and
115
+ * `X-Forwarded-For` from `options.clientIp`, else the incoming `X-Forwarded-For`
116
+ * entry `trustedProxyHops` (default 1) from the right, omitted when absent or not
117
+ * an IP; `X-Forwarded-Proto` from the last incoming `X-Forwarded-Proto` entry (http or https only),
118
+ * else the request URL's scheme. The response keeps its status, headers and EVERY
119
+ * `Set-Cookie`; redirects are returned, not followed. Without an upstream or
120
+ * proxy secret it answers 503 (logged once).
58
121
  */
59
122
  function createMountHandler(options = {}) {
60
123
  const handle = async (request) => {
61
124
  const env = readEnv();
62
125
  const upstream = options.upstream ?? env.ATLAS_UPSTREAM;
63
126
  const proxySecret = options.proxySecret ?? env.ATLAS_PROXY_SECRET;
64
- if (!upstream)
65
- throw new Error('@atlasauth/nextjs createMountHandler: set ATLAS_UPSTREAM (your Frontend API host).');
66
- if (!proxySecret)
67
- throw new Error('@atlasauth/nextjs createMountHandler: set ATLAS_PROXY_SECRET (POST /v1/instance/proxy_secret).');
127
+ if (!upstream || !proxySecret) {
128
+ if (!loggedMisconfig) {
129
+ loggedMisconfig = true;
130
+ console.error(!upstream
131
+ ? '@atlasauth/nextjs createMountHandler: set ATLAS_UPSTREAM (your Frontend API host).'
132
+ : '@atlasauth/nextjs createMountHandler: set ATLAS_PROXY_SECRET (POST /v1/instance/proxy_secret).');
133
+ }
134
+ return new Response('Atlas is not configured', {
135
+ status: 503,
136
+ headers: { 'content-type': 'text/plain; charset=utf-8', 'cache-control': 'no-store' },
137
+ });
138
+ }
68
139
  const base = normaliseBase(options.basePath ?? '/atlas');
69
140
  const url = new URL(request.url);
70
141
  if (url.pathname !== base && !url.pathname.startsWith(`${base}/`)) {
@@ -73,18 +144,25 @@ function createMountHandler(options = {}) {
73
144
  const origin = new URL(/^https?:\/\//i.test(upstream) ? upstream : `https://${upstream}`).origin;
74
145
  const target = `${origin}${url.pathname}${url.search}`;
75
146
  const headers = new Headers();
147
+ const forwardHeader = options.forwardHeaders ?? forwardHeaderByDefault;
76
148
  request.headers.forEach((value, key) => {
77
- if (!dropRequestHeader(key.toLowerCase()))
78
- headers.set(key, value);
149
+ const name = key.toLowerCase();
150
+ if (neverForwardHeader(name) || !forwardHeader(name))
151
+ return;
152
+ const kept = name === 'cookie' ? filterCookies(value, options.forwardCookies ?? forwardCookieByDefault) : value;
153
+ if (kept !== undefined)
154
+ headers.set(key, kept);
79
155
  });
80
156
  headers.set('x-atlas-forwarded-host', request.headers.get('host') ?? url.host);
81
157
  headers.set('x-atlas-proxy-secret', proxySecret);
82
- const ip = clientIp(request.headers);
158
+ const ip = clientIp(request, options);
83
159
  if (ip) {
84
160
  headers.set('x-atlas-client-ip', ip);
85
161
  headers.set('x-forwarded-for', ip);
86
162
  }
87
- headers.set('x-forwarded-proto', request.headers.get('x-forwarded-proto')?.split(',')[0]?.trim() || url.protocol.replace(':', ''));
163
+ // Rightmost entry (the nearest proxy's), http or https only: a browser-sent value cannot downgrade the scheme.
164
+ const proto = request.headers.get('x-forwarded-proto')?.split(',').pop()?.trim().toLowerCase();
165
+ headers.set('x-forwarded-proto', proto === 'http' || proto === 'https' ? proto : url.protocol.replace(':', ''));
88
166
  const method = request.method.toUpperCase();
89
167
  const hasBody = method !== 'GET' && method !== 'HEAD' && request.body !== null;
90
168
  const res = await (options.fetchImpl ?? fetch)(target, {
package/dist/mount.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"mount.js","sourceRoot":"","sources":["../src/mount.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;AAiEH,gDAiDC;AASD,kDAcC;AArID,SAAS,OAAO;IACd,OAAQ,UAA0C,CAAC,OAAO,EAAE,GA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CAAC;QACrI,CAAC;KACF,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlasauth/nextjs",
3
- "version": "0.9.0",
3
+ "version": "0.11.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {
@@ -19,7 +19,7 @@
19
19
  "./package.json": "./package.json"
20
20
  },
21
21
  "dependencies": {
22
- "@atlasauth/backend": "0.35.0"
22
+ "@atlasauth/backend": "0.37.0"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "next": ">=13.4"