You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
JSON report has pattern: null and finding: null for MCP analyzer findings (RP1, LP3), so JSON consumers can't tell what matched #640
For findings from the MCP analyzers, the JSON output has pattern: null, finding: null and code_snippet: null, and it does not serialize message. The terminal and SARIF output do show the message, e.g. MCP server referenced without pinned version: 'npx @modelcontextprotocol/server-filesystem'. So in JSON, the only thing identifying what triggered RP1 is the generic explanation.
Repro: a SKILL.md containing npx @modelcontextprotocol/server-filesystem /tmp in a bash block, scanned with --format json. Both RP1 issues have pattern and finding null.
Looks like the MCP analyzers build Finding with message and matched_text but not pattern/finding, and RP1/LP3 have no entry in PATTERN_NAMES. Possibly related to #304, which reports null finding on the LLM path.
Implementation is in progress in PR #641, which fills the MCP rug-pull and least-privilege finding metadata and adds JSON-report regressions for RP1 and LP3. The PR is open and has not merged, so this issue remains open.
Resolution update: PR #641 has merged, preserving match details for MCP rug-pull and least-privilege findings in JSON reports, with sanitization retained. The MCP/report-sanitizer regressions pass on current main. This supersedes the earlier pending status; this issue was automatically closed by the merge.
Activity
rng1995 commentedon Sep 28, 2026
Implementation is in progress in PR #641, which fills the MCP rug-pull and least-privilege finding metadata and adds JSON-report regressions for RP1 and LP3. The PR is open and has not merged, so this issue remains open.
rng1995 commentedon Oct 4, 2026
Resolution update: PR #641 has merged, preserving match details for MCP rug-pull and least-privilege findings in JSON reports, with sanitization retained. The MCP/report-sanitizer regressions pass on current
main. This supersedes the earlier pending status; this issue was automatically closed by the merge.