@solongate/proxy 0.17.0 → 0.17.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/dist/index.js CHANGED
@@ -471,6 +471,7 @@ function unlockProtectedDirs() {
471
471
  if (process.platform === "win32") {
472
472
  execSync(`icacls "${fullDir}" /remove:d *S-1-1-0 /T /Q`, { stdio: "ignore" });
473
473
  execSync(`attrib -R /S /D "${fullDir}"`, { stdio: "ignore" });
474
+ execSync(`icacls "${fullDir}" /reset /T /Q`, { stdio: "ignore" });
474
475
  } else {
475
476
  try {
476
477
  execSync(`chattr -i -R "${fullDir}"`, { stdio: "ignore" });
@@ -543,7 +544,8 @@ function installHooks(selectedTools = []) {
543
544
  const fullDir = resolve2(dir);
544
545
  if (existsSync3(fullDir)) {
545
546
  try {
546
- execSync(`icacls "${fullDir}" /deny *S-1-1-0:(OI)(CI)(W,D) /T /Q`, { stdio: "ignore" });
547
+ execSync(`icacls "${fullDir}" /remove:d *S-1-1-0 /T /Q`, { stdio: "ignore" });
548
+ execSync(`icacls "${fullDir}" /deny *S-1-1-0:(OI)(CI)(W,D,DC,WDAC,WA,AD) /T /Q`, { stdio: "ignore" });
547
549
  execSync(`attrib +R /S /D "${fullDir}"`, { stdio: "ignore" });
548
550
  } catch {
549
551
  }
package/dist/init.js CHANGED
@@ -178,6 +178,7 @@ function unlockProtectedDirs() {
178
178
  if (process.platform === "win32") {
179
179
  execSync(`icacls "${fullDir}" /remove:d *S-1-1-0 /T /Q`, { stdio: "ignore" });
180
180
  execSync(`attrib -R /S /D "${fullDir}"`, { stdio: "ignore" });
181
+ execSync(`icacls "${fullDir}" /reset /T /Q`, { stdio: "ignore" });
181
182
  } else {
182
183
  try {
183
184
  execSync(`chattr -i -R "${fullDir}"`, { stdio: "ignore" });
@@ -250,7 +251,8 @@ function installHooks(selectedTools = []) {
250
251
  const fullDir = resolve(dir);
251
252
  if (existsSync(fullDir)) {
252
253
  try {
253
- execSync(`icacls "${fullDir}" /deny *S-1-1-0:(OI)(CI)(W,D) /T /Q`, { stdio: "ignore" });
254
+ execSync(`icacls "${fullDir}" /remove:d *S-1-1-0 /T /Q`, { stdio: "ignore" });
255
+ execSync(`icacls "${fullDir}" /deny *S-1-1-0:(OI)(CI)(W,D,DC,WDAC,WA,AD) /T /Q`, { stdio: "ignore" });
254
256
  execSync(`attrib +R /S /D "${fullDir}"`, { stdio: "ignore" });
255
257
  } catch {
256
258
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solongate/proxy",
3
- "version": "0.17.0",
3
+ "version": "0.17.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": {