@avanio/os-api-linux-utils
Advanced tools
+1
-1
| { | ||
| "name": "@avanio/os-api-linux-utils", | ||
| "version": "0.0.1", | ||
| "version": "0.0.2", | ||
| "description": "", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
+2
-2
@@ -20,4 +20,4 @@ # @avanio/os-api-linux-utils | ||
| // write file | ||
| writeFile('/path/to/file', 'data', {sudo: true}); | ||
| await writeFilePromise('/path/to/file', 'data', {sudo: true}); | ||
| writeFile('/path/to/file', Buffer.from('data'), {sudo: true}); | ||
| await writeFilePromise('/path/to/file', Buffer.from('data'), {sudo: true}); | ||
@@ -24,0 +24,0 @@ // delete file |
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
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
15178
0.17%