Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

fix(security): patch npm audit advisories for api and test-site (#3522)

claude[bot]7368c3c4f595
diff --git a/apps/api/audit-ci.jsonc b/apps/api/audit-ci.jsonc
index fec8e6004..23e8a890c 100644
--- a/apps/api/audit-ci.jsonc
+++ b/apps/api/audit-ci.jsonc
@@ -2,7 +2,11 @@
"$schema": "https://github.com/IBM/audit-ci/raw/main/docs/schema.json",
"low": true,
"allowlist": [
- "GHSA-w5hq-g745-h8pq",
+ // GHSA-v2v4-37r5-5v8g (ip-address XSS in Address6 HTML-emitting methods):
+ // geoip-country pins ip-address@^6.4.0; fix requires ip-address>=10.1.1 (major
+ // version jump). The vulnerable methods (group/link/spanAll) are HTML-only surfaces
+ // unused by geoip-country and unexploitable in this server-side context.
+ // Blocked until geoip-country ships a dependency on ip-address>=10.1.1.
"GHSA-v2v4-37r5-5v8g"
]
}
diff --git a/apps/api/package.json b/apps/api/package.json
index cbfd9cadb..620ccd0c7 100644
--- a/apps/api/package.json
+++ b/apps/api/package.json
@@ -124,7 +124,7 @@
"joplin-turndown-plugin-gfm": "^1.0.12",
"jsdom": "^26.0.0",
"koffi": "^2.9.0",
- "langsmith": "^0.5.19",
+ "langsmith": "^0.6.0",
"lodash": "^4.18.0",
"marked": "^14.1.2",
"multer": "^2.1.1",
@@ -143,12 +143,12 @@
"response-time": "^2.3.4",
"robots-parser": "^3.0.1",
"stripe": "^16.1.0",
- "systeminformation": "^5.31.0",
+ "systeminformation": "^5.31.6",
"tldts": "^6.1.75",
"tough-cookie": "^4.1.4",
"turndown": "^7.1.3",
"undici": "7.24.1",
- "uuid": "^13.0.0",
+ "uuid": "^13.0.1",
"winston": "^3.14.2",
"ws": "^8.18.0",
"xml2js": "^0.6.2",
diff --git a/apps/api/pnpm-lock.yaml b/apps/api/pnpm-lock.yaml
index 96f1d89a8..01e1b4f8e 100644
--- a/apps/api/pnpm-lock.yaml
+++ b/apps/api/pnpm-lock.yaml
@@ -183,8 +183,8 @@ importers:
specifier: ^2.9.0
version: 2.9.0
langsmith:
- specifier: ^0.5.19
+ specifier: ^0.6.0
lodash:
specifier: ^4.18.0
version: 4.18.1
@@ -240,8 +240,8 @@ importers:
specifier: ^16.1.0
version: 16.1.0
systeminformation:
- specifier: ^5.31.0
- version: 5.31.1
+ specifier: ^5.31.6
+ version: 5.31.6
tldts:
specifier: ^6.1.75
version: 6.1.75
@@ -255,8 +255,8 @@ importers:
specifier: 7.24.1
version: 7.24.1
uuid:
- specifier: ^13.0.0
- version: 13.0.0
+ specifier: ^13.0.1
+ version: 13.0.2
winston:
specifier: ^3.14.2
version: 3.14.2
@@ -4466,8 +4466,8 @@ packages:
resolution: {integrity: sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==}
- resolution: {integrity: sha512-ULhLM8RswvQDXufLtNtvclHrWCBx8Cb5UPI6lAZC+8Dq59iHsVPz/3Ac9khWNm1VIvChRsuykixD/WrmzuuA3Q==}
+ resolution: {integrity: sha512-pXrQ4/4myQvjFFOAUmt5pWRrLEZR20gzIJD7MNdUH+5/S5nLI4ZRBo/SYKC6coaYj9pYTfQdBIzcs+3kfJ5uDA==}
peerDependencies:
'@opentelemetry/api': '*'
'@opentelemetry/exporter-trace-otlp-proto': '*'
@@ -5494,8 +5494,8 @@ packages:
resolution: {integrity: sha512-MeQTA1r0litLUf0Rp/iisCaL8761lKAZHaimlbGK4j0HysC4PLfqygQj9srcs0m2RdtDYnF8UuYyKpbjHYp7Jw==}
engines: {node: ^14.18.0 || >=16.0.0}
- resolution: {integrity: sha512-6pRwxoGeV/roJYpsfcP6tN9mep6pPeCtXbUOCdVa0nme05Brwcwdge/fVNhIZn2wuUitAKZm4IYa7QjnRIa9zA==}
+ resolution: {integrity: sha512-Uv2b2uGGM6ns+26czgW2cYRabYdnswM0ddSOOlryHOaelzsmDSet1iM/NT7VOYxW8x/BW+HkY+b1Ve2pLTSGSA==}
engines: {node: '>=8.0.0'}
os: [darwin, linux, win32, freebsd, openbsd, netbsd, sunos, android]
hasBin: true
@@ -5715,13 +5715,8 @@ packages:
resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==}
engines: {node: '>= 0.4.0'}
- resolution: {integrity: sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==}
- deprecated: uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).
- hasBin: true
-
- resolution: {integrity: sha512-XQegIaBTVUjSHliKqcnFqYypAd4S+WCYt5NIeRs6w/UAry7z8Y9j5ZwRRL4kzq9U3sD6v+85er9FvkEaBpji2w==}
+ resolution: {integrity: sha512-vzi9uRZ926x4XV73S/4qQaTwPXM2JBj6/6lI/byHH1jOpCzb0zDbfytgA9LcN/hzb2l7WQSQnxITOVx5un/wGw==}
hasBin: true
@@ -10554,10 +10549,9 @@ snapshots:
dependencies:
p-queue: 6.6.2
- uuid: 10.0.0
optionalDependencies:
'@opentelemetry/api': 1.9.0
'@opentelemetry/sdk-trace-base': 2.2.0(@opentelemetry/[email protected])
@@ -11549,7 +11543,7 @@ snapshots:
dependencies:
'@pkgr/core': 0.2.9
dependencies:
@@ -11764,9 +11758,7 @@ snapshots:
-
diff --git a/apps/test-site/package.json b/apps/test-site/package.json
index df57fde0f..75741efa8 100644
--- a/apps/test-site/package.json
+++ b/apps/test-site/package.json
@@ -13,7 +13,7 @@
"@astrojs/mdx": "^5.0.3",
"@astrojs/rss": "^4.0.18",
"@astrojs/sitemap": "^3.7.2",
- "astro": "^6.1.8",
+ "astro": "^6.1.10",
"sharp": "^0.34.5"
},
"devDependencies": {
diff --git a/apps/test-site/pnpm-lock.yaml b/apps/test-site/pnpm-lock.yaml
index c37ae930c..5c40c24a3 100644
--- a/apps/test-site/pnpm-lock.yaml
+++ b/apps/test-site/pnpm-lock.yaml
@@ -21,7 +21,7 @@ importers:
dependencies:
'@astrojs/mdx':
specifier: ^5.0.3
'@astrojs/rss':
specifier: ^4.0.18
version: 4.0.18
@@ -29,8 +29,8 @@ importers:
specifier: ^3.7.2
version: 3.7.2
astro:
- specifier: ^6.1.8
+ specifier: ^6.1.10
+ version: 6.3.1(@types/[email protected])([email protected])
sharp:
specifier: ^0.34.5
version: 0.34.5
@@ -47,15 +47,21 @@ packages:
'@astrojs/[email protected]':
resolution: {integrity: sha512-f3FN83d2G/v32ipNClRKgYv30onQlMZX1vCeZMjPsMMPl1mDpmbl0+N5BYo4S/ofzqJyS5hvwacEo0CCVDn/Qg==}
- '@astrojs/[email protected]':
- resolution: {integrity: sha512-z97oYbdebO5aoWzuJ/8q5hLK232+17KcLZ7cJ8BCWk6+qNzVxn/gftC0KzMBUTD8WAaBkPpNSQK6PXLnNrZ0CA==}
+ '@astrojs/[email protected]':
+ resolution: {integrity: sha512-eouss7G8ygdZqHuke033VMcVw5HTZUu+PXd/h06DGDUg/jt5btPYPqh66ENWw/mU78rBrf/oeC4oqoBwMtDMNA==}
'@astrojs/[email protected]':
resolution: {integrity: sha512-J56GrhEiV+4dmrGLPNOl2pZjpHXAndWVyiVDYGDuw6MWKpBSEMLdFxHzeM/6sqaknw9M+HFfHZAcvi3OfT3D/w==}
+ '@astrojs/[email protected]':
+ resolution: {integrity: sha512-GdYkzR26re8izmyYlBqf4z2s7zNngmWLFuxw0UKiPNqHraZGS6GKWIwSHgS22RDlu2ePFJ8bzmpBcUszut/SDg==}
+
'@astrojs/[email protected]':
resolution: {integrity: sha512-P+HnCsu2js3BoTc8kFmu+E9gOcFeMdPris75g+Zl4sY8+bBRbSQV6xzcBDbZ27eE7yBGEGQoqjpChx+KJYIPYQ==}
+ '@astrojs/[email protected]':
+ resolution: {integrity: sha512-C6e9BnLGlbdv6bV8MYGeHpHxsUHrCrB4OuRLqi5LI7oiBVcBcqfUN06zpwFQdHgV48QCCrMmLpyqBr7VqC+swA==}
+
'@astrojs/[email protected]':
resolution: {integrity: sha512-zv/OlM5sZZvyjHqJjR3FjJvoCgbxdqj3t4jO/gSEUNcck3BjdtMgNQw8UgPfAGe4yySdG4vjZ3OC5wUxhu7ckg==}
engines: {node: '>=22.12.0'}
@@ -72,8 +78,8 @@ packages:
'@astrojs/[email protected]':
resolution: {integrity: sha512-PqkzkcZTb5ICiyIR8VoKbIAP/laNRXi5tw616N1Ckk+40oNB8Can1AzVV56lrbC5GKSZFCyJYUVYqVivMisvpA==}
- '@astrojs/[email protected]':
- resolution: {integrity: sha512-7fcIxXS9J4ls5tr8b3ww9rbAIz2+HrhNJYZdkAhhB4za/I5IZ/60g+Bs8q7zwG0tOIZfNB4JWhVJ1Qkl/OrNCw==}
+ '@astrojs/[email protected]':
+ resolution: {integrity: sha512-j8DNruA8ors99Al39RYZPJK4DC1bKkoNm93mAMuBhY9TCNC4R8n1q7ovFnJ5qhGh5Lsh7pa1gpQVpYpsJPeTHQ==}
engines: {node: 18.20.8 || ^20.3.0 || >=22.0.0}
@@ -675,8 +681,8 @@ packages:
resolution: {integrity: sha512-LElXdjswlqjWrPpJFg1Fx4wpkOCxj1TDHlSV4PlaRxHGWko024xICaa97ZkMfs6DRKlCguiAI+rbXv5GWwXIkg==}
hasBin: true
- resolution: {integrity: sha512-6fT9M12U3fpi13DiPavNKDIoBflASTSxmKTEe+zXhWtlebQuOqfOnIrMWyRmlXp+mgDsojmw+fVFG9LUTzKSog==}
+ resolution: {integrity: sha512-atz6dmkE3Gu24bDgb7g2RE/BYnKqPYIHd6hTUM1UXvu/i7qNZOKLAqEHvgYpv9PQVcgWsXpk4/OOXZ0E/FzvSQ==}
engines: {node: '>=22.12.0', npm: '>=9.6.5', pnpm: '>=7.1.0'}
hasBin: true
@@ -796,9 +802,6 @@ packages:
resolution: {integrity: sha512-qejHi7bcSD4hQAZE0tNAawRK1ZtafHDmMTMkrrIGgSLl7hTnQHmKCeB45xAcbfTqK2zowkM3j3bHt/4b/ARbYQ==}
engines: {node: '>=0.3.1'}
- resolution: {integrity: sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==}
-
resolution: {integrity: sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==}
@@ -913,6 +916,10 @@ packages:
engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
os: [darwin]
+ resolution: {integrity: sha512-7nF7C9fIPFEMHgEMEfgIlO9wDdZ8CyHw27rWciFZfHvHDReIiPhsYuzPRXsfvBCqFy1l8RRyyWV7QLM+ZhUJsQ==}
+ engines: {node: '>=20.20.0'}
+
resolution: {integrity: sha512-IaOQ9puYtjrkq7Y0Ygl9KDZnrf/aiUJYUpVf89y8kyaxbRG7Y1SrX/jaumrv81vc61+kiMempujsM3Yw7w5qcw==}
@@ -1009,11 +1016,14 @@ packages:
resolution: {integrity: sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==}
hasBin: true
+ resolution: {integrity: sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==}
+
resolution: {integrity: sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==}
- resolution: {integrity: sha512-ESL2CrkS/2wTPfuend7Zhkzo2u0daGJ/A2VucJOgQ/C48S/zB8MMeMHSGKYpXhIjbPxfuezITkaBH1wqv00DDQ==}
+ resolution: {integrity: sha512-Gf/KoL3C/MlI7Bt0PGI9I+TeTC/I6r/csU58N4BSNc4lppLBeKsOdFYkK+dX0ABDUMJNfCHTyPpzwwO21Awd3A==}
engines: {node: 20 || >=22}
@@ -1360,6 +1370,9 @@ packages:
resolution: {integrity: sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==}
+ resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==}
+
resolution: {integrity: sha512-hv9woG7Fy0M9IlRQloq/N6atV82NxLGveq+3H2WOi79dtIYWN8OaxogDm77f8YnVXJL2VD3bbqowu5E3EMhBYA==}
@@ -1467,24 +1480,9 @@ packages:
resolution: {integrity: sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==}
- resolution: {integrity: sha512-ks6Vjr/jEw0P1gmOVwutM3B7fWxoWBL2KRDb1JfqGVawBmO5UsvmWOQFGHBPl5yxYz4eERr19E6L7NMv+Fej4w==}
- engines: {node: ^18 || >=20}
- hasBin: true
- peerDependencies:
- typescript: ^5.0.0
- peerDependenciesMeta:
- typescript:
- optional: true
-
resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}
- resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==}
- engines: {node: '>=14.17'}
- hasBin: true
-
resolution: {integrity: sha512-yDJTmhydvl5lJzBmy/hyOAA0d+aqCBuwl818haVdYCRrWV84o7YyeVm4QlVHStqNrrJSTb6jKuFAVqAFsr+K3Q==}
@@ -1533,8 +1531,8 @@ packages:
resolution: {integrity: sha512-m+vIdyeCOpdr/QeQCu2EzxX/ohgS8KbnPDgFni4dQsfSCtpz8UqDyY5GjRru8PDKuYn7Fq19j1CQ+nJSsGKOzg==}
- resolution: {integrity: sha512-fHK0yNg38tBiJKp/Vgsq4j0JEsCmgqH58HAn707S7zGkArbZsVr/CwINoi+nh3h98BRCwKvx1K3Xg9u3VV83sw==}
+ resolution: {integrity: sha512-0i3iqvRfx29hkNntHyQvJTpf5W9dQ9ZadSoRU8+xVlhVtT7jAX57fazYO9EHvcRCfBCyi5YRya7XCDOsbTgkPg==}
peerDependencies:
'@azure/app-configuration': ^1.8.0
'@azure/cosmos': ^4.2.0
@@ -1684,12 +1682,16 @@ snapshots:
'@astrojs/[email protected]': {}
- '@astrojs/[email protected]': {}
+ '@astrojs/[email protected]': {}
'@astrojs/[email protected]':
dependencies:
picomatch: 4.0.4
+ '@astrojs/[email protected]':
+ dependencies:
+ picomatch: 4.0.4
+
'@astrojs/[email protected]':
dependencies:
'@astrojs/internal-helpers': 0.8.0
@@ -1716,12 +1718,38 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ '@astrojs/[email protected]':
+ dependencies:
+ '@astrojs/internal-helpers': 0.9.0
+ '@astrojs/prism': 4.0.1
+ github-slugger: 2.0.0
+ hast-util-from-html: 2.0.3
+ hast-util-to-text: 4.0.2
+ js-yaml: 4.1.1
+ mdast-util-definitions: 6.0.0
+ rehype-raw: 7.0.0
+ rehype-stringify: 10.0.1
+ remark-gfm: 4.0.1
+ remark-parse: 11.0.0
+ remark-rehype: 11.1.2
+ remark-smartypants: 3.0.2
+ retext-smartypants: 6.2.0
+ shiki: 4.0.2
+ smol-toml: 1.6.1
+ unified: 11.0.5
+ unist-util-remove-position: 5.0.0
+ unist-util-visit: 5.1.0
+ unist-util-visit-parents: 6.0.2
+ vfile: 6.0.3
+ transitivePeerDependencies:
+ - supports-color
+
dependencies:
'@astrojs/markdown-remark': 7.1.0
'@mdx-js/mdx': 3.1.1
acorn: 8.16.0
+ astro: 6.3.1(@types/[email protected])([email protected])
es-module-lexer: 2.0.0
estree-util-visit: 2.0.0
hast-util-to-html: 9.0.5
@@ -1751,10 +1779,9 @@ snapshots:
stream-replace-string: 2.0.0
zod: 4.3.6
- '@astrojs/[email protected]':
+ '@astrojs/[email protected]':
dependencies:
ci-info: 4.4.0
- dlv: 1.1.3
dset: 3.1.4
is-docker: 4.0.0
is-wsl: 3.1.1
@@ -2188,12 +2215,12 @@ snapshots:
dependencies:
- '@astrojs/compiler': 3.0.1
- '@astrojs/internal-helpers': 0.8.0
- '@astrojs/markdown-remark': 7.1.0
- '@astrojs/telemetry': 3.3.1
+ '@astrojs/compiler': 4.0.0
+ '@astrojs/internal-helpers': 0.9.0
+ '@astrojs/markdown-remark': 7.1.1
+ '@astrojs/telemetry': 3.3.2
'@capsizecss/unpack': 4.0.0
'@clack/prompts': 1.2.0
'@oslojs/encoding': 1.1.0
@@ -2211,10 +2238,12 @@ snapshots:
esbuild: 0.27.3
flattie: 1.1.1
fontace: 0.4.1
+ get-tsconfig: 5.0.0-beta.4
github-slugger: 2.0.0
html-escaper: 3.0.3
http-cache-semantics: 4.2.0
js-yaml: 4.1.1
+ jsonc-parser: 3.3.1
magic-string: 0.30.21
magicast: 0.5.2
mrmime: 2.0.1
@@ -2233,11 +2262,10 @@ snapshots:
tinyclip: 0.1.12
tinyexec: 1.1.1
tinyglobby: 0.2.15
- tsconfck: 3.1.6([email protected])
ultrahtml: 1.6.0
unifont: 0.7.4
unist-util-visit: 5.1.0
- unstorage: 1.17.4
+ unstorage: 1.17.5
vfile: 6.0.3
vite: 7.3.2(@types/[email protected])
vitefu: 1.1.2([email protected](@types/[email protected]))
@@ -2277,7 +2305,6 @@ snapshots:
- supports-color
- terser
- tsx
- - typescript
- uploadthing
- yaml
@@ -2369,8 +2396,6 @@ snapshots:
-
dependencies:
domelementtype: 2.3.0
@@ -2520,6 +2545,10 @@ snapshots:
optional: true
+ dependencies:
+ resolve-pkg-maps: 1.0.0
+
@@ -2701,9 +2730,11 @@ snapshots:
dependencies:
argparse: 2.0.1
+
dependencies:
@@ -3382,6 +3413,8 @@ snapshots:
mdast-util-to-markdown: 2.1.2
unified: 11.0.5
+
dependencies:
'@types/nlcst': 2.0.3
@@ -3553,16 +3586,9 @@ snapshots:
- optionalDependencies:
- typescript: 5.9.3
-
optional: true
- optional: true
-
@@ -3633,13 +3659,13 @@ snapshots:
unist-util-is: 6.0.1
unist-util-visit-parents: 6.0.2
dependencies:
anymatch: 3.1.3
chokidar: 5.0.0
destr: 2.0.5
h3: 1.15.9
- lru-cache: 11.2.6
+ lru-cache: 11.3.6
node-fetch-native: 1.6.7
ofetch: 1.5.1
ufo: 1.6.3