pi-landstrip 0.15.3 → 0.15.5

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/index.ts CHANGED
@@ -113,7 +113,7 @@ const DEFAULT_CONFIG: SandboxConfig = {
113
113
  },
114
114
  filesystem: {
115
115
  denyRead: ['/Users', '/home'],
116
- allowRead: ['.', '~/.gitconfig', '/dev/null'],
116
+ allowRead: ['.', '~/.gitconfig', '~/.config/git/config', '/dev/null'],
117
117
  allowWrite: ['.', '/dev/null'],
118
118
  denyWrite: ['**/.env', '**/.env.*', '**/*.pem', '**/*.key'],
119
119
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-landstrip",
3
- "version": "0.15.3",
3
+ "version": "0.15.5",
4
4
  "description": "Landlock-based sandboxing for pi with interactive permission prompts",
5
5
  "keywords": [
6
6
  "landstrip",
package/sandbox.json CHANGED
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "filesystem": {
12
12
  "denyRead": ["/Users", "/home"],
13
- "allowRead": [".", "~/.gitconfig", "/dev/null"],
13
+ "allowRead": [".", "~/.gitconfig", "~/.config/git/config", "/dev/null"],
14
14
  "allowWrite": [".", "/dev/null"],
15
15
  "denyWrite": ["**/.env", "**/.env.*", "**/*.pem", "**/*.key"]
16
16
  }