dependent-final@1.0.3
dep
AI Security Review
scanned 2h ago · by lpm-firewall-aitest.js contains an intentional routine for publishing multiple randomly named public packages using the caller's npm credentials and modifying package.json. It is not automatically triggered by install or import, but its behavior is unrelated to the package's stated purpose and can publish packages the user did not choose.
Decision evidence
public snapshot- When run directly, test.js loops five times by default, creates random package names, rewrites package.json, and runs `npm publish --access public`.
- The publish loop is manually triggered: the manifest has no lifecycle hook or CLI, and its `test` script only prints an error and exits.
- The publish routine does not run on install or package import; the declared main file, index.js, is absent.
- No explicit network host is hard-coded in the package source.
Source & flagged code
6 flaggedSource mutates package metadata and republishes itself to npm.
test.jsView on unpkg · L1Findings
Affected versions and remediation
This report applies to dependent-final@1.0.3.
See all versions of dependent-final for other recorded verdicts.
- Avoid installing dependent-final@1.0.3. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.