{"score":90,"grade":"A","scannedAt":"2026-12-05T22:52:04.238Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@aquex/stage1","version":"0.8.0","license":"Apache-2.0","firstPublished":"2026-09-25T04:16:13.749Z","lastPublished":"2026-11-17T14:04:22.098Z","versions":11,"maintainers":1,"weeklyDownloads":91,"files":18,"bytes":3790755,"hosts":["aquex.ai","react.dev"]},"capabilities":{"network":true,"files":true,"shell":false,"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/chunk-VISHROPA.js","line":1},{"rule":"long-line","severity":"low","title":"Contains a very long single line (bundled or packed code that is hard to review)","file":"dist/app/assets/index-BxnDMsAK.js","line":48},{"rule":"long-line","severity":"low","title":"Contains a very long single line (bundled or packed code that is hard to review)","file":"dist/app/assets/index-BxnDMsAK.js","line":49},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/chunk-ULTLPX6T.js","line":1,"snippet":"…^[A-Za-z_][A-Za-z0-9_]*$/.test(e.authEnv))throw new Error;t=process.env[e.authEnv]}else{if((await lt.stat(e.authFile)).size>65536)throw new Error;t=await lt.rea"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/chunk-ULTLPX6T.js","line":22,"snippet":"…M.mkdir(N.dirname(N.join(s,m.path)),{recursive:!0}),await M.writeFile(N.join(s,m.path),m.text,{flag:\"wx\"});for(let m of y)await M.mkdir(N.dirname(N.join(s,m.pat"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/chunk-ULTLPX6T.js","line":23,"snippet":"…Le.parse(r);let i=`${e}.${Ve.randomUUID()}.tmp`;try{await H.writeFile(i,JSON.stringify(t,null,2)+`"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/chunk-ULTLPX6T.js","line":23,"snippet":"`)}){return K(Ee.resolve(t.out??process.env.STAGE1_OUTPUT_ROOT??\"out\"),()=>Ni(e,t,r))}async function Ni(e,t,r){let i=yr(e),n=ee(t),s=t.maxCaptures??100,a=t.idle"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/chunk-ULTLPX6T.js","line":24,"snippet":"`,{flag:\"wx\"}),await H.rename(i,e)}finally{await H.rm(i,{force:!0})}}async function si(e){if(z(e,[\"configPath\",\"outDir\",\"sequential\",\"keepEvidence\",\"sampling\",\""},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/chunk-ULTLPX6T.js","line":24,"snippet":"…ust be true or a suite run UUID\");let t=B.resolve(e.outDir??process.env.STAGE1_OUTPUT_ROOT??\"out\"),r=B.resolve(e.configPath),i;try{i=await vr(r)}catch{throw new"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/app/assets/index-BxnDMsAK.js","line":1,"snippet":"…origin\",h}function r(u){if(u.ep)return;u.ep=!0;const h=o(u);fetch(u.href,h)}})();function ny(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,\""},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/app/assets/index-BxnDMsAK.js","line":148,"snippet":"….textContent)return JSON.parse(n.textContent);const i=await fetch(\"./data/view-model.json\",{cache:\"no-store\"});if(!i.ok)throw new Error(`view-model request fail"}],"vulns":[],"installScripts":[],"server":{"name":"ai.aquex/stage1","description":"Stage1 Inspector — local website capture, evidence views and design comparison","websiteUrl":"https://aquex.ai/products/stage1","version":"0.8.0"}}