{"score":100,"grade":"A","scannedAt":"2026-12-05T23:02:15.361Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@filelayer/core","version":"0.37.2","license":"Apache-2.0","repository":"https://github.com/filelayer/filelayer","firstPublished":"2026-09-06T11:02:53.338Z","lastPublished":"2026-11-27T23:40:56.928Z","versions":55,"maintainers":1,"files":234,"bytes":4291964,"hosts":["filelayer.dev","filelayer.invalid"]},"capabilities":{"network":true,"files":true,"shell":false,"env":true,"dynamicCode":false},"findings":[{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/cli.js","line":198,"snippet":"const url = process.env.DATABASE_URL;"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/cli.js","line":327,"snippet":"const endpoint = process.env.S3_ENDPOINT;"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/cli.js","line":328,"snippet":"const bucket = process.env.S3_BUCKET;"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/cli.js","line":352,"snippet":"res = await fetch(url, { method: 'GET', redirect: 'manual' });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/cli.js","line":638,"snippet":"writeFileSync(path, json, { flag: 'wx' });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/storage.js","line":616,"snippet":"await writeFile(tmp, this.#encode({ key, contentType, etag, bytes: bytes.byteLength, at: new Date().toISOString() }, bytes),"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/storage.js","line":630,"snippet":"await rename(tmp, obj);"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/storage.js","line":992,"snippet":"await res.arrayBuffer(); // drain; undici leaks the connection otherwise"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/storage.js","line":1478,"snippet":"return fetch(target, {"}],"vulns":[],"installScripts":[],"server":{"name":"dev.filelayer/core","title":"Filelayer","description":"User files for a SaaS, under one person's authority: list, share with an expiry, revoke.","websiteUrl":"https://filelayer.dev","repository":"https://github.com/filelayer/filelayer","version":"0.37.2"}}