{"score":90,"grade":"A","scannedAt":"2026-12-05T22:57:02.876Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"devicemock","version":"0.3.1","license":"SEE LICENSE IN LICENSE","firstPublished":"2026-11-12T02:04:24.988Z","lastPublished":"2026-11-25T13:23:15.817Z","versions":5,"maintainers":1,"files":35,"bytes":7564166,"hosts":["devicemock.app","www.oodesign.com","www.opengl-tutorial.org","www.russellcottrell.com"]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/cli.mjs","line":7,"snippet":"import { spawn } from \"node:child_process\";"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/cli.mjs","line":166,"snippet":"const response = await fetch(current, {"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/cli.mjs","line":226,"snippet":"this.site = siteOrigin(options.site ?? process.env.DEVICEMOCK_URL ?? \"https://devicemock.app\");"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/cli.mjs","line":227,"snippet":"this.file = path.join(options.configDir ?? process.env.DEVICEMOCK_CONFIG_DIR ?? defaultConfigDir(), \"credentials.json\");"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/cli.mjs","line":228,"snippet":"this.envKey = options.envKey ?? (process.env.DEVICEMOCK_API_KEY || void 0);"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/cli.mjs","line":424,"snippet":"return this.fetch(`${this.site}${pathname}`, {"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/cli.mjs","line":465,"snippet":"await this.writeFile(file);"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/cli.mjs","line":472,"snippet":"if (Object.keys(file.sites).length === 0) await rm(this.file, { force: true });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/cli.mjs","line":473,"snippet":"else await this.writeFile(file);"}],"vulns":[],"installScripts":[],"server":{"name":"app.devicemock/devicemock","title":"DeviceMock","description":"3D device mockups of your app, made by your coding agent from live pages or screenshots.","websiteUrl":"https://devicemock.app/connect","version":"0.3.1"}}