We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5c335b commit aea6485Copy full SHA for aea6485
lib/mcp/server.js
@@ -40,7 +40,11 @@ function detectSandbox() {
40
}
41
42
// Check if we're running with restricted permissions
43
- if (process.getuid && process.getuid() !== process.geteuid()) {
+ if (
44
+ typeof process.getuid === 'function' &&
45
+ typeof process.geteuid === 'function' &&
46
+ process.getuid() !== process.geteuid()
47
+ ) {
48
indicators.isSandboxed = true;
49
indicators.reasons.push('UID mismatch (setuid)');
50
0 commit comments