@solongate/proxy 0.15.2 → 0.15.3
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 +4 -1
- package/package.json +1 -1
package/hooks/guard.mjs
CHANGED
|
@@ -291,7 +291,10 @@ process.stdin.on('end', async () => {
|
|
|
291
291
|
|
|
292
292
|
// ── Self-protection: block access to hook files and settings ──
|
|
293
293
|
const allStrings = scanStrings(args).map(s => s.replace(/\\/g, '/').toLowerCase());
|
|
294
|
-
const protectedPaths = [
|
|
294
|
+
const protectedPaths = [
|
|
295
|
+
'.solongate', '.claude', '.cursor', '.gemini', '.antigravity', '.openclaw', '.perplexity',
|
|
296
|
+
'policy.json', '.mcp.json',
|
|
297
|
+
];
|
|
295
298
|
for (const s of allStrings) {
|
|
296
299
|
for (const p of protectedPaths) {
|
|
297
300
|
if (s.includes(p)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solongate/proxy",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.3",
|
|
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": {
|