SafeDep
Install GitHub App

Summary

Note: This report is updated by a verification record

Multiple ACE vulnerabilities via Function.apply and dynamic plugin loading, coupled with suspicious bitwise math, indicate malicious intent.

Verification Record

human analysis found package is not malware

Details

Note: This report is updated by a verification record

The package exhibits multiple potential vulnerabilities that, when combined, suggest malicious intent. Specifically, the use of Function.apply with potentially user-controlled arguments in package/plugins/flow.js poses a significant risk of arbitrary code execution (Evidences 1 & 2). Furthermore, the dynamic loading of plugins based on user-supplied names in package/internal/experimental-cli.mjs (Evidences 3 & 4) creates another avenue for arbitrary code execution. The YARA rule matches for excessive unsigned bitwise math in package/plugins/flow.js and package/plugins/flow.mjs (Evidences 0 & 5), while individually a low confidence indicator, further support the possibility of obfuscated or malicious code. Given the combination of these factors, the package is classified as malware.

prettier@3.8.1Clean
Verified
Analysed at: 2/12/26, 7:29 PM
Source: https://registry.npmjs.org/prettier/-/prettier-3.8.1.tgz
SHA256: 5531dc6006ad06b642d5342438909f85dc53e87c50556753c908229b213fb4f4
Confidence: High