AI Security Review
scanned 2h ago · by lpm-firewall-aiNo confirmed malicious payload is present in the shipped runtime source. The unresolved risk is install-time execution of npx sort-package-json from package.json postinstall.
Static reason
One or more suspicious static signals were detected.
Trigger
npm install lifecycle postinstall
Impact
Unnecessary install-time code execution; no source evidence of exfiltration or destructive behavior.
Mechanism
install hook runs npx sort-package-json
Rationale
Source inspection supports a warning for unnecessary install-time npx execution, not a publish block. Runtime files are package-aligned and benign, with no concrete malicious attack chain found.
Evidence
package.jsonsrc/index.jssrc/BlockquoteControllerRxjs.js
Decision evidence
public snapshotAI called this Suspicious at 82.0% confidence as Dangerous Capability with medium false-positive risk.
Evidence for warning
- package.json defines postinstall: npm run sort:package.
- sort:package invokes npx sort-package-json during install, an unnecessary install-time external tool execution.
Evidence against
- src/index.js only re-exports BlockquoteControllerRxjs.
- src/BlockquoteControllerRxjs.js implements a Lit/RxJS reactive controller with subscriptions and host updates only.
- No child_process, eval, fs access, credential harvesting, persistence, destructive logic, or exfiltration code found in shipped src files.
- No package source contains concrete network endpoints beyond documentation badge/demo links.
Behavioral surface
Source & flagged code
2 flagged · loading sourcepackage.jsonView file
•scripts.postinstall = npm run sort:package
High
Install Time Lifecycle Scripts
Package defines install-time lifecycle scripts.
package.jsonView on unpkg•scripts.postinstall = npm run sort:package
Medium
Ambiguous Install Lifecycle Script
Install-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgFindings
1 High1 Medium1 Low
HighInstall Time Lifecycle Scriptspackage.json
MediumAmbiguous Install Lifecycle Scriptpackage.json
LowScripts Present