registry  /  codrix  /  0.1.3

codrix@0.1.3

AI coding agent CLI

Static Scan Results

scanned 2h 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
ChildProcessEnvironmentVarsNetwork
Supply chain
HighEntropyStringsMinifiedUrlStrings
ManifestNo manifest risk signals triggered.
scanned 1 file(s), 106 KB of source, external domains: api.openai.com, registry.npmjs.org

Source & flagged code

4 flagged · loading source
release/index.jsView file
1#!/usr/bin/env node L2: import{jsx as Gi}from"react/jsx-runtime";import{readFile as _n}from"node:fs/promises";var nr=class{tools=new Map;register(e){this.tools.set(e.name,e)}get(e){return this.tools.get(e... L3: `),n=r.split(`
High
Child Process

Package source references child process execution.

release/index.jsView on unpkg · L1
122--- END COMPACT --- L123: Continue from here.`,timestamp:Date.now()};return i([O]),t.loadConversation([{role:"user",content:O.content}]),de(`Compacted ${N} messages into summary`),!0}return h==="/exit"||h==... L124: \r
High
Same File Env Network Execution

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

release/index.jsView on unpkg · L122
76${t.cause?String(t.cause):""}`:String(t);return/Network error|fetch failed|UND_ERR_SOCKET|ECONNRESET|ECONNREFUSED|ETIMEDOUT|ENOTFOUND|EAI_AGAIN|socket|other side closed/i.test(e)}f... L77: Retried ${e} time${e===1?"":"s"} before failing.`)}import{jsx as E,jsxs as V,Fragment as Ri}from"react/jsx-runtime";import{Box as Z,Text as I,useApp as Ai,useInput as Oi,useStdout ... L78: `).map((c,y)=>He(Oe,{color:a.text,children:c},y))]})]})]})}import{jsx as ft,jsxs as Nt}from"react/jsx-runtime";import{Box as dr,Text as Xe}from"ink";import{useState as ro,useEffect... L79: `),_=p.length,v=_>ur,T=r&&!o&&v?p.slice(0,ur):r?p:[],k=_-ur;return Nt(dr,{flexDirection:"column",marginTop:1,children:[Nt(dr,{children:[ft(Xe,{color:"#d29922",bold:!0,children:b+":... L80: `).length,n=r?o:Math.min(o,mo);return 3+(e?n+(o>mo&&!r?1:0):0)}function Rs(t,e,r,o,n){if(t.length===0)return[{text:"",charStart:o,charEnd:o}];let s=[],i=!1,l=-1;for(let b=0;b<t.len... ... L82: `).replace(/\r/g,` L83: `)}function _o(t){if(t.startsWith("\x1B"))return!1;if(/[\r\n]/.test(t))return t.length>1;if(t.length<120)return!1;let r=new Set(t).size===1,o=/^(.{1,8})\1{8,}$/.test(t);return!r&&!... L84: `+T.slice(k)),b(k+1),k+1},Ot=T=>{
High
Command Output Exfiltration

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

release/index.jsView on unpkg · L76
1#!/usr/bin/env node L2: import{jsx as Gi}from"react/jsx-runtime";import{readFile as _n}from"node:fs/promises";var nr=class{tools=new Map;register(e){this.tools.set(e.name,e)}get(e){return this.tools.get(e... L3: `),n=r.split(` ... L9: Diff: L10: ${Ke(e.path,o,r)}`}}catch(e){return{output:"",error:`Failed to write file: ${e instanceof Error?e.message:String(e)}`}}}};U.register(Mn);import{exec as $n}from"node:child_process";... L11: Process exited with code ${l.code}`.trim()}:{output:`${o?`[permission override used] ... L34: `+o.content.slice(-n)}})}buildToolGroups(e){let r=[],o=0;for(;o<e.length;){let n=e[o];if(n.role==="assistant"&&n.tool_calls&&n.tool_calls.length>0){let s=o,i=new Set(n.tool_calls.m... L35: `)}trim(e){let r=this.getAvailableBudget(),o=this.clampToolOutputs(e),n=this.estimateTotalTokens(o);if(n<=r)return{messages:o,trimmed:!1,removedCount:0,summaryInjected:!1};if(o.len... L36: L37: `).trim()}function ls(t){let e=t.trim();return/^```(?:json)?\s*[\s\S]*?```$/i.test(e)||/^\{\s*"tool"\s*:/.test(e)||/^\[\s*\{\s*"tool"\s*:/.test(e)?"":t}var qe=class{provider;messag... L38: 1. ALWAYS use tools to get real data. Never guess, hallucinate, or make up file contents, comm
High
Sandbox Evasion Gated Capability

Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.

release/index.jsView on unpkg · L1

Findings

4 High3 Medium4 Low
HighChild Processrelease/index.js
HighSame File Env Network Executionrelease/index.js
HighCommand Output Exfiltrationrelease/index.js
HighSandbox Evasion Gated Capabilityrelease/index.js
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowNon Install Lifecycle Scripts
LowScripts Present
LowHigh Entropy Strings
LowUrl Strings