Usage: npx ai-analyzer analyze-phishing <file_path>
During npm installation, postinstall harvests local identity/system metadata, writes outside its package, and starts a detached process. Preinstall also contains an intended DNS request to an OAST host, though its undeclared os reference prevents execution as written.
Install-time lifecycle script matches a deterministic static-gate block pattern.
package.jsonView on unpkgPackage defines install-time lifecycle scripts.
package.jsonView on unpkgnpm install invokes both preinstall and postinstall scripts.
package.jsonView on unpkg · L13Install-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgpostinstall reads configured Git user name and email.
postinstall.jsView on unpkg · L27postinstall writes an arbitrary absolute-path test.exe outside the package.
postinstall.jsView on unpkg · L42Install-time lifecycle script matches a deterministic static-gate block pattern.
package.jsonView on unpkg · L14Package defines install-time lifecycle scripts.
package.jsonView on unpkg · L14npm install invokes both preinstall and postinstall scripts.
package.jsonView on unpkg · L13Install-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkg · L15postinstall reads configured Git user name and email.
postinstall.jsView on unpkg · L27postinstall writes an arbitrary absolute-path test.exe outside the package.
postinstall.jsView on unpkg · L42