registry  /  yqform-h5  /  0.2.15

yqform-h5@0.2.15

AI Security Review

scanned 2h ago · by lpm-firewall-ai

No confirmed malicious package behavior was found. The main residual risk is runtime loading of third-party CDN scripts during image/PDF compression and package-aligned API calls that may include an Authorization header.

Static reason
One or more suspicious static signals were detected.
Trigger
Browser runtime use of the Vue component, especially file/image compression or remote picker data loading.
Impact
Potential supply-chain exposure to cdnjs-hosted scripts in consuming apps; no evidence of credential exfiltration or install-time compromise.
Mechanism
user-invoked browser UI network/API helpers and CDN script injection for document/image libraries
Rationale
Static inspection found runtime CDN loading and auth-bearing API helpers, but no lifecycle hooks, stealth persistence, credential harvesting to an attacker endpoint, destructive behavior, or agent-control mutation. Treat as suspicious due third-party runtime code loading rather than malicious.
Evidence
package.jsonREADME.mddist/yqform-h5.es.jsdist/yqform-h5.umd.js
Network endpoints3
cdnjs.cloudflare.com/ajax/libs/jszip/3.10.1/jszip.min.jscdnjs.cloudflare.com/ajax/libs/pdf-lib/1.17.1/pdf-lib.min.jscdnjs.cloudflare.com/ajax/libs/pdf.js/2.11.338/pdf.min.js

Decision evidence

public snapshot
AI called this Suspicious at 82.0% confidence as Dangerous Capability with medium false-positive risk.
Evidence for warning
  • dist/yqform-h5.es.js dynamically appends script tags for JSZip, pdf-lib, and pdf.js from cdnjs.
  • dist/yqform-h5.es.js ImageCompressorCls constructor calls addAllLibrary(), so compression use loads remote browser code.
  • dist/yqform-h5.es.js axios helper reads localStorage Authorization and sends it to configured/requested API paths.
Evidence against
  • package.json has no preinstall/install/postinstall lifecycle hooks or bin entrypoint.
  • Entrypoints are bundled Vue/Vant form display components: dist/yqform-h5.es.js and dist/yqform-h5.umd.js.
  • Network behavior is runtime UI/API functionality; no hardcoded exfiltration host was found beyond cdnjs library URLs.
  • No child_process, filesystem persistence, destructive commands, native binary loading, or AI-agent control-surface writes found.
  • README describes a Vue form display component used with yqform-edit/yqform-edit-next.
Behavioral surface
Source
ChildProcessEnvironmentVarsNetwork
Supply chain
HighEntropyStringsMinifiedUrlStrings
Manifest
NoLicense
scanned 2 file(s), 1.19 MB of source, external domains: cdnjs.cloudflare.com, npms.io

Source & flagged code

2 flagged · loading source
dist/yqform-h5.es.jsView file
12272patternName = generic_password severity = medium line = 12272 matchedText = passwo...
Medium
Secret Pattern

Package contains a possible secret pattern.

dist/yqform-h5.es.jsView on unpkg · L12272
dist/yqform-h5.umd.jsView file
33patternName = generic_password severity = medium line = 33 matchedText = `)}get[S...;/*!
Medium
Secret Pattern

Hardcoded password in dist/yqform-h5.umd.js

dist/yqform-h5.umd.jsView on unpkg · L33

Findings

4 Medium4 Low
MediumSecret Patterndist/yqform-h5.es.js
MediumNetwork
MediumEnvironment Vars
MediumSecret Patterndist/yqform-h5.umd.js
LowScripts Present
LowHigh Entropy Strings
LowUrl Strings
LowNo License