v0.2.0 · live
CAPFRAME
← leaderboard/AntV Chart MCP/tool · generate_sankey_chart
§ toolsandboxAntV Chart MCP

generate_sankey_chart

on npm:@antv/mcp-server-chart@0.9.10

Severity

critical0
high0
medium2
low0
info0

2 findings on this tool

  1. mediumunconstrained inputf-r1-generate_sankey_chart

    Tool `generate_sankey_chart` accepts unconstrained string input

    The following string parameter(s) have no `maxLength` constraint: `nodeAlign`, `theme`, `title`. 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 T0051
  2. mediumexcessive agencyf-r5-generate_sankey_chart

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

    Description: "Generate a sankey chart to visualize the flow of data between different stages or categories, such as, the user journey from landing on a page to completing a purchase." -- 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 T0040

About this tool

generate_sankey_chart is one of 27 tools exposed by AntV Chart MCP. The server scored 42/100 overall against the capframe rule engine (source: sandbox). Last scanned 2026-06-05.

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