{"score":90,"grade":"A","scannedAt":"2026-12-05T23:10:26.017Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@heshamfsalama/mcp-tool-factory","version":"0.1.0","license":"MIT","repository":"https://github.com/HeshamFS/mcp-tool-factory-ts","firstPublished":"2025-12-30T00:36:16.847Z","lastPublished":"2025-12-30T00:36:17.219Z","versions":2,"maintainers":1,"files":31,"bytes":3583337,"hosts":["ai.google.dev","api.weather.com","docs.anthropic.com","login.microsoftonline.com","oauth2.googleapis.com","openidconnect.googleapis.com","platform.claude.com","platform.openai.com"]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":true},"findings":[{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"dist/index.cjs","line":5422,"snippet":"message: \"eval() is dangerous and can execute arbitrary code\","},{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"dist/index.cjs","line":5423,"snippet":"recommendation: \"Avoid eval(); use safer alternatives like JSON.parse()\""},{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"dist/index.cjs","line":5430,"snippet":"message: \"new Function() is dangerous and can execute arbitrary code\","},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/cli/index.cjs","line":141,"snippet":"return process.env[envVar] ?? null;"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/cli/index.cjs","line":169,"snippet":"if (process.env.CLAUDE_CODE_OAUTH_TOKEN) {"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/cli/index.cjs","line":172,"snippet":"if (process.env.ANTHROPIC_API_KEY) {"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/cli/index.cjs","line":709,"snippet":"await promises.writeFile(path.join(outputPath, \"src\", \"index.ts\"), server.serverCode);"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/cli/index.cjs","line":710,"snippet":"await promises.writeFile(path.join(outputPath, \"tests\", \"tools.test.ts\"), server.testCode);"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/cli/index.cjs","line":711,"snippet":"await promises.writeFile(path.join(outputPath, \"Dockerfile\"), server.dockerfile);"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/cli/index.cjs","line":997,"snippet":"if (dep === \"axios\") {"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/cli/index.cjs","line":998,"snippet":"imports.push(\"import axios from 'axios';\");"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/cli/index.cjs","line":1761,"snippet":"\"dependencies\": [\"axios\", \"lodash\"]"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/cli/index.cjs","line":4532,"snippet":"const { spawn } = await import('child_process');"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/cli/index.cjs","line":4555,"snippet":"const { spawn } = await import('child_process');"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/index.cjs","line":5397,"snippet":"pattern: \"child_process\\\\.exec\\\\s*\\\\(\","}],"vulns":[],"installScripts":[],"server":{"name":"io.github.HeshamFS/mcp-tool-factory","description":"Generate MCP servers from natural language, OpenAPI specs, or database schemas.","repository":"https://github.com/HeshamFS/mcp-tool-factory-ts","version":"0.1.0"}}