T08 · Insecure Dependencies
- Location
scripts/setup.js:30- Finding
Automatic Installation and Execution of an Unpinned Third-Party Payment Package
- Content
View full analysis
/dev/null; then echo "📦 Installing moltspay..." npm install -g moltspay echo "✅ moltspay installed" else ``` ### Technical Analysis The project does not declare an exact, reviewed version of `moltspay`, provide a lockfile or integrity constraint for it, or bundle a reviewed implementation. Instead, its `postinstall` lifecycle hook invokes `scripts/setup.js`, which runs `npm install -g moltspay`. This resolves and downloads whichever release is current in the configured npm registry at installation time. Consequently, the code audited in this project doe ...[truncated 2852 chars]- Remediation
View remediation
