{"score":100,"grade":"A","scannedAt":"2026-12-05T23:08:41.942Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"mediagen","version":"0.3.0","license":"MIT","repository":"https://github.com/Cripacx/mediagen","firstPublished":"2026-08-22T23:55:22.734Z","lastPublished":"2026-08-23T02:40:57.957Z","versions":3,"maintainers":1,"files":164,"bytes":552102,"hosts":["ai.google.dev","api.kie.ai","cv.iptc.org","digital-strategy.ec.europa.eu","docs.kie.ai","ec.europa.eu","iptc.org","kie.ai","ns.adobe.com","platform.openai.com"]},"capabilities":{"network":true,"files":true,"shell":false,"env":true,"dynamicCode":false},"findings":[{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/providers/kie/api.js","line":30,"snippet":"const response = await fetch(`${API_BASE}${path}`, {"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/bin.js","line":15,"snippet":"process.env['MEDIAGEN_VERBOSE'] = '1';"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/config/file.js","line":19,"snippet":"const xdg = process.env['XDG_CONFIG_HOME'];"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/config/file.js","line":24,"snippet":"const appData = process.env['APPDATA'];"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/config/file.js","line":59,"snippet":"writeFileSync(filePath, `${JSON.stringify(config, null, 2)}\\n`, {"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/providers/kie/imageClient.js","line":151,"snippet":"const response = await fetch(url, signal ? { signal } : {});"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/providers/openai/imageClient.js","line":82,"snippet":"const response = await fetch(entry.url, signal ? { signal } : {});"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/marking/mark.js","line":170,"snippet":"await writeFile(destination, data).catch(() => {"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/core/output.js","line":42,"snippet":"await writeFile(filePath, data);"}],"vulns":[],"installScripts":[],"server":{"name":"io.github.Cripacx/mediagen","description":"Generate images and video from text prompts across Gemini, OpenAI and Kie AI.","repository":"https://github.com/Cripacx/mediagen","version":"0.3.0"}}