{"score":100,"grade":"A","scannedAt":"2026-12-05T23:03:34.981Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@fileport/cli","version":"1.0.0","license":"MIT","repository":"https://github.com/fileport/cli","firstPublished":"2026-12-03T08:22:20.328Z","lastPublished":"2026-12-03T08:25:28.521Z","versions":2,"maintainers":1,"files":17,"bytes":57305,"hosts":["api.fileport.io","fileport.io"]},"capabilities":{"network":true,"files":true,"shell":false,"env":true,"dynamicCode":false},"findings":[{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/src/client.js","line":37,"snippet":"res = await fetch(url, {"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/src/config.js","line":7,"snippet":"return (process.env.FILEPORT_API_URL || 'https://api.fileport.io/v1').replace(/\\/+$/, '');"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/src/config.js","line":11,"snippet":"return join(process.env.XDG_CONFIG_HOME || join(homedir(), '.config'), 'fileport', 'config.json');"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/src/config.js","line":15,"snippet":"const env = process.env.FILEPORT_API_KEY?.trim();"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/src/config.js","line":30,"snippet":"await writeFile(path, `${JSON.stringify({ apiKey: key }, null, 2)}\\n`, { mode: 0o600 });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/src/config.js","line":37,"snippet":"await rm(configPath());"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/src/upload.js","line":91,"snippet":"const res = await fetch(`${address}?part=${part}`, {"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/src/upload.js","line":130,"snippet":"const res = await fetch(address, { headers: { 'user-agent': USER_AGENT }, signal });"}],"vulns":[],"installScripts":[],"server":{"name":"io.fileport/fileport","title":"Fileport","description":"Upload files and folders from your computer and get a link that works at once.","websiteUrl":"https://fileport.io/api","repository":"https://github.com/fileport/cli","version":"1.0.0"}}