function-exec-sync
Advanced tools
+2
-2
| { | ||
| "name": "function-exec-sync", | ||
| "version": "1.4.8", | ||
| "version": "1.4.9", | ||
| "description": "Run a function in a node process", | ||
@@ -35,3 +35,3 @@ "keywords": [ | ||
| "main": "dist/cjs/index.js", | ||
| "types": "dist/cjs/index.d.cts", | ||
| "types": "dist/cjs/index.d.ts", | ||
| "files": [ | ||
@@ -38,0 +38,0 @@ "dist" |
| import type { ExecWorkerOptions } from './types.js'; | ||
| export type * from './types.js'; | ||
| export default function functionExecSync(filePath: string, ...args: unknown[]): any; | ||
| export default function functionExecSync(options: ExecWorkerOptions, filePath: string, ...args: unknown[]): any; |
| export type ExecWorkerOptions = { | ||
| name?: string; | ||
| cwd?: string; | ||
| env?: object; | ||
| callbacks?: boolean; | ||
| execPath?: string; | ||
| sleep?: number; | ||
| }; |
| export default function unlinkSafe(filename: string): undefined; |
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
89771
-0.56%35
-7.89%