registry  /  shadcn-svelte  /  1.4.0

shadcn-svelte@1.4.0

Add components to your apps.

Static Scan Results

scanned 3h ago · by rust-scanner

Static analysis flagged 11 finding(s) at 72.0% confidence. This version is warn-only unless an AI or security-team review confirms malicious behavior.

Static reason
One or more suspicious static signals were detected.

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessDynamicRequireEnvironmentVarsEvalFilesystem
Supply chain
HighEntropyStringsMinifiedObfuscatedUrlStrings
ManifestNo manifest risk signals triggered.
scanned 25 file(s), 770 KB of source, external domains: foo.com, github.com, json-schema.org, shadcn-svelte.com, tw3.shadcn-svelte.com

Source & flagged code

4 flagged · loading source
dist/index.mjsView file
1#!/usr/bin/env node L2: import{n as e,r as t,t as n}from"./chunk-BMbogX1O.mjs";import{S as r,d as i,f as a,g as o,i as s,l as c,n as l,o as u,r as d,s as f,t as p,x as m,y as h}from"./libraries-tdyxKhrQ.m... L3: `;break;case 114:t+=`\r`;break;case 116:t+=` `;break;case 117:let e=f(4);e>=0?t+=String.fromCharCode(e):d=4;break;default:d=5}i=r;continue}if(a>=0&&a<=31)if(Pt(a)){t+=e.substring(i...
High
Child Process

Package source references child process execution.

dist/index.mjsView on unpkg · L1
1Cross-file remote execution chain: dist/index.mjs spawns dist/magic-string.es-Ze7NMroB.mjs; helper contains network access plus dynamic code execution. L1: #!/usr/bin/env node L2: import{n as e,r as t,t as n}from"./chunk-BMbogX1O.mjs";import{S as r,d as i,f as a,g as o,i as s,l as c,n as l,o as u,r as d,s as f,t as p,x as m,y as h}from"./libraries-tdyxKhrQ.m... L3: `;break;case 114:t+=`\r`;break;case 116:t+=` `;break;case 117:let e=f(4);e>=0?t+=String.fromCharCode(e):d=4;break;default:d=5}i=r;continue}if(a>=0&&a<=31)if(Pt(a)){t+=e.substring(i... ... L7: `+` `.repeat(t)),Array(200).fill(0).map((e,t)=>`\r`+` `.repeat(t)),Array(200).fill(0).map((e,t)=>`\r L8: `+` `.repeat(t));var Lt;(function(e){e.DEFAULT={allowTrailingComma:!1}})(Lt||={});function Rt(e,t=[],n=Lt.DEFAULT){let r=null,i=[],a=[];function o(e){Array.isArray(i)?i.push(e):r!=... L9: `),u=l[Symbol.iterator](),d=u.next(),f=u.next(),p=0;for(;!d.done;){let e=d.value,t=f.value;if(r+=e,e===`\x1B`||e===`›`){gi.lastIndex=p+1;let e=gi.exec(l)?.groups;if(e?.code!==void ... ... L16: `),r=t.split(` L17: `),i=Math.max(n.length,r.length),a=[];for(let e=0;e<i;e++)n[e]!==r[e]&&a.push(e);return{lines:a,numLinesBefore:n.length,numLinesAfter…
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/index.mjsView on unpkg · L1
dist/transform-strip-types-A1LmF7Cf.mjsView file
134`);return i===-1&&(i=r.length,r+=` L135: `),{code:r.slice(0,i+1)+e+r.slice(i+1)+t,mappings:this.shiftMappings(n.mappings,e.length)}}else return{code:e+r+t,mappings:this.shiftMappings(n.mappings,e.length)}}processBalancedC... L136: `,n=`\r`,r=function(){function e(e){this.string=e;for(var r=[0],i=0;i<e.length;)switch(e[i]){case t:i+=t.length,r.push(i);break;case n:i+=n.length,e[i]===t&&(i+=t.length),r.push(i)...
Low
Eval

Package source references a known benign dynamic code generation pattern.

dist/transform-strip-types-A1LmF7Cf.mjsView on unpkg · L134
dist/transform-icons-BeDxN90c.mjsView file
1import{t as e}from"./libraries-tdyxKhrQ.mjs";import{t}from"./src-D1e-SXHI.mjs";import{t as n}from"./magic-string.es-Ze7NMroB.mjs";import{parse as r}from"svelte/compiler";function i... L2: `))}return{content:c.toString(),devDependencies:f===null?[]:[...u.packages]}};export{i,a as n,o as r,s as t};
Medium
Dynamic Require

Package source references dynamic require/import behavior.

dist/transform-icons-BeDxN90c.mjsView on unpkg · L1

Findings

2 High3 Medium6 Low
HighChild Processdist/index.mjs
HighCross File Remote Execution Contextdist/index.mjs
MediumDynamic Requiredist/transform-icons-BeDxN90c.mjs
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowScripts Present
LowEvaldist/transform-strip-types-A1LmF7Cf.mjs
LowFilesystem
LowObfuscated
LowHigh Entropy Strings
LowUrl Strings