Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
fix(security): override geoip-country's ip-address to 10.7.3 in apps/api (#5007)
Gergő Móricz27220e882f88
diff --git a/apps/api/audit-ci.jsonc b/apps/api/audit-ci.jsoncindex 12bc3c9c0..2236e220e 100644--- a/apps/api/audit-ci.jsonc+++ b/apps/api/audit-ci.jsonc@@ -2,33 +2,12 @@"$schema": "https://github.com/IBM/audit-ci/raw/main/docs/schema.json","low": true,"allowlist": [- // GHSA-v2v4-37r5-5v8g / GHSA-mwp4-54f8-5fhr / GHSA-rpw4-54j3-4h4q /- // GHSA-j6r3-76f7-8jcv / GHSA-h3mg-xc3c-68pw (ip-address):- // [email protected] requires ip-address@^6.4.0; ip-address 6.4.0 is the- // latest 6.x release (no patch exists in the 6.x line). A cross-major- // override to 10.x would break geoip-country's API surface. Our SSRF- // protection is handled by ipaddr.js, not ip-address, so the isLinkLocal()- // inaccuracy in ip-address is not reachable through security-sensitive paths.- // Do not override across majors without compatibility approval.- // Owner: team-engineering-reviewers. Tracking: create internal ticket.- // Expires: 2026-12-29.- "GHSA-v2v4-37r5-5v8g",- "GHSA-mwp4-54f8-5fhr",- "GHSA-rpw4-54j3-4h4q",- "GHSA-j6r3-76f7-8jcv",- "GHSA-h3mg-xc3c-68pw",// GHSA-vfj7-8cjw-p6xm (braces):// Latest published braces is 3.0.3; advisory range is <=3.0.3 and// no 3.0.4+ exists on npm. Same-major knip 5.x still resolves// 3.0.3 via fast-glob/micromatch. Cannot override to a// non-existent version. Owner: team-engineering-reviewers.// Tracking: create internal ticket. Expires: 2026-10-17.- "GHSA-vfj7-8cjw-p6xm",- // GHSA-hp3w-g68c-fv3c (sprintf-js):- // Advisory asks for >=1.1.4; latest published sprintf-js is- // 1.1.3. Cannot override to a non-existent version.- // Owner: team-engineering-reviewers. Tracking: create internal ticket.- // Expires: 2026-10-20.- "GHSA-hp3w-g68c-fv3c"+ "GHSA-vfj7-8cjw-p6xm"]}diff --git a/apps/api/pnpm-lock.yaml b/apps/api/pnpm-lock.yamlindex 55fdd6535..0fa13f848 100644--- a/apps/api/pnpm-lock.yaml+++ b/apps/api/pnpm-lock.yaml@@ -51,6 +51,7 @@ overrides:'@opentelemetry/core@<2.9.0': 2.9.0'@opentelemetry/resources@<2.9.0': 2.9.0'@opentelemetry/sdk-metrics@<2.9.0': 2.9.0+ geoip-country>ip-address: 10.7.3patchedDependencies:[email protected]: cf2058381802eaf328e1cb26b185762ba41e2157a5545e7ed9bba56b7de0c49b@@ -3229,9 +3230,9 @@ packages:resolution: {integrity: sha512-UxC0Yv1Y4WRJiGQxQkP0hfdL0/5/6YvdfOOClRgJ0qppSarkhneSa6UvkMkms0AkdGimSH3Ikqm+6mkMmX7vGA==}engines: {node: '>=12.22.0'}- resolution: {integrity: sha512-c5uxc2WUTuRBVHT/6r4m7HIr/DfV0bF6DvLH3iZGSK8wp8iMwwZSgIq2do0asFf8q9ECug0SE+6+1ACMe4sorA==}- engines: {node: '>= 0.10'}+ resolution: {integrity: sha512-A1kdq/tSb5QjvKvAMgIoEvDBIgL7qaqVP/jkvSwYYRZ9iEzvPpopxp2wQfu3SuZRHtpHNxMn8Fs0bS+gf5Xmwg==}+ engines: {node: '>= 12'}resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==}@@ -3325,9 +3326,6 @@ packages:resolution: {integrity: sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA==}hasBin: true- resolution: {integrity: sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==}-resolution: {integrity: sha512-ECi4Fi2f7BdJtUKTflYRTiaMxIB0O6zfR1fX0GXpUrf6flp8QIYn1UT20YQqdSOfk2dfkCwS8LAFoJDEppNK5Q==}engines: {node: ^20.19.0 || ^22.13.0 || >=24.0.0}@@ -3493,24 +3491,9 @@ packages:resolution: {integrity: sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==}- resolution: {integrity: sha512-yaRZoAV3Xq28F1iafWN1+a0rflOej93l1DQUejs3SZ41h2O9UJBoS9aueGjPDgAl4B6tPC0NuuchLKaDQQ3Isg==}-resolution: {integrity: sha512-chi4NHZlZqZD18a0imDHnZPrDeBbTtVN7GXMwuGdRH9qotxAjYs3aVLKc7zNOG9eddR5Ksd8rvFEBc9SsggPpg==}- resolution: {integrity: sha512-iykTDTb7PK33HSQmKy34zv+hh4WEu7WonJPXQcgODzUbbtradtNs8RsD/GI7XV++60KaKR1xhW56N4ISqHesfQ==}-- resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}-- resolution: {integrity: sha512-sW73O6S8+Tg66eY56DBk85aQzzUJDtpoXFBgELMd5P/SotAguo+1kYO6RuYgXxA4HJH3LFTFPASX6ET6bjfriw==}-- resolution: {integrity: sha512-eWsgQW89IewS95ZOcr15HHCX6FVDxq3f2PNUIng3fyzsPev9imFQxIYdFZ6crl8L56UR6ZlGDLcEb3RZsCSSqw==}-resolution: {integrity: sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw==}@@ -4231,9 +4214,6 @@ packages:resolution: {integrity: sha512-wD2AeVmxXRBoX44wAycgjVpMhvbwdI2aZjCkvfNcH1YqHQvJVa1duWc73OyVGJUc05fhFaTZeQ/PYsrmyH0JVA==}- resolution: {integrity: sha512-VE0SOVEHCk7Qc8ulkWw3ntAzXuqf7S2lvwQaDLRnUeIEaKNQJzV6BwmLKhOqT61aGhfUMrXeaBk+oDGCzvhcug==}-resolution: {integrity: sha512-FUTYXpLroqytNKWIfHzlDWoy9E4tmBB/RklNMy6w3VJs+/XEYAHgbiylg4SS43iOk/9bM0BlJ2EDpFAGT66IoQ==}engines: {node: '>=4'}@@ -7089,7 +7069,7 @@ snapshots:dependencies:async: 2.6.4countries-list: 3.1.1- ip-address: 6.4.0+ ip-address: 10.7.3yauzl: 3.4.0@@ -7347,15 +7327,7 @@ snapshots:transitivePeerDependencies:- supports-color- dependencies:- jsbn: 1.1.0- lodash.find: 4.6.0- lodash.max: 4.0.1- lodash.merge: 4.6.2- lodash.padstart: 4.6.1- lodash.repeat: 4.1.0- sprintf-js: 1.1.2+ [email protected]: {}@@ -7423,8 +7395,6 @@ snapshots:dependencies:argparse: 2.0.1- [email protected]: {}-[email protected](@noble/[email protected]):dependencies:'@asamuzakjp/css-color': 5.1.11@@ -7588,18 +7558,8 @@ snapshots:- [email protected]: {}-- [email protected]: {}-- [email protected]: {}-- [email protected]: {}-- [email protected]: {}-@@ -8329,8 +8289,6 @@ snapshots:dependencies:through: 2.3.8- [email protected]: {}-dependencies:bindings: 1.5.0diff --git a/apps/api/pnpm-workspace.yaml b/apps/api/pnpm-workspace.yamlindex b1ff50b09..3969c4762 100644--- a/apps/api/pnpm-workspace.yaml+++ b/apps/api/pnpm-workspace.yaml@@ -79,6 +79,10 @@ overrides:"@opentelemetry/core@<2.9.0": "2.9.0""@opentelemetry/resources@<2.9.0": "2.9.0""@opentelemetry/sdk-metrics@<2.9.0": "2.9.0"+ # GHSA-v2v4-37r5-5v8g / GHSA-mwp4-54f8-5fhr / GHSA-rpw4-54j3-4h4q /+ # GHSA-j6r3-76f7-8jcv / GHSA-h3mg-xc3c-68pw: geoip-country@5 still asks for+ # ip-address@^6, but only its updatedb script loads it; lookup() never does.+ "geoip-country>ip-address": "10.7.3"patchedDependencies:"[email protected]": "patches/[email protected]"allowBuilds: