registry  /  codrix  /  0.1.1

codrix@0.1.1

AI coding agent CLI

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

Source & flagged code

4 flagged · loading source
release/index.jsView file
1#!/usr/bin/env node L2: import{jsx as Pi}from"react/jsx-runtime";import{readFile as mn}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}]),Gt([]),de(`Compacted ${N} messages into summary`),!0}return h==="/exi... 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
122--- END COMPACT --- L123: Continue from here.`,timestamp:Date.now()};return i([O]),t.loadConversation([{role:"user",content:O.content}]),Gt([]),de(`Compacted ${N} messages into summary`),!0}return h==="/exi... L124: \r
High
Command Output Exfiltration

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

release/index.jsView on unpkg · L122
1#!/usr/bin/env node L2: import{jsx as Pi}from"react/jsx-runtime";import{readFile as mn}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: ${qe(e.path,o,r)}`}}catch(e){return{output:"",error:`Failed to write file: ${e instanceof Error?e.message:String(e)}`}}}};W.register(wn);import{exec as bn}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 i=o,s=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 Qn(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 Je=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