registry  /  @ax-llm/ax  /  22.0.9

@ax-llm/ax@22.0.9

The best library to work with LLMs

Static Scan Results

scanned 4d ago · by rust-scanner

Static analysis flagged 13 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
ChildProcessDynamicRequireEnvironmentVarsEvalFilesystemNetwork
Supply chain
HighEntropyStringsMinifiedUrlStrings
ManifestNo manifest risk signals triggered.
scanned 5 file(s), 2.50 MB of source, external domains: api.anthropic.com, api.cohere.ai, api.deepseek.com, api.mistral.ai, api.openai.com, api.reka.ai, api.x.ai, example.com, generativelanguage.googleapis.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
758${typeof p=="string"?p:JSON.stringify(p)}`:"",Object.keys(c.actorFieldValues??{}).length>0?` L759: ${JSON.stringify(c.actorFieldValues)}`:""].join("")},o=e.agentIdentity?.namespace;return{...t,...o?{namespace:o}:{},func:n}}var _c=(c=>(c.NETWORK="network",c.STORAGE="storage",c.CO... L760: `),G=b=>{let I=b.trim();return I.startsWith("//")||I.startsWith("/*")||I.startsWith("*")},_=b=>{let I=b.length-1;for(;I>=0;){let F=b[I].trim();if(F&&!G(F))break;I-=1}return I},N=b=...
High
Child Process

Package source references child process execution.

index.jsView on unpkg · L758
756Additional Evaluation Guidance: L757: ${t}`:e}function ag(r){let{criteria:e,description:t,randomizeOrder:n,...o}=r;return{...o,maxSteps:1}}function cg(r){let e=r.toLowerCase();return e==="excellent"?1:e==="good"?.8:e==... L758: ${typeof p=="string"?p:JSON.stringify(p)}`:"",Object.keys(c.actorFieldValues??{}).length>0?` L759: ${JSON.stringify(c.actorFieldValues)}`:""].join("")},o=e.agentIdentity?.namespace;return{...t,...o?{namespace:o}:{},func:n}}var _c=(c=>(c.NETWORK="network",c.STORAGE="storage",c.CO... L760: `),G=b=>{let I=b.trim();return I.startsWith("//")||I.startsWith("/*")||I.startsWith("*")},_=b=>{let I=b.length-1;for(;I>=0;){let F=b[I].trim();if(F&&!G(F))break;I-=1}return I},N=b=...
High
Command Output Exfiltration

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

index.jsView on unpkg · L756
758${typeof p=="string"?p:JSON.stringify(p)}`:"",Object.keys(c.actorFieldValues??{}).length>0?` L759: ${JSON.stringify(c.actorFieldValues)}`:""].join("")},o=e.agentIdentity?.namespace;return{...t,...o?{namespace:o}:{},func:n}}var _c=(c=>(c.NETWORK="network",c.STORAGE="storage",c.CO... L760: `),G=b=>{let I=b.trim();return I.startsWith("//")||I.startsWith("/*")||I.startsWith("*")},_=b=>{let I=b.length-1;for(;I>=0;){let F=b[I].trim();if(F&&!G(F))break;I-=1}return I},N=b=...
Medium
Dynamic Require

Package source references dynamic require/import behavior.

index.jsView on unpkg · L758
758${typeof p=="string"?p:JSON.stringify(p)}`:"",Object.keys(c.actorFieldValues??{}).length>0?` L759: ${JSON.stringify(c.actorFieldValues)}`:""].join("")},o=e.agentIdentity?.namespace;return{...t,...o?{namespace:o}:{},func:n}}var _c=(c=>(c.NETWORK="network",c.STORAGE="storage",c.CO... L760: `),G=b=>{let I=b.trim();return I.startsWith("//")||I.startsWith("/*")||I.startsWith("*")},_=b=>{let I=b.length-1;for(;I>=0;){let F=b[I].trim();if(F&&!G(F))break;I-=1}return I},N=b=...
Low
Eval

Package source references a known benign dynamic code generation pattern.

index.jsView on unpkg · L758

Findings

3 High5 Medium5 Low
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
LowEvalindex.js
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings