The included Scarf dependency has an automatic postinstall that passes INIT_CWD into an unquoted shell command, creating a conditional install-time command-injection risk. This supports a vulnerability warning, but does not establish malicious intent by the reviewed package.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
Installing this package through npm runs the Scarf dependency's postinstall; exploitation requires a consumer working-directory path containing shell metacharacters.
Impact
A crafted working-directory path can cause arbitrary commands to run with the npm installer's privileges.
Mechanism
The postinstall reads INIT_CWD and interpolates it into a command passed to a shell through exec, without quoting or escaping the path.
Evidence
package.json.lpm-dependency-evidence-c8cfc3d5-97f2-44a6-b004-6dd9f071bb8d/2/npm-linux/package.json.lpm-dependency-evidence-c8cfc3d5-97f2-44a6-b004-6dd9f071bb8d/2/npm-linux/report.js