+14
-0
@@ -23,2 +23,15 @@ #!/usr/bin/env node | ||
| function ensureExecutable(binary) { | ||
| if (process.platform === "win32") { | ||
| return; | ||
| } | ||
| const mode = fs.statSync(binary).mode; | ||
| if ((mode & 0o111) !== 0) { | ||
| return; | ||
| } | ||
| fs.chmodSync(binary, mode | 0o755); | ||
| } | ||
| function getBinaryPath() { | ||
@@ -98,2 +111,3 @@ const platform = os.platform(); | ||
| try { | ||
| ensureExecutable(binary); | ||
| execFileSync(binary, args, { | ||
@@ -100,0 +114,0 @@ stdio: "inherit", |
+7
-7
| { | ||
| "name": "knowns", | ||
| "version": "0.15.1", | ||
| "version": "0.15.2", | ||
| "description": "AI-native project management CLI", | ||
@@ -11,8 +11,8 @@ "bin": { | ||
| "optionalDependencies": { | ||
| "@knowns/darwin-arm64": "0.15.1", | ||
| "@knowns/darwin-x64": "0.15.1", | ||
| "@knowns/linux-arm64": "0.15.1", | ||
| "@knowns/linux-x64": "0.15.1", | ||
| "@knowns/win-arm64": "0.15.1", | ||
| "@knowns/win-x64": "0.15.1" | ||
| "@knowns/darwin-arm64": "0.15.2", | ||
| "@knowns/darwin-x64": "0.15.2", | ||
| "@knowns/linux-arm64": "0.15.2", | ||
| "@knowns/linux-x64": "0.15.2", | ||
| "@knowns/win-arm64": "0.15.2", | ||
| "@knowns/win-x64": "0.15.2" | ||
| }, | ||
@@ -19,0 +19,0 @@ "license": "MIT", |
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
16554
1.52%101
12.22%0
-100%