{"score":100,"grade":"A","scannedAt":"2026-12-05T23:09:31.974Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@evan_zhong/browser-attach","version":"0.36.1","license":"MIT","repository":"https://github.com/EvannZhongg/BrowserAttach","firstPublished":"2026-10-21T19:45:50.237Z","lastPublished":"2026-11-30T07:11:30.941Z","versions":45,"maintainers":1,"files":73,"bytes":1394888,"hosts":[]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"network","severity":"info","title":"Makes network requests","file":"extension/connection.js","line":22,"snippet":"const response = await fetch(chrome.runtime.getURL('manifest.json'), { cache: 'no-store' });"},{"rule":"network","severity":"info","title":"Makes network requests","file":"extension/connection.js","line":51,"snippet":"const ws = new WebSocket(CONNECTION.url);"},{"rule":"network","severity":"info","title":"Makes network requests","file":"extension/controller.js","line":487,"snippet":"if (command === 'fetch') return await fetches.fetch(owner, args);"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"scripts/check-package.mjs","line":1,"snippet":"import { execFileSync } from 'node:child_process';"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"scripts/check-package.mjs","line":15,"snippet":"const result = JSON.parse(execFileSync(npm, ['pack', '--dry-run', '--ignore-scripts', '--json'], {"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/config.mjs","line":7,"snippet":"const configuredHome = process.env.BROWSER_ATTACH_HOME;"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/config.mjs","line":16,"snippet":": join(process.env.XDG_DATA_HOME || join(homedir(), '.local', 'share'), 'browser-attach');"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/config.mjs","line":37,"snippet":"await writeFile(temporary, `${JSON.stringify(data, null, 2)}\\n`, { mode: 0o600 });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/config.mjs","line":38,"snippet":"await rename(temporary, path);"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/hub-runtime.mjs","line":1,"snippet":"import { spawn } from 'node:child_process';"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/hub-runtime.mjs","line":82,"snippet":"env: { ...process.env, BROWSER_ATTACH_HOME: dirname(configPath) },"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/setup.mjs","line":71,"snippet":"await rename(target + '.updating', target);"}],"vulns":[],"installScripts":[],"server":{"name":"io.github.EvannZhongg/browser-attach","title":"BrowserAttach","description":"Control existing signed-in Chrome and Edge tabs through a locally paired extension.","websiteUrl":"https://github.com/EvannZhongg/BrowserAttach#readme","repository":"https://github.com/EvannZhongg/BrowserAttach","version":"0.36.1"}}