registry  /  @blockquote-web-components/blockquote-controller-rxjs  /  1.4.35

@blockquote-web-components/blockquote-controller-rxjs@1.4.35

Webcomponent blockquote-controller-rxjs following open-wc recommendations

AI Security Review

scanned 3h ago · by lpm-firewall-ai

No 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 snapshot
AI 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
SourceNo risky source behavior triggered.
Supply chainNo supply-chain packaging signals triggered.
ManifestNo manifest risk signals triggered.
scanned 2 file(s), 3.06 KB of source

Source & flagged code

2 flagged · loading source
package.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 unpkg

Findings

1 High1 Medium1 Low
HighInstall Time Lifecycle Scriptspackage.json
MediumAmbiguous Install Lifecycle Scriptpackage.json
LowScripts Present