cross-platform-compatibility

Warn

Audited by Socket on Sep 16, 2026

2 alerts found:

Securityx2
SecurityMEDIUM
references/process-management.md

The fragment appears to implement legitimate cross-platform process management, not embedded malware. However, it has significant command-injection risk because commands are run with shell:true and process names are interpolated into shell command strings without escaping. It also permits forceful termination of arbitrary PIDs and contains an undefined execAsync dependency in the shown code. Use direct non-shell process spawning, validate inputs, and avoid shell interpolation.

Confidence: 98%Severity: 78%
SecurityMEDIUM
references/shell-commands.md

The code is a legitimate-looking shell utility, but it has a significant command-injection risk because raw commands and interpolated paths are executed through a shell. It does not show evidence of intentional malware in this fragment. Use direct process APIs such as `execFile` or `spawn` with argument arrays, restrict supported operations, and validate paths; do not expose `execute` to untrusted callers.

Confidence: 99%Severity: 82%
Audit Metadata
Analyzed At
Sep 16, 2026, 10:46 AM
Package URL
pkg:socket/skills-sh/aj-geddes%2Fuseful-ai-prompts%2Fcross-platform-compatibility%2F@e43875a04215184151cad20276c189ac95bceea7b4492fc15d8d24208d6f1a3d
Security Audit — socket — cross-platform-compatibility