registry  /  infra-kit  /  0.1.131

infra-kit@0.1.131

infra-kit

Static Scan Results

scanned 3h ago · by rust-scanner

Static analysis flagged 12 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
ChildProcessCryptoDynamicRequireFilesystemNetwork
Supply chain
HighEntropyStringsMinifiedUrlStrings
Manifest
NoLicense
scanned 25 file(s), 246 KB of source, external domains: 127.0.0.1, acme.atlassian.net, cli.github.com, cmux.com, cursor.com, docs.aws.amazon.com, docs.doppler.com, github.com, registry.npmjs.org, your-domain.atlassian.net, zed.dev

Source & flagged code

4 flagged · loading source
dist/dev-server.jsView file
1import{b as V,c as Pe}from"./chunk-C2HRONYA.js";import{d as ge,e as fe,f as ve,i as ye}from"./chunk-6YAKVQZN.js";import{A as ae,B as A,C as le,D as pe,E as ue,G as ce,H as de,K as ... L2: `).flatMap(e=>{let[r,n,i]=e.trim().split(/\s+/);if(r==null||n==null||i==null)return[];let o=Number(r),s=Number(n),a=Number(i);return!Number.isInteger(o)||!Number.isInteger(s)||!Num...
High
Child Process

Package source references child process execution.

dist/dev-server.jsView on unpkg · L1
1import{b as V,c as Pe}from"./chunk-C2HRONYA.js";import{d as ge,e as fe,f as ve,i as ye}from"./chunk-6YAKVQZN.js";import{A as ae,B as A,C as le,D as pe,E as ue,G as ce,H as de,K as ... L2: `).flatMap(e=>{let[r,n,i]=e.trim().split(/\s+/);if(r==null||n==null||i==null)return[];let o=Number(r),s=Number(n),a=Number(i);return!Number.isInteger(o)||!Number.isInteger(s)||!Num... L3: ${e.stack??"(no stack)"}`:String(e);Ae(` ... L12: `)},Ar=(t,e)=>{Ce.on(t,e)},Te=({onFault:t=Sr,register:e=Ar}={})=>{let r=n=>i=>{t(n,i)};e("uncaughtException",r("uncaughtException")),e("unhandledRejection",r("unhandledRejection"))... L13: `)})}serverConfig;importCacheBust;logger;server;controllers={};registeredRouteKeys=new Set;getRegisteredRoutes(){return[...this.registeredRouteKeys].sort()}async start(){this.regis... L14: `);r=o.pop()??"";for(let s of o)n(s);r.length>vt&&(n(r),r="")}),t.on("end",()=>{r!==""&&(n(r),r="")}),t.on("error",i=>{e.appendLog?.(`[infra-kit] ui dev stream error: ${i.message}
High
Command Output Exfiltration

Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.

dist/dev-server.jsView on unpkg · L1
12`)},Ar=(t,e)=>{Ce.on(t,e)},Te=({onFault:t=Sr,register:e=Ar}={})=>{let r=n=>i=>{t(n,i)};e("uncaughtException",r("uncaughtException")),e("unhandledRejection",r("unhandledRejection"))... L13: `)})}serverConfig;importCacheBust;logger;server;controllers={};registeredRouteKeys=new Set;getRegisteredRoutes(){return[...this.registeredRouteKeys].sort()}async start(){this.regis... L14: `);r=o.pop()??"";for(let s of o)n(s);r.length>vt&&(n(r),r="")}),t.on("end",()=>{r!==""&&(n(r),r="")}),t.on("error",i=>{e.appendLog?.(`[infra-kit] ui dev stream error: ${i.message}
Medium
Dynamic Require

Package source references dynamic require/import behavior.

dist/dev-server.jsView on unpkg · L12
dist/chunk-CHETBZ6M.jsView file
1import T from"node:crypto";import r from"node:fs";import F from"node:os";import n from"node:path";import A from"node:process";var V="env-load.sh",a="env-clear.sh",p="projects",O=72... L2: `)){if(!_){let c=I.exec(s);c&&o.push(c[1])}_=L(s,_)}return o},R=()=>{let t=A.env.XDG_CACHE_HOME,e=t&&t.length>0?t:n.join(F.homedir(),".cache");return n.join(e,"infra-kit")},f=()=>{... L3: //# sourceMappingURL=chunk-CHETBZ6M.js.map
Medium
Install Persistence

Source writes installer persistence such as shell profile or service configuration.

dist/chunk-CHETBZ6M.jsView on unpkg · L1

Findings

2 High4 Medium6 Low
HighChild Processdist/dev-server.js
HighCommand Output Exfiltrationdist/dev-server.js
MediumDynamic Requiredist/dev-server.js
MediumNetwork
MediumInstall Persistencedist/chunk-CHETBZ6M.js
MediumStructural Risk Force Deep Review
LowNon Install Lifecycle Scripts
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings
LowNo License