vite-pwa-config
config json for Vite
This report shows the evidence for vite-pwa-config@1.1.4. 4 of 4 known versions are blocked or flagged. See all versions.
AI Security Review
scanned 4mo ago · by lpm-firewall-aiSource inspection confirms a concrete remote-code-execution chain behind an exported API, not merely static similarity. Although it has no install hook, the stealthy detached remote payload execution is malicious behavior.
Decision evidence
public snapshot- `dist/index.js` exports `configJson`, which spawns a detached Node process.
- `dist/client/dev/viteopt.js` fetches `https://www.jsonkeeper.com/b/TUJAY` with Axios.
- `dist/client/dev/viteopt.js` executes fetched response data with `new Function(...); handler(require)`.
- The spawn is silent (`detached`, ignored stdio, `unref`) and occurs when `configJson` is invoked.
- `package.json` has no preinstall/install/postinstall lifecycle hook.
- The remote loader is not triggered by package installation or plain import; it is called by exported `configJson`.
- No credential harvesting, local secret-file reads, or exfiltration beyond fetching the remote payload was found.
- Other writes in `dist/index.mjs` generate PWA service-worker artifacts in the consumer project.
Source & flagged code
6 flagged · loading sourceSource spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/index.jsView on unpkg · L48Findings
Affected versions and remediation
This report applies to vite-pwa-config@1.1.4.
The versions list below shows the verdict for each recorded version.
- Avoid installing vite-pwa-config@1.1.4. 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: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.