registry  /  @rizom/brain  /  0.2.0-alpha.137

@rizom/brain@0.2.0-alpha.137

Brain runtime + CLI — scaffold, run, and manage AI brain instances

Static Scan Results

scanned 9d ago · by rust-scanner

Static analysis flagged 17 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
ChildProcessDynamicRequireEnvironmentVarsEvalFilesystemNativeBindingsNetwork
Supply chain
HighEntropyStringsMinifiedObfuscatedUrlStrings
Manifest
WildcardDependency
scanned 12 file(s), 3.71 MB of source, external domains: api.cloudflare.com, api.hetzner.cloud, cdn.jsdelivr.net, example.com, fonts.googleapis.com, github.com, react.dev, reactjs.org, rizom.ai, tailwindcss.com, www.w3.org, www.w3ctech.com
Oversized source lightweight scan
dist/brain.js6.87 MB file, sampled 256 KB
FilesystemNetworkChildProcessEnvironmentVarsEvalNativeBindingsHighEntropyStringsUrlStringsapi.cloudflare.comapi.hetzner.cloudgithub.comrizom.ai
dist/ui/app.js13.7 MB file, sampled 256 KB
NetworkChildProcessHighEntropyStringsMinifiedUrlStringsgithub.comreact.devreactjs.orgwww.w3.org

Source & flagged code

6 flagged · loading source
dist/services.jsView file
42return `+str.trim()+`; L43: }());`;return eval(str)||{}}catch($){if(wrap!==!1&&/(unexpected|identifier)/i.test($.message))return parse(str,options,!1);throw SyntaxError($)}},stringify:function(){throw Error("... L44: * strip-bom-string <https://github.com/jonschlinkert/strip-bom-string> L45: * ... L51: `+J.delimiters[1],V=$.content;if(J.language)$.language=J.language;let Y=X.length;if(!s$.startsWith(V,X,Y))return a$($,J),$;if(V.charAt(Y)===X.slice(-1))return $;V=V.slice(Y);let W=... L52: `)$.content=$.content.slice(1)}if(a$($,J),J.sections===!0||typeof J.section==="function")RW($,J.section);return $}C1.engines=OW;C1.stringify=function($,G,J){if(typeof $==="string")... L53: `).join(`
High
Same File Env Network Execution

A single source file combines environment access, network access, and code or shell execution; review context before blocking.

dist/services.jsView on unpkg · L42
42return `+str.trim()+`; L43: }());`;return eval(str)||{}}catch($){if(wrap!==!1&&/(unexpected|identifier)/i.test($.message))return parse(str,options,!1);throw SyntaxError($)}},stringify:function(){throw Error("... L44: * strip-bom-string <https://github.com/jonschlinkert/strip-bom-string>
Low
Eval

Package source references a known benign dynamic code generation pattern.

dist/services.jsView on unpkg · L42
dist/site.jsView file
189</rss>`}var $I=p((ua0,wI)=>{class ej{constructor(w={}){if(!(w.maxSize&&w.maxSize>0))throw TypeError("`maxSize` must be a number greater than 0");if(typeof w.maxAge==="number"&&w.ma... L190: GFS4: `),console.error(w)};if(!c1[L2]){if(rF=global[L2]||[],MI(c1,rF),c1.close=function(w){function $(f,X){return w.call(c1,f,function(W){if(!W)zI();if(typeof X==="function")X.appl... L191: `).filter(Boolean))Y.log(` ${k}`)}return J()}return J(q)}if(O===K)return J();if(Z&&Y.fileDependencies)Y.fileDependencies.add(Z);let B={...W,path:O,request:h,ignoreSymlinks:!0,full...
High
Obfuscated Payload Loader

Source contains an obfuscator-style string-array loader that reconstructs and executes hidden code.

dist/site.jsView on unpkg · L189
327Defaulting to 2020, but this will stop working in the future.`)),Q.ecmaVersion=11):Q.ecmaVersion>=2015&&(Q.ecmaVersion-=2009),Q.allowReserved==null&&(Q.allowReserved=Q.ecmaVersion<... L328: `,M-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(o).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=v.eof,this.value=null,this.start=this.end=this.pos,th... L329: `),cooked:null}):M.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
Medium
Dynamic Require

Package source references dynamic require/import behavior.

dist/site.jsView on unpkg · L327
dist/ui/app.jsView file
path = dist/ui/app.js kind = oversized_source_file sizeBytes = 14381909 magicHex = [redacted]
High
Oversized Source File

Package contains source files above the static scanner size ceiling.

dist/ui/app.jsView on unpkg
dist/brain.jsView file
path = dist/brain.js kind = oversized_cli_entrypoint sizeBytes = 7208583 magicHex = [redacted]
Medium
Oversized Cli Entrypoint

Package contains an oversized executable-looking CLI entrypoint.

dist/brain.jsView on unpkg

Findings

5 High6 Medium6 Low
HighChild Process
HighSame File Env Network Executiondist/services.js
HighObfuscated Payload Loaderdist/site.js
HighObfuscated
HighOversized Source Filedist/ui/app.js
MediumDynamic Requiredist/site.js
MediumNetwork
MediumEnvironment Vars
MediumOversized Cli Entrypointdist/brain.js
MediumStructural Risk Force Deep Review
MediumWildcard Dependency
LowNon Install Lifecycle Scripts
LowScripts Present
LowEvaldist/services.js
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings