Loading npm security reports…
Loading npm security reports…
shopify@4.7.1: npm security report – flagged | LPM Firewall
Flagged — allowed with a warning
Allowed by default policy, but 23 findings warrant review before installing.
AI security reviewscanned on Sep 14, 2026, 03:12 UTC · by lpm-firewall-ai The inspected source supports a user-invoked developer CLI with legitimate but powerful command and telemetry capabilities. With no install-time trigger or concrete malicious chain, blocking is not justified, but residual risk warrants a warning.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
Explicit invocation of Shopify CLI or Hydrogen build commands.
Impact
Project build commands may run with the user's environment; no covert install-time execution or exfiltration was confirmed.
Mechanism
User-directed subprocess execution and telemetry-capable CLI workflows.
Decision evidencepublic snapshot Evidence for warning
The package exposes an executable CLI that can spawn subprocesses.
A Hydrogen workflow runs a configured project build command through a shell.
The bundled code reads process environment values and invokes npm configuration commands.
The CLI selects a Shopify telemetry endpoint and bundled telemetry code can query a machine identifier.
The package contains dynamic Function-based template-library code and developer certificate setup that writes local certificate files. Evidence against
package.json has no preinstall, install, postinstall, or prepare hook. The launcher imports the CLI only when the user runs the shopify command. The observed command execution is tied to CLI and project build workflows, not package installation. No runtime dependency on shopify itself is declared. No source evidence established secret harvesting, covert exfiltration, destructive behavior, or agent-control mutation. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network
Supply chain High entropy strings · Minified · Possible obfuscation · Telemetry · URL strings
Manifest No manifest risk signals triggered.
Scanned 455 files · 15.1 MB of source
50 external domains referenced
127.0.0.1 aaa.nonexistanturl.com admin.shopify.com aka.ms api.github.com api.shopify.com apps.shopify.com bitbucket.org bugzilla.mozilla.org cdn.jsdelivr.net cdn.shopify.com code.google.com codeload.github.com commonmark.org community.shopify.com community.shopify.dev dev.apollodata.com dev.shopify.com developer.mozilla.org developers.google.com dotenvx.com drafts.csswg.org e.c en.wikipedia.org error-analytics-production.shopifysvc.com error-analytics-sessions-production.shopifysvc.com evilmartians.com example.com example.myshopify.com fb.me fleegix.org gajus.com gist.githubusercontent.com git-scm.com git.io github.com googlechrome.github.io h2o.fyi hacks.mozilla.org help.shopify.com help.yahoo.com html.spec.whatwg.org hydrogen-preview.myshopify.com hydrogen.shopify.dev janes-apparel.myshopify.com json-schema.org marketplace.visualstudio.com metrics.myshopify.dev monorail-edge.shopifysvc.com mystore.myshopify.com Oversized source lightweight scan
dist/chunk-ET2CGROE.js 3.40 MB file, sampled 256 KB
Filesystem High entropy strings Minified URL strings www.apache.org
dist/morph-77RHJICZ.js 5.10 MB file, sampled 256 KB
Filesystem Environment variables Crypto High entropy strings Minified URL strings www.apache.org
Findings1 critical · 8 high · 7 medium · 7 low Source & flagged code15 flagged High Child process
Package source references child process execution.
dist/chunk-XTXYS7LB.js View on unpkg · L1 Code excerpt · 2 lines 1 import {a as Ot}from "./chunk-5HBIIYSK.js" ;import {a as ce}from "./chunk-RJ5VF3QY.js" ;import {a as Gt}from "./chunk-GB3YC4TI.js" ;import {a as ae}from "./chunk-636CTEW7.js" ;import {Ab as de,...
2 `:10,r=typeof e=="string"?"\r":13;return e[e.length-1]===t&&(e=e.slice(0,-1)),e[e.length-1]===r&&(e=e.slice(0,-1)),e}s();var R=new WeakMap,Je=(e,t={})=>{if(typeof e!="function")thr...
Low Eval
Package source references a known benign dynamic code generation pattern.
dist/chunk-AFT6ABDE.js View on unpkg · L4 Code excerpt · 3 lines 4 || (${i} === "string" && ${s} && ${s} == +${s} && !(${s} % 1 ))`).assign(a,(0,S._)` +${s}`);return;case"boolean":n.elseIf((0,S._)` ${s} === "false" || ${s} === 0 || ${s} === null `).as...
5 || ${i} === "boolean" || ${s} === null `).assign(a,(0,S._)` [${s}]`)}}}function Du({gen:t,parentData:e,parentDataProperty:r},n){t.if((0,S._)` ${e} !== undefined `,()=>t.assign((0,S._)` ...
6 missingProperty: ${n},
Medium Dynamic require
Package source references dynamic require/import behavior.
dist/chunk-TOLPNBZK.js View on unpkg · L1 Code excerpt · 2 lines 1 import {a as we,c as w,g as d}from "./chunk-VKWPEFWQ.js" ;var Le=w (H=>{d ();var Me="[redacted]+/" .split ("" );H.encode=function (r){if (...
2 at `+er(e[l],i)),i.nextPosition=i.curPosition;return i.curPosition=i.nextPosition=null,o+u.reverse().join("")}function rr(r){var e=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(r.stac...
Low Weak crypto
Package source references weak cryptographic algorithms.
dist/latest-version-LDWU5F7A.js View on unpkg · L1 Code excerpt · 7 lines 1 import {a as cn}from "./chunk-GB3YC4TI.js" ;import {a as Oo}from "./chunk-CX5CC6P5.js" ;import {a as R,c as C,e as ee,g as f}from "./chunk-VKWPEFWQ.js" ;var fn=C ((Jt,Kt)=>{"use strict" ;f ();...
2 `:`
⋯
5 `){l++,i=!1,a+=u(t,o,l),o=l;continue}else if(i===Mr&&r===`
6 `)i=!1,a+=u(t,o,l),o=l;else if(!i&&r+n==="/*"){a+=t.slice(o,l),o=l,i=ai,l++;continue}else if(i===ai&&r+n==="*/"){l++,i=!1,a+=u(t,o,l+1),o=l+1;continue}}}return a+(i?u(t.substr(o)):...
High Same file environment network execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/chunk-IF6EYTHG.js View on unpkg · L16 Code excerpt · 6 lines 16 `).replace(/\n/g,`
17 `).replace(/(\.\.\/)+node_modules\//g,o=>H.dim(o))}catch(t){console.warn("Could not generate bundle analysis summary:",t.message)}}function $i(e){let t;return{name:"hydrogen:bundle...
18 `)[0],l=s.match(/tryMessage: '(.*)',$/m)?.[1];if(a)return{message:a,details:l}}let[r="",...o]=e.replaceAll("[FAILED]","").replace(/\s{2,}/g,`
⋯
21 `),n="[Codegen] "+r,i=o.join(`
22 `);if(t){let s=t.replaceAll("\\","/")+"/";i=i.replaceAll(s,"")}return{message:n,details:i}}function Sr({rootDirectory:e,appDirectory:t,configFilePath:r}){let o,n,i=process.argv.fin...
23 `}\n │\n └─── ${we.link("Complete analysis: "+ne,ne)}\n\n` )}await gn (v)/(1024 *1024 )>=Ol&& (
High Command output exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/chunk-GXOFJIKQ.js View on unpkg · L22 Code excerpt · 7 lines 23 `),N.log(` Received notification '${v.method}' .`,E)}else Ni("receive-notification",v)}function vT(v,E){if(!(y===fe.Off||!N))if(R===an.Text){let I;if((y===fe.Verbose||y===fe.Compact)...
24
⋯
32 `,o==="\r"&&i+1<t.length&&t.charAt(i+1)===`
33 `&&i++}r&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},n.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.ge...
34 `,".","{","[",","].includes(e)||o&&t==="[")}get current(){return this.stack.at(-1)}advance(){this.cursor+=1}matchNext(e){return this.peekNext()!==e?!1:(this.cursor++,!0)}testNext(e...
35 See [theme blocks](https://shopify.[redacted]-blocks)
36 to see how to create theme blocks that can be used this way.
High Sandbox evasion gated capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/chunk-4VJ6YK7U.js View on unpkg · L1 Code excerpt · 1 line 1 import {b as r,c as u,e as I}from "./chunk-DPNZWBT5.js" ;import {a as o}from "./chunk-JD5P5RAJ.js" ;import {g as c}from "./chunk-VKWPEFWQ.js" ;c ();c ();function i (t){return !(t===void 0 ||t.tr...
High Obfuscated payload loader
Source contains an obfuscated payload loader that reconstructs and executes hidden code.
dist/chunk-TP4Z5OZT.js View on unpkg · L1 Code excerpt · 6 lines 1 import {a as kw,b as h4,c as m4}from "./chunk-F3TMLDLC.js" ;import {a as Iw}from "./chunk-IWOTLFOY.js" ;import {a as d4}from "./chunk-FFSDGRAN.js" ;import {Ba as p4,Ca as xw,l as ww}from "./c...
2 `),r=new Array(e.length),i=0,n=0,s=e.length;n<s;n++)r[n]=i,i+=e[n].length+1;return r}function I4(t,e){if(t>=e[e.length-1])return e.length-1;for(var r=0,i=e.length-2,n;r<i;)if(n=r+(...
3 `;break;case 114:w+="\r";break;case 116:w+=" ";break;case 117:let O=p(4,!0);O>=0?w+=String.fromCharCode(O):h=4;break;default:h=5}_=i;continue}if(A>=0&&A<=31)if(qo(A)){w+=t.substrin...
High Cross file remote execution context
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/chunk-PK73ZSND.js View on unpkg · L1 Code excerpt · 4 lines Cross-file remote execution chain: dist/chunk-PK73ZSND.js spawns dist/chunk-AFT6ABDE.js; helper contains network access plus dynamic code execution.
1 import {b as ED}from "./chunk-ZDF5N422.js" ;import {l as yD,m as AD}from "./chunk-GW4JHUIA.js" ;import {a as Rn,b as pr,c as aD,f as uD,g as cD,h as lD,i as ef,j as pD,k as dD,l as fD,p a...
2 `;Ve.DEFAULT_CONTENT_TYPE="application/octet-stream";Ve.prototype.append=function(t,e,r){r=r||{},typeof r=="string"&&(r={filename:r});var o=fA.prototype.append.bind(this);if((typeo...
3
Medium Ships WASM module
Package ships WebAssembly modules.
dist/toml_patch_bg.wasm View on unpkg Scanner record · 4 lines path = dist/toml_patch_bg.wasm
kind = wasm_module
sizeBytes = 264937
magicHex = [redacted]
Medium Ships build helper
Package ships non-JavaScript build or shell helper files.
bin/run.cmd View on unpkg Scanner record · 4 lines path = bin/run.cmd
kind = build_helper
sizeBytes = 34
magicHex = [redacted]
Medium Oversized source file
Package contains source files above the normal full-analysis size ceiling.
dist/morph-77RHJICZ.js View on unpkg Scanner record · 4 lines path = dist/morph-77RHJICZ.js
kind = oversized_source_file
sizeBytes = 5349879
magicHex = [redacted]
dist/chunk-3HCWJRL6.js#virtual:string-array:round1 View file High Semantic analysis limited
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/chunk-3HCWJRL6.js#virtual:string-array:round1 View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 15
Critical Previous version dangerous delta
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/chunk-TR4OWSEX.js View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = shopify@4.8.0
matchedIdentity = npm:c2hvcGlmeQ:4.8.0
similarity = 0.767
summary = stored previous version shares package body but lacks this dangerous source file
Package metadata 8 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
7 GFS4: `),console.error(t)});$[G]||(Ni=global[G]||[],Ii($,Ni),$.close=(function(t){function e(r,n){return t.call($,r,function(s){s||Li(),typeof n=="function"&&n.apply(this,arguments...
11 `):n.split(",")}switch(t){case"hoist-pattern":case"public-hoist-pattern":return r(e)}return e}no.exports=rn});var ho=C(uo=>{"use strict";f();var a
V
`\u{1F6A8} Smaller worker bundles are faster to deploy and run.${P?"":"\n Minify ...
15 `}function Co(t,e){return` \r
16 `.indexOf(t.charAt(e))!==-1}var pg=Ae(()=>{"use strict";y();dl();Cw()});function Rw(t,e){let r=[],i=new Object,n,s={value:{},offset:0,length:0,type:"object",parent:void 0},a=!1;fun...
`,p=o.split(/\r\n|[\n\r]/g),f=p[s];if(f.length>120){let y=Math.floor(u/80),v=u%80,S=[];for(let I=0;I<f.length;I+=80)S.push(f.slice(I,I+80));return c+UC([[` ${i} |`,S[0]],...S.slice(...
11 `,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}
High Trigger reachable command output exfiltration
A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.
dist/chunk-PK73ZSND.js View on unpkg · L162 Code excerpt · 5 lines Trigger-reachable command-output exfiltration chain: manifest.exports -> dist/index.js -> dist/chunk-PK73ZSND.js
162 `).filter(function(u){return!!u.match(r)&&!u.match(/^Error created at/)},this);return n.map(function(u){var c=u.split("@"),p=this.extractLocation(c.pop()),f=c.shift()||"",y=f.repla...
163 `&&o.shift(),this._lineBuffer.length>0&&(this._lineBuffer[this._lineBuffer.length-1]+=o[0],o.shift()),this._lastChunkEndedWithCR=t[t.length-1]=="\r",this._lineBuffer=this._lineBuff...
164 `+se(y(m),function(h){return" - "+h+" "+m[h]+", got "+$ce(T[h])}).join(`
⋯
176 `);return(A.length===1||A.length===2&&/at Error \(native\)/.test(A[1]))&&(m.stack=A[0]+`
177 `+T),m};var zd={},sle=Ou.getStack;zd={name:"contextualize",load:function(m){var T=function(A,h){var g=sle(),x=Oy(m);return