{"score":100,"grade":"A","scannedAt":"2026-12-05T23:02:45.715Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"usetrail","version":"1.29.1","license":"MIT","repository":"https://github.com/arsprengel/trail-mcp","firstPublished":"2026-08-27T20:42:55.672Z","lastPublished":"2026-09-17T21:59:15.948Z","versions":23,"maintainers":1,"files":18,"bytes":196813,"hosts":["app.usetrail.dev","usetrail.dev"]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"bin.js","line":2,"snippet":"import { spawn } from 'node:child_process'"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"bin.js","line":63,"snippet":"writeFileSync(stamp, String(Date.now()))"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"bin.js","line":93,"snippet":"const url = process.env.TETHER_API_URL || readSaved()?.url || URL_HOSPEDADA"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/config.js","line":17,"snippet":"const base = process.env.XDG_CONFIG_HOME || join(homedir(), '.config')"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/config.js","line":23,"snippet":"const base = process.env.XDG_CONFIG_HOME || join(homedir(), '.config')"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/config.js","line":44,"snippet":"writeFileSync(tokenPath(), JSON.stringify(data, null, 2))"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/config.js","line":59,"snippet":"rmSync(join(dir, 'token.json'))"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/doctor.js","line":4,"snippet":"import { execFileSync } from 'node:child_process'"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/doctor.js","line":77,"snippet":"return execFileSync('git', ['-C', dir, ...args], { encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'] }).trim()"},{"rule":"network","severity":"info","title":"Makes network requests","file":"src/login.js","line":27,"snippet":"const startRes = await fetch(base + '/api/auth/device/start', { method: 'POST' })"},{"rule":"network","severity":"info","title":"Makes network requests","file":"src/login.js","line":43,"snippet":"const pr = await fetch(base + '/api/auth/device/poll', {"}],"vulns":[],"installScripts":[],"server":{"name":"dev.usetrail/trail","title":"Trail","description":"Issue tracker and durable project memory for your coding agent, scoped to the folder you open.","websiteUrl":"https://usetrail.dev","repository":"https://github.com/arsprengel/trail-mcp","version":"1.29.1"}}