{"score":90,"grade":"A","scannedAt":"2026-12-05T22:54:35.244Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@kadmo/cli","version":"0.5.1","license":"UNLICENSED","firstPublished":"2026-10-09T13:14:13.582Z","lastPublished":"2026-11-12T11:49:24.681Z","versions":10,"maintainers":2,"weeklyDownloads":314,"files":9,"bytes":818208,"hosts":["api.anthropic.com","api.linear.app","api.openai.com","app.kadmo.ai","gitlab.com","kadmo.ai","www.apple.com","www.notion.so","yoursite.atlassian.net"]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"long-line","severity":"low","title":"Contains a very long single line (bundled or packed code that is hard to review)","file":"dist/cli.js","line":202},{"rule":"long-line","severity":"low","title":"Contains a very long single line (bundled or packed code that is hard to review)","file":"dist/cli.js","line":322},{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"dist/cli.js","line":333,"snippet":"…rn t.replace(/\\/\\/[^/@]*@/,\"//\")}}var Vk=new Set([\".netrc\",\".npmrc\",\".pypirc\",\".git-credentials\",\"credentials.json\",\"id_rsa\",\"id_dsa\",\"id_ecdsa\",\"id_ed25519\"]);"},{"rule":"long-line","severity":"low","title":"Contains a very long single line (bundled or packed code that is hard to review)","file":"dist/cli.js","line":339},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/cli.js","line":1,"snippet":"…resolve as gl}from\"path\";import{exec as Dm,spawn as bl}from\"child_process\";import{promisify as Fm}from\"util\";import{platform as Bm,homedir as es,tmpdir as Wm}fr"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/cli.js","line":1,"snippet":"…pe \"${b}\" is not supported in this build: ${$}`);else{let v=rm(b);a([...y,\"type\"],\"unknown_step_type\",`unknown step type \"${b}\"${v?` \\u2014 did you mean \"${v}\"?"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/cli.js","line":1,"snippet":"…tch{let n=Nl(e);if(n===e)return e;e=n}}function Yo(t){let e=process.env.HOME||process.env.USERPROFILE||hm(),n;try{n=Fo(e)}catch{n=e}let r=(t??\"\").trim();if(!r)t"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/cli.js","line":2,"snippet":"…t e of t){let n=Wl(e);if(n)return n}return nr}function ge(t=process.env,e=ei){return Hl(t.KADMO_APP_URL,t.PORTAL_URL,e.app_url)}function Yt(t=process.env,e=ei){"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/cli.js","line":3,"snippet":"…l\"),\"failed\";let{url:r,init:s}=bh(Jl(),n,t);try{let o=await fetch(r,{...s,signal:AbortSignal.timeout(wh)});return o.ok?(await o.json().catch(()=>null))?.message"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/cli.js","line":8,"snippet":"…Title,env:h}),b=await dh({log:(_,E)=>e.emitLog(_,E)}),$={...process.env,...p?{DISPLAY:process.env.DISPLAY||\":10\"}:{},...b},v=bl(y.file,y.args,{stdio:\"ignore\",de"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/cli.js","line":9,"snippet":"… L(\"OpenAI API key not configured\",\"LLM_ERROR\");let c=await fetch(i,{method:\"POST\",headers:{\"Content-Type\":\"application/json\",Authorization:`Bearer ${l}`},body:"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/cli.js","line":49,"snippet":"…}}async function Sn(t,e,n){let r=`${t.baseUrl}${e}`,s=await fetch(r,{...n,headers:{\"Content-Type\":\"application/json\",Accept:\"application/json\",Authorization:t.a"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/cli.js","line":190,"snippet":"…os\";import*as Gn from\"crypto\";import*as xf from\"net\";import{execSync as Ef,spawnSync as vf}from\"child_process\";import{fileURLToPath as b_}from\"url\";import{execF"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/cli.js","line":193,"snippet":"…{t.pid})`:\"\"}`:\"another program\"}import{execFile as Kg}from\"child_process\";import*as De from\"fs\";import*as ur from\"os\";import*as Ee from\"path\";import*as ls from"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/cli.js","line":193,"snippet":"…e,384),n;let r=ls.randomBytes(32).toString(\"hex\");return Ue.writeFileSync(e,`${r}"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/cli.js","line":196,"snippet":"…der:await Cn(t)};if(process.platform===\"win32\")break;try{Ue.unlinkSync(t)}catch{}}return{status:\"taken\",path:t,holder:await Cn(t)}}var dr=[\"/etc/systemd/system/"}],"vulns":[],"installScripts":[],"server":{"name":"ai.kadmo/kadmo-agent","title":"Kadmo agent runtime","description":"Kadmo agent runtime on your computer: workflows, skill packs and Chrome automation for AI agents","websiteUrl":"https://kadmo.ai","version":"0.5.1"}}