{"score":90,"grade":"A","scannedAt":"2026-12-05T22:56:39.864Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@shiplightai/mcp","version":"0.2.3","license":"MIT","repository":"https://github.com/ShiplightAI/shiplight-cli","firstPublished":"2026-02-19T15:48:36.717Z","lastPublished":"2026-09-28T23:47:06.408Z","versions":4,"maintainers":1,"files":15,"bytes":660662,"hosts":["api.mailgun.net","api.shiplight.ai","playwright.dev","service.com","trace.playwright.dev","us.i.posthog.com"]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":true},"findings":[{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"dist/index.js","line":19,"snippet":"…lace(/\\r/g,\" \").trim()}function G(e,t){let i=qe(t);return i?new Function(\"page\",`return ${i}`)(e):null}async function Sa(e,t=[]){let i=e;for(let o of t){let n=a"},{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"dist/index.js","line":4124,"snippet":"…ayscaleImage:null},m=await e.evaluate(({code:C,argsObj:$})=>new Function(\"return \"+C)()($),{code:this.jsCode,argsObj:w});u.debug(`\\u{1F4E6} Phase 1: Drew ${m.el"},{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"dist/index.js","line":4129,"snippet":"…Services \\u2014 js_code requires an agent reference\");await new Function(\"page\",\"expect\",\"agent\",`"},{"rule":"long-line","severity":"low","title":"Contains a very long single line (bundled or packed code that is hard to review)","file":"dist/index.js","line":4191},{"rule":"long-line","severity":"low","title":"Contains a very long single line (bundled or packed code that is hard to review)","file":"dist/index.js","line":4193},{"rule":"long-line","severity":"low","title":"Contains a very long single line (bundled or packed code that is hard to review)","file":"dist/index.js","line":4560},{"rule":"network","severity":"info","title":"Makes network requests","file":"chrome-extension/background.js","line":125,"snippet":"await fetch(`${httpBase}/`, { method: 'HEAD', signal: AbortSignal.timeout(2000) })"},{"rule":"network","severity":"info","title":"Makes network requests","file":"chrome-extension/background.js","line":130,"snippet":"const ws = new WebSocket(wsUrl)"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/index.js","line":4390,"snippet":"…}u.info(`Mailgun params: ${JSON.stringify(c)}`);let h=await fetch(d+\"?\"+new URLSearchParams(c),{method:\"GET\",headers:{Authorization:s}});if(!h.ok){let g=await h"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/index.js","line":4468,"snippet":"…ownloadsBasePath(){return this.downloadsBasePath}}});import{execFileSync as Od}from\"child_process\";import*as Dd from\"fs\";import*as Nd from\"path\";function Pg(){i"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/index.js","line":4468,"snippet":"…e.browser.close(),e.isTempUserDataDir&&e.userDataDir)try{ft.rmSync(e.userDataDir,{recursive:!0,force:!0})}catch(t){u.warn(\"[BrowserManager] Failed to clean up t"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/index.js","line":4572,"snippet":"….systemPrompt){let r=ce.join(a,`system_prompt_${o}.txt`);re.writeFileSync(r,t.systemPrompt),n.system_prompt_path=r,u.debug(`[saveDebugInfoToFiles] Saved system"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/index.js","line":4599,"snippet":"…tamp,screenshotFile:d?l:void 0,success:r.success})}return j.writeFileSync(W.join(n,\"manifest.json\"),JSON.stringify(a,null,2)),n}async logAction(e,t,i,o,n,a,r,s)"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/index.js","line":4711,"snippet":"…!1,recordEvidence:n?.record_evidence,headless:n?.headless??(process.env.PLAYWRIGHT_HEADED!==void 0?process.env.PLAYWRIGHT_HEADED!==\"true\":!1),proxy:n?.proxy,sto"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/index.js","line":4999,"snippet":"…;Kr=class e{static _instance;_logLevel;constructor(){switch(process.env.LOG_LEVEL?.toUpperCase()){case\"ERROR\":this._logLevel=1;break;case\"WARN\":this._logLevel=2"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/index.js","line":5004,"snippet":"…r=null;relayCoordinator=null;async initBrowserTools(){let t=process.env.TERMINATION_TIMEOUT?parseInt(process.env.TERMINATION_TIMEOUT,10):null,{SessionTools:i,Br"}],"vulns":[],"installScripts":[],"server":{"name":"ai.shiplight/shiplight","title":"Shiplight","description":"An MCP server that provides browser automation","websiteUrl":"https://www.shiplight.ai","version":"0.2.3"}}