@solongate/proxy 0.2.8 → 0.2.9

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/dist/index.js CHANGED
@@ -456,6 +456,11 @@ const SSRF_IN_CMD = [
456
456
  /https?:\\/\\/10\\./, /https?:\\/\\/172\\.(1[6-9]|2\\d|3[01])\\./,
457
457
  /https?:\\/\\/192\\.168\\./, /https?:\\/\\/169\\.254\\./,
458
458
  /metadata\\.google\\.internal/i,
459
+ /\\b127\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\b/, /\\b0\\.0\\.0\\.0\\b/,
460
+ /\\b10\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\b/,
461
+ /\\b172\\.(1[6-9]|2\\d|3[01])\\.\\d{1,3}\\.\\d{1,3}\\b/,
462
+ /\\b192\\.168\\.\\d{1,3}\\.\\d{1,3}\\b/,
463
+ /\\b169\\.254\\.\\d{1,3}\\.\\d{1,3}\\b/,
459
464
  ];
460
465
  const SQL_INJECTION = [
461
466
  /'\\s{0,20}(OR|AND)\\s{0,20}'.{0,200}'/i,
package/dist/init.js CHANGED
@@ -175,6 +175,11 @@ const SSRF_IN_CMD = [
175
175
  /https?:\\/\\/10\\./, /https?:\\/\\/172\\.(1[6-9]|2\\d|3[01])\\./,
176
176
  /https?:\\/\\/192\\.168\\./, /https?:\\/\\/169\\.254\\./,
177
177
  /metadata\\.google\\.internal/i,
178
+ /\\b127\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\b/, /\\b0\\.0\\.0\\.0\\b/,
179
+ /\\b10\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\b/,
180
+ /\\b172\\.(1[6-9]|2\\d|3[01])\\.\\d{1,3}\\.\\d{1,3}\\b/,
181
+ /\\b192\\.168\\.\\d{1,3}\\.\\d{1,3}\\b/,
182
+ /\\b169\\.254\\.\\d{1,3}\\.\\d{1,3}\\b/,
178
183
  ];
179
184
  const SQL_INJECTION = [
180
185
  /'\\s{0,20}(OR|AND)\\s{0,20}'.{0,200}'/i,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solongate/proxy",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "MCP security proxy \u00e2\u20ac\u201d protect any MCP server with policies, input validation, rate limiting, and audit logging. Zero code changes required.",
5
5
  "type": "module",
6
6
  "bin": {