@solongate/proxy 0.83.49 → 0.83.51
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/hooks/guard.bundled.mjs +2 -2
- package/hooks/guard.mjs +2 -2
- package/package.json +7 -7
package/hooks/guard.bundled.mjs
CHANGED
|
@@ -6579,7 +6579,7 @@ function sweepLegacyFlagDir() {
|
|
|
6579
6579
|
} catch {
|
|
6580
6580
|
}
|
|
6581
6581
|
}
|
|
6582
|
-
var HOOK_VERSION =
|
|
6582
|
+
var HOOK_VERSION = 89;
|
|
6583
6583
|
var SG_REFRESH_ARG = process.argv.includes("--sg-refresh-policy");
|
|
6584
6584
|
var SG_STDIN = SG_REFRESH_ARG ? "" : (() => {
|
|
6585
6585
|
try {
|
|
@@ -7791,7 +7791,7 @@ function tamperCheck(toolName, args) {
|
|
|
7791
7791
|
}
|
|
7792
7792
|
var DLP_PATTERNS = [
|
|
7793
7793
|
{ name: "AWS access key", re: /AKIA[0-9A-Z]{16}/ },
|
|
7794
|
-
{ name: "Private key block", re: /-----BEGIN [A-Z ]*PRIVATE KEY-----/ },
|
|
7794
|
+
{ name: "Private key block", re: /-----BEGIN [A-Z ]*PRIVATE KEY-----[\s\S]*?-----END [A-Z ]*PRIVATE KEY-----|-----BEGIN [A-Z ]*PRIVATE KEY-----/ },
|
|
7795
7795
|
{ name: "Anthropic key", re: /sk-ant-[A-Za-z0-9_-]{20,}/ },
|
|
7796
7796
|
{ name: "OpenAI key", re: /sk-(proj-)?[A-Za-z0-9_-]{20,}/ },
|
|
7797
7797
|
{ name: "GitHub token", re: /gh[pousr]_[A-Za-z0-9]{20,}/ },
|
package/hooks/guard.mjs
CHANGED
|
@@ -82,7 +82,7 @@ import { createHash } from 'node:crypto';
|
|
|
82
82
|
// the installed hook self-updates when the cloud version is higher (see
|
|
83
83
|
// maybeSelfUpdate). This is what makes guard fixes propagate without a manual
|
|
84
84
|
// reinstall — the same trust model as the OPA WASM this hook already runs.
|
|
85
|
-
const HOOK_VERSION =
|
|
85
|
+
const HOOK_VERSION = 89;
|
|
86
86
|
|
|
87
87
|
// ── The Go guard, when there is one and it is the right one ──────────────────
|
|
88
88
|
//
|
|
@@ -1685,7 +1685,7 @@ function tamperCheck(toolName, args) {
|
|
|
1685
1685
|
// rules plus generic Bearer / secret-assignment catch-alls for the long tail.
|
|
1686
1686
|
const DLP_PATTERNS = [
|
|
1687
1687
|
{ name: 'AWS access key', re: /AKIA[0-9A-Z]{16}/ },
|
|
1688
|
-
{ name: 'Private key block', re: /-----BEGIN [A-Z ]*PRIVATE KEY-----/ },
|
|
1688
|
+
{ name: 'Private key block', re: /-----BEGIN [A-Z ]*PRIVATE KEY-----[\s\S]*?-----END [A-Z ]*PRIVATE KEY-----|-----BEGIN [A-Z ]*PRIVATE KEY-----/ },
|
|
1689
1689
|
{ name: 'Anthropic key', re: /sk-ant-[A-Za-z0-9_-]{20,}/ },
|
|
1690
1690
|
{ name: 'OpenAI key', re: /sk-(proj-)?[A-Za-z0-9_-]{20,}/ },
|
|
1691
1691
|
{ name: 'GitHub token', re: /gh[pousr]_[A-Za-z0-9]{20,}/ },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solongate/proxy",
|
|
3
|
-
"version": "0.83.
|
|
3
|
+
"version": "0.83.51",
|
|
4
4
|
"description": "AI tool security proxy: protect any AI tool server with customizable policies, path/command constraints, rate limiting, and audit logging. No code changes required.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -61,12 +61,12 @@
|
|
|
61
61
|
"node": ">=20.0.0"
|
|
62
62
|
},
|
|
63
63
|
"optionalDependencies": {
|
|
64
|
-
"@solongate/guard-linux-x64": "0.83.
|
|
65
|
-
"@solongate/guard-linux-arm64": "0.83.
|
|
66
|
-
"@solongate/guard-darwin-x64": "0.83.
|
|
67
|
-
"@solongate/guard-darwin-arm64": "0.83.
|
|
68
|
-
"@solongate/guard-win32-x64": "0.83.
|
|
69
|
-
"@solongate/guard-win32-arm64": "0.83.
|
|
64
|
+
"@solongate/guard-linux-x64": "0.83.51",
|
|
65
|
+
"@solongate/guard-linux-arm64": "0.83.51",
|
|
66
|
+
"@solongate/guard-darwin-x64": "0.83.51",
|
|
67
|
+
"@solongate/guard-darwin-arm64": "0.83.51",
|
|
68
|
+
"@solongate/guard-win32-x64": "0.83.51",
|
|
69
|
+
"@solongate/guard-win32-arm64": "0.83.51"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
72
|
"@modelcontextprotocol/sdk": "^1.26.0",
|