v0.2.0 · live
CAPFRAME
← leaderboard/Javadocs.dev MCP/tool · list_source_files
§ toolhttpJavadocs.dev MCP

list_source_files

on https://www.javadocs.dev/mcp

Severity

critical0
high0
medium2
low0
info0

2 findings on this tool

  1. mediumunconstrained inputf-r1-list_source_files

    Tool `list_source_files` accepts unconstrained string input

    The following string parameter(s) have no `maxLength` constraint: `artifactId`, `groupId`, `version`. Unbounded strings let an attacker stuff arbitrary payloads through the tool, including indirect-injection content.

    fix: Add a `maxLength` to each string property, or constrain with an `enum` or `pattern`. Most legitimate tool inputs fit under a few hundred bytes.

    OWASP LLM01NIST MEASURE-2.3ATLAS T0051CAST-03
  2. mediumexcessive agencyf-r5-list_source_files

    Tool `list_source_files` description mentions money but no `money` side-effect is declared

    Description: "Lists the raw source files (`.java`, `.kt`, and `.scala`) in a Maven Central artifact version's `-sources.jar`. Each returned path can be passed to get_source_file to read the actual source code. Use this only when you need the implementation — for example, to trace behavior or see how something is wired. To discover which classes exist, or to find classes by topic or name, use list_javadoc_symbols instead; do not use this tool just to enumerate classes. Works against the live Maven Central catalog with no local install, build, or checkout required." -- this references money/payment/refund/etc., but the declared side_effects ([]) don't include `money`. A capframe-bind policy that relies on declared side_effects to scope spend caveats will under-scope this tool.

    fix: Add `money` to the tool's `side_effects` declaration, or rewrite the description to clarify that no actual money moves.

    OWASP LLM08NIST MEASURE-2.6ATLAS T0040CAST-01

About this tool

list_source_files is one of 8 tools exposed by Javadocs.dev MCP. The server scored 74/100 overall against the capframe rule engine (source: http). Last scanned 2026-08-13.

The findings above are emitted by the public capframe.findings.v1 schema. Disagree with one? Open an issue.