registry  /  @ax-llm/ax  /  23.0.0

@ax-llm/ax@23.0.0

⚠ Under review

The best library to work with LLMs

Static Scan Results

scanned 4h ago · by rust-scanner

Static analysis flagged 13 finding(s) at 93.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.; previous stored version diff introduced dangerous source

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessDynamicRequireEnvironmentVarsFilesystemNetwork
Supply chain
HighEntropyStringsMinifiedUrlStrings
ManifestNo manifest risk signals triggered.
scanned 5 file(s), 2.61 MB of source, external domains: api.openai.com, api.reka.ai, api.x.ai, example.com

Source & flagged code

6 flagged · loading source
package.jsonView file
scripts.postinstall = node ./scripts/postinstall.mjs
High
Install Time Lifecycle Scripts

Package defines install-time lifecycle scripts.

package.jsonView on unpkg
scripts.postinstall = node ./scripts/postinstall.mjs
Medium
Ambiguous Install Lifecycle Script

Install-time lifecycle script is not statically allowlisted and needs review.

package.jsonView on unpkg
index.jsView file
749${typeof d=="string"?d:JSON.stringify(d)}`:"",Object.keys(c.actorFieldValues??{}).length>0?` L750: ${JSON.stringify(c.actorFieldValues)}`:""].join("")},o=e.agentIdentity?.namespace;return{...t,...o?{namespace:o}:{},func:n}}var el=(c=>(c.NETWORK="network",c.STORAGE="storage",c.CO... L751: `),N=C=>{let I=C.trim();return I.startsWith("//")||I.startsWith("/*")||I.startsWith("*")},E=C=>{let I=C.length-1;for(;I>=0;){let L=C[I].trim();if(L&&!N(L))break;I-=1}return I},_=C=...
High
Child Process

Package source references child process execution.

index.jsView on unpkg · L749
747Additional Evaluation Guidance: L748: ${t}`:e}function Vg(r){let{criteria:e,description:t,randomizeOrder:n,...o}=r;return{...o,maxSteps:1}}function Hg(r){let e=r.toLowerCase();return e==="excellent"?1:e==="good"?.8:e==... L749: ${typeof d=="string"?d:JSON.stringify(d)}`:"",Object.keys(c.actorFieldValues??{}).length>0?` L750: ${JSON.stringify(c.actorFieldValues)}`:""].join("")},o=e.agentIdentity?.namespace;return{...t,...o?{namespace:o}:{},func:n}}var el=(c=>(c.NETWORK="network",c.STORAGE="storage",c.CO... L751: `),N=C=>{let I=C.trim();return I.startsWith("//")||I.startsWith("/*")||I.startsWith("*")},E=C=>{let I=C.length-1;for(;I>=0;){let L=C[I].trim();if(L&&!N(L))break;I-=1}return I},_=C=...
High
Command Output Exfiltration

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

index.jsView on unpkg · L747
749${typeof d=="string"?d:JSON.stringify(d)}`:"",Object.keys(c.actorFieldValues??{}).length>0?` L750: ${JSON.stringify(c.actorFieldValues)}`:""].join("")},o=e.agentIdentity?.namespace;return{...t,...o?{namespace:o}:{},func:n}}var el=(c=>(c.NETWORK="network",c.STORAGE="storage",c.CO... L751: `),N=C=>{let I=C.trim();return I.startsWith("//")||I.startsWith("/*")||I.startsWith("*")},E=C=>{let I=C.length-1;for(;I>=0;){let L=C[I].trim();if(L&&!N(L))break;I-=1}return I},_=C=...
Medium
Dynamic Require

Package source references dynamic require/import behavior.

index.jsView on unpkg · L749
index.cjsView file
matchType = previous_version_dangerous_delta matchedPackage = @ax-llm/ax@22.0.9 matchedIdentity = npm:QGF4LWxsbS9heA:22.0.9 similarity = 0.600 summary = stored previous version shares package body but lacks this dangerous source file
Critical
Previous Version Dangerous Delta

This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.

index.cjsView on unpkg

Findings

1 Critical3 High5 Medium4 Low
CriticalPrevious Version Dangerous Deltaindex.cjs
HighInstall Time Lifecycle Scriptspackage.json
HighChild Processindex.js
HighCommand Output Exfiltrationindex.js
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumDynamic Requireindex.js
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings