@solongate/proxy 0.12.0 → 0.12.1
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.mjs +5 -5
- package/package.json +1 -1
package/hooks/guard.mjs
CHANGED
|
@@ -46,7 +46,7 @@ const PI_CATEGORIES = [
|
|
|
46
46
|
patterns: [
|
|
47
47
|
/\bignore\s+(all\s+)?(previous|prior|above|earlier)\s+(instructions?|prompts?|rules?|directives?)\b/i,
|
|
48
48
|
/\bdisregard\s+(all\s+)?(previous|prior|above|earlier|your)\s+(instructions?|prompts?|rules?|guidelines?)\b/i,
|
|
49
|
-
/\bforget\s+(all\s+)?(your|the|previous|prior)\
|
|
49
|
+
/\bforget\s+(all\s+|everything\s+)?(your|the|previous|prior|above|earlier)\b/i,
|
|
50
50
|
/\boverride\s+(the\s+)?(system|previous|current)\s+(prompt|instructions?|rules?|settings?)\b/i,
|
|
51
51
|
/\bdo\s+not\s+follow\s+(your|the|any)\s+(instructions?|rules?|guidelines?)\b/i,
|
|
52
52
|
/\bcancel\s+(all\s+)?(prior|previous)\s+(directives?|instructions?)\b/i,
|
|
@@ -96,10 +96,10 @@ const PI_CATEGORIES = [
|
|
|
96
96
|
{
|
|
97
97
|
name: 'multi_language', weight: 0.7,
|
|
98
98
|
patterns: [
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
99
|
+
/ignor(iere|a|e[zs]?)\s+(alle|todas?|toutes?|tüm|все)/iu,
|
|
100
|
+
/игнорируйте/iu, /yoksay/iu,
|
|
101
|
+
/vorherigen?\s+Anweisungen/iu, /instrucciones\s+anteriores/iu,
|
|
102
|
+
/instructions?\s+pr[eé]c[eé]dentes?/iu, /önceki\s+talimatlar/iu,
|
|
103
103
|
],
|
|
104
104
|
},
|
|
105
105
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solongate/proxy",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.1",
|
|
4
4
|
"description": "MCP security proxy — protect any MCP server with customizable policies, path/command constraints, rate limiting, and audit logging. Zero code changes required.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|