{"score":80,"grade":"B","scannedAt":"2026-12-05T22:56:51.865Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@unpaper/cli","version":"0.3.0","license":"SEE LICENSE IN LICENSE","firstPublished":"2026-07-05T21:54:48.173Z","lastPublished":"2026-08-06T10:12:58.491Z","versions":4,"maintainers":1,"files":34,"bytes":926150,"hosts":["schemas.openxmlformats.org","www.unpaper.ai"]},"capabilities":{"network":false,"files":true,"shell":true,"env":true,"dynamicCode":true},"findings":[{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"dist/importer/import.mjs","line":40,"snippet":"const nodeFs = () => new Function('m', 'return import(m)')('node:fs/promises')"},{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"dist/importer/rehydrate.mjs","line":18,"snippet":"const nodeFs = () => new Function('m', 'return import(m)')('node:fs/promises')"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/browser.mjs","line":23,"snippet":"const chosen = explicit || process.env.UNPAPER_BROWSER || process.env.CHROME_PATH"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/convert.mjs","line":38,"snippet":"writeFileSync(inputPath, opts.html)"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/convert.mjs","line":143,"snippet":"writeFileSync(out, outData)"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/importer/deposition.mjs","line":46,"snippet":"writeFileSync("},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/importer/elevate.mjs","line":13,"snippet":"import { execFileSync } from 'node:child_process'"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/importer/elevate.mjs","line":30,"snippet":"execFileSync('soffice', ['--version'], { stdio: 'pipe' })"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/importer/elevate.mjs","line":73,"snippet":"execFileSync(soffice, ["},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/importer/shared.mjs","line":196,"snippet":"((typeof process !== 'undefined' && process.env?.UNPAPER_NOW) || new Date().toISOString()).slice(0, 10)"}],"vulns":[],"installScripts":[],"server":{"name":"ai.unpaper/cli","description":"Slide decks locally: templates, checks, HTML to editable PowerPoint, .pptx rescue. No AI inside.","websiteUrl":"https://www.unpaper.ai/agents","version":"0.3.0"}}