Source inspection confirms automatic, opt-out installation reporting through a declared dependency, but the reviewed behavior supports an analytics disclosure warning rather than a finding of malicious intent. The package’s own manifest does not define an install lifecycle hook.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
Installing this package with npm runs the Scarf dependency's postinstall reporter.
Impact
Consumer installation metadata is disclosed to a third-party analytics service without an affirmative opt-in.
Mechanism
The reporter collects package and runtime metadata, hashes the consumer root package name and version, and posts an install event to scarf.sh.
Evidence
package.json.lpm-dependency-evidence-3bf3201f-b1c5-4f73-a167-cde20fb2da09/2/npm-linux/package.json.lpm-dependency-evidence-3bf3201f-b1c5-4f73-a167-cde20fb2da09/2/npm-linux/report.js