On npm install, the package changes to the consuming project root and installs randompkgb outside its declared dependency graph. This creates an unconsented staged payload path.
Install-time lifecycle script matches a deterministic static-gate block pattern.
package.jsonView on unpkgPackage defines install-time lifecycle scripts.
package.jsonView on unpkgpostinstall escapes the package directory and runs npm i randompkgb in the consuming project.
package.jsonView on unpkg · L6The second package is not declared as a dependency, causing an unconsented install-time payload fetch.
package.jsonView on unpkg · L1Install-time lifecycle script matches a deterministic static-gate block pattern.
package.jsonView on unpkg · L7Package defines install-time lifecycle scripts.
package.jsonView on unpkg · L7postinstall escapes the package directory and runs npm i randompkgb in the consuming project.
package.jsonView on unpkg · L6The second package is not declared as a dependency, causing an unconsented install-time payload fetch.
package.jsonView on unpkg · L1