{"score":80,"grade":"B","scannedAt":"2026-12-05T23:10:26.375Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"homebutler","version":"1.11.0","license":"MIT","repository":"https://github.com/Higangssh/homebutler","firstPublished":"2026-02-27T10:04:36.624Z","lastPublished":"2026-12-05T01:56:49.323Z","versions":69,"maintainers":1,"files":5,"bytes":10454,"hosts":[]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"install-script","severity":"medium","title":"Runs a script automatically when installed (postinstall)","file":"package.json","snippet":"node install.js"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"install.js","line":4,"snippet":"const { execSync } = require(\"child_process\");"},{"rule":"network","severity":"info","title":"Makes network requests","file":"install.js","line":63,"snippet":"function fetch(url) {"},{"rule":"network","severity":"info","title":"Makes network requests","file":"install.js","line":67,"snippet":"return fetch(res.headers.location).then(resolve, reject);"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"install.js","line":92,"snippet":"const winTar = path.join(process.env.SystemRoot || \"C:\\\\Windows\", \"System32\", \"tar.exe\");"},{"rule":"network","severity":"info","title":"Makes network requests","file":"install.js","line":106,"snippet":"const res = await fetch(url);"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"install.js","line":110,"snippet":"execSync(`tar -xzf \"${tmpFile}\" -C \"${BIN_DIR}\"`, { stdio: \"pipe\" });"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"install.js","line":112,"snippet":"execSync(`\"${winTar}\" -xf \"${tmpFile}\" -C \"${BIN_DIR}\"`, { stdio: \"pipe\" });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"install.js","line":119,"snippet":"fs.renameSync(found, BIN_PATH);"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"install.js","line":130,"snippet":"fs.unlinkSync(tmpFile);"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"install.js","line":134,"snippet":"fs.rmSync(full, { recursive: true });"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"install.js","line":173,"snippet":"if (process.env.npm_lifecycle_event === \"postinstall\") {"}],"vulns":[],"installScripts":["postinstall"],"server":{"name":"io.github.Higangssh/homebutler","description":"Tells an agent what changed on a server since it last looked - status, Docker, backups, Proxmox.","repository":"https://github.com/Higangssh/homebutler","version":"1.11.0"}}