{"score":90,"grade":"A","scannedAt":"2026-12-05T22:58:25.524Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@copado/agentia-cli","version":"1.20.0","license":"SEE LICENSE IN LICENSE.md","firstPublished":"2026-07-28T15:34:11.113Z","lastPublished":"2026-12-04T14:54:08.713Z","versions":142,"maintainers":5,"files":713,"bytes":25330156,"hosts":["dev.api.copado.com","developer.copado.com","gitlab.com","test.api.copado.com","uat.pipeline.copado.com"]},"capabilities":{"network":false,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"long-line","severity":"low","title":"Contains a very long single line (bundled or packed code that is hard to review)","file":"dist/lib/apex-parser.bundle.mjs","line":2},{"rule":"long-line","severity":"low","title":"Contains a very long single line (bundled or packed code that is hard to review)","file":"dist/lib/apex-parser.bundle.mjs","line":8},{"rule":"long-line","severity":"low","title":"Contains a very long single line (bundled or packed code that is hard to review)","file":"dist/lib/apex-parser.bundle.mjs","line":10},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/hooks/init/cicd-connection.js","line":18,"snippet":"const fromEnv = process.env.AGENTIA_CICD_CONNECTION?.trim();"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/commands/cicd/job/result-file/get.js","line":45,"snippet":"writeFileSync(flags['output-file'], content);"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/commands/cicd/metadata/content/get.js","line":121,"snippet":"writeFileSync(contentFlags['output-file'], decodeBase64(rows[0].contentBase64));"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/commands/cicd/promotion/conflict/get.js","line":37,"snippet":"writeFileSync(flags.output, content, 'utf8');"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/commands/plugins/install.js","line":36,"snippet":"const customRegistry = Boolean(process.env[registryVariable]);"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/lib/mcp/instance-registry.js","line":21,"snippet":"return process.env[ENV_MCP_INSTANCES_DIR] ?? instancesDirOverride ?? defaultMcpInstancesDir();"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/lib/version-warning.js","line":1,"snippet":"import { spawn } from 'node:child_process';"}],"vulns":[],"installScripts":[],"server":{"name":"com.copado/agentia-cli","title":"Agentia MCP Server by Copado","description":"Agentia Headless MCP server: ship Salesforce changes via Copado's governed pipeline from any agent.","websiteUrl":"https://developer.copado.com/","repository":"https://github.com/CopadoSolutions/agentia-cli-mcp","version":"1.20.0"}}