microsoft/flint-chart
🪄 Flint is a visualization language that lets AI agents reliably create expressive, good-looking charts from simple, human-editable chart specs.
cd3c6fb00701flint-chart-site0.0.0 in site/package.jsonPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- Some paths pass through more than 8 functions one inside another; the scanner stops there
- In 157 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- 178 source files could be read only in part
Top risks in plain words
- INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Not every path through the code could be followed. Code findings appear here only after a person has verified them.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 8 tools, 6 resources, 3 prompts. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
agent-skill, app-skill, author_flint_chart, author_flint_interaction, author_flint_theme, board-skill and 4 moreNo tool was seen to: start other programs on the machine; connect to the internet or other hosts; read passwords, tokens or keys; read environment variables; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files10 tools · agent-skill, app-skill, author_flint_chart +7
Not all three are present in the tools the scanner traced.
Tool annotations
1 of 17 tools declares annotations. readOnlyHint 1.
Each declaration matches what the traced code does.
Tools, prompts and resources (17: 8 tools, 6 resources, 3 prompts)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
author_flint_chartprompt Load the Flint chart-author skill before generating, validating, compiling, or rendering Flint charts.Filesoutside text
Load the Flint chart-author skill before generating, validating, compiling, or rendering Flint charts.
author_flint_interactionprompt Load the Flint interaction-author skill before adding behaviour to a chart, or marks and emphasis (updates) on it.Filesoutside text
Load the Flint interaction-author skill before adding behaviour to a chart, or marks and emphasis (updates) on it.
author_flint_themeprompt Load the Flint theme-author skill before creating, translating, refining, reviewing, or validating a ThemeSpec.Filesoutside text
Load the Flint theme-author skill before creating, translating, refining, reviewing, or validating a ThemeSpec.
agent-skillresource Bundled Flint authoring instructions for generating ChartAssemblyInput specs.Filesoutside text
Bundled Flint authoring instructions for generating ChartAssemblyInput specs.
app-skillresource Bundled instructions for code that uses flint-chart: install, compile, mount with interactions, read the chart, apply updates, link charts, and bespoke interactFilesoutside text
Bundled instructions for code that uses flint-chart: install, compile, mount with interactions, read the chart, apply updates, link charts, and bespoke interactions.
board-skillresource Bundled instructions for a board of several charts in one card: the headline, which charts, their layout, links between them, and refining the board from its reFilesoutside text
Bundled instructions for a board of several charts in one card: the headline, which charts, their layout, links between them, and refining the board from its report.
chart-typesresource Catalog of chart types and channels across all enabled backends.
Catalog of chart types and channels across all enabled backends.
interaction-skillresource Bundled instructions for behaviour and state on a chart: when to add interactions, presets as one valid interaction_spec, and the ChartUpdate layers (updates) aFilesoutside text
Bundled instructions for behaviour and state on a chart: when to add interactions, presets as one valid interaction_spec, and the ChartUpdate layers (updates) an agent leaves on a chart.
theme-skillresource Bundled instructions for creating valid reusable Flint ThemeSpecs.Filesoutside text
Bundled instructions for creating valid reusable Flint ThemeSpecs.
compile_charttool Compile a Flint chart spec to a backend-native spec object (Vega-Lite / ECharts / Chart.js) without rendering. Returns the spec JSON, assembly warnings, and the
Compile a Flint chart spec to a backend-native spec object (Vega-Lite / ECharts / Chart.js) without rendering. Returns the spec JSON, assembly warnings, and the computed layout size.
get_flint_skilltool Return a bundled Flint skill as markdown. Read it once before you write the matching spec: `chart` for a ChartAssemblyInput, `theme` for a ThemeSpec, `interactiFilesoutside textread-only (declared)
Return a bundled Flint skill as markdown. Read it once before you write the matching spec: `chart` for a ChartAssemblyInput, `theme` for a ThemeSpec, `interaction` for an interaction_spec or ChartUpdate layers (updates), `board` for a board spec, `app` for code that uses flint-chart in an application. Pass `section` with a heading to get only that part; an unknown section lists the headings. The same text is served as the flint://agent-skill, flint://theme-skill, flint://interaction-skill, flint://board-skill and flint://app-skill resources.
list_chart_typestool The chart types, each with its channels and a one-line note on what it is for, for a backend (or all). Pass `chartType` for one type in full: its guidance (map
The chart types, each with its channels and a one-line note on what it is for, for a backend (or all). Pass `chartType` for one type in full: its guidance (map keys, which bar chart), its chartProperties with values, defaults and effects, and the interaction presets it supports in interaction_spec (Vega-Lite).
list_interaction_presetstool List the interaction presets for interaction_spec: what the reader does, what each needs from the chart, its reset gestures, and every option it accepts under `
List the interaction presets for interaction_spec: what the reader does, what each needs from the chart, its reset gestures, and every option it accepts under `options`. Pass `chartType` for the presets a Vega-Lite chart type supports, or `type` for one preset. Which presets answer a request and how they combine is in get_flint_skill with skill "interaction", section "Add interactions".
list_themestool List Flint visual theme presets for `theme_spec` (for example, `theme_spec: "economist"`). Pass an `id` for preset-specific authoring guidance. To customize a p
List Flint visual theme presets for `theme_spec` (for example, `theme_spec: "economist"`). Pass an `id` for preset-specific authoring guidance. To customize a preset, use an object with `extends` and a small set of overrides.
render_charttool Compile a Flint chart spec for a backend and render it to a STATIC image (PNG) or vector (SVG), returned inline. Rendering is local/in-process. The chartjs back
Compile a Flint chart spec for a backend and render it to a STATIC image (PNG) or vector (SVG), returned inline. Rendering is local/in-process. The chartjs backend supports PNG only. Prefer show instead when the host supports MCP App UIs; use render_chart for a static artifact or when no App UI is available.
validate_boardtool Check a board of several Flint charts without drawing it, for a host with no card UI or a static image; with a card, call show directly, which runs the same che
Check a board of several Flint charts without drawing it, for a host with no card UI or a static image; with a card, call show directly, which runs the same check. The report gives the layout in one line, what to fix before it draws, and what it would draw with. Before the first board, call get_flint_skill with skill "board".
validate_charttool Validate a Flint chart spec for a backend without rendering. Every backend returns the validation result as JSON (also in structuredContent). For vegalite, a seFilesoutside text
Validate a Flint chart spec for a backend without rendering. Every backend returns the validation result as JSON (also in structuredContent). For vegalite, a second block follows: the report of what to act on (errors, warnings, interaction_spec entries the chart drops, and update ops that will not apply, ✗), the same report show returns; "Nothing to fix" when it is clean. For a host with no card UI; with a card, call show directly, which runs the same check. Nothing is kept between calls.
Text the model reads (17)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
render_chart tool
Compile a Flint chart spec for a backend and render it to a STATIC image (PNG) or vector (SVG), returned inline. Rendering is local/in-process. The chartjs backend supports PNG only. Prefer show instead when the host supports MCP App UIs; use render_chart for a static artifact or when no App UI is available.
compile_chart tool
Compile a Flint chart spec to a backend-native spec object (Vega-Lite / ECharts / Chart.js) without rendering. Returns the spec JSON, assembly warnings, and the computed layout size.
validate_chart tool
Validate a Flint chart spec for a backend without rendering. Every backend returns the validation result as JSON (also in structuredContent). For vegalite, a second block follows: the report of what to act on (errors, warnings, interaction_spec entries the chart drops, and update ops that will not apply, ✗), the same report show returns; "Nothing to fix" when it is clean. For a host with no card UI; with a card, call show directly, which runs the same check. Nothing is kept between calls.
list_chart_types tool
The chart types, each with its channels and a one-line note on what it is for, for a backend (or all). Pass `chartType` for one type in full: its guidance (map keys, which bar chart), its chartProperties with values, defaults and effects, and the interaction presets it supports in interaction_spec (Vega-Lite).
list_interaction_presets tool
List the interaction presets for interaction_spec: what the reader does, what each needs from the chart, its reset gestures, and every option it accepts under `options`. Pass `chartType` for the presets a Vega-Lite chart type supports, or `type` for one preset. Which presets answer a request and how they combine is in get_flint_skill with skill "interaction", section "Add interactions".
get_flint_skill tool
Return a bundled Flint skill as markdown. Read it once before you write the matching spec: `chart` for a ChartAssemblyInput, `theme` for a ThemeSpec, `interaction` for an interaction_spec or ChartUpdate layers (updates), `board` for a board spec, `app` for code that uses flint-chart in an application. Pass `section` with a heading to get only that part; an unknown section lists the headings. The same text is served as the flint://agent-skill, flint://theme-skill, flint://interaction-skill, flint://board-skill and flint://app-skill resources.
list_themes tool
List Flint visual theme presets for `theme_spec` (for example, `theme_spec: "economist"`). Pass an `id` for preset-specific authoring guidance. To customize a preset, use an object with `extends` and a small set of overrides.
validate_board tool
Check a board of several Flint charts without drawing it, for a host with no card UI or a static image; with a card, call show directly, which runs the same check. The report gives the layout in one line, what to fix before it draws, and what it would draw with. Before the first board, call get_flint_skill with skill "board".
author_flint_chart prompt
Load the Flint chart-author skill before generating, validating, compiling, or rendering Flint charts.
author_flint_theme prompt
Load the Flint theme-author skill before creating, translating, refining, reviewing, or validating a ThemeSpec.
author_flint_interaction prompt
Load the Flint interaction-author skill before adding behaviour to a chart, or marks and emphasis (updates) on it.
chart-types resource
Catalog of chart types and channels across all enabled backends.
agent-skill resource
Bundled Flint authoring instructions for generating ChartAssemblyInput specs.
theme-skill resource
Bundled instructions for creating valid reusable Flint ThemeSpecs.
interaction-skill resource
Bundled instructions for behaviour and state on a chart: when to add interactions, presets as one valid interaction_spec, and the ChartUpdate layers (updates) an agent leaves on a chart.
board-skill resource
Bundled instructions for a board of several charts in one card: the headline, which charts, their layout, links between them, and refining the board from its report.
app-skill resource
Bundled instructions for code that uses flint-chart: install, compile, mount with interactions, read the chart, apply updates, link charts, and bespoke interactions.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 17 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 17 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 17 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 17 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 17 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 17 capabilities; 17 more call code the scanner could not follow, where it may happen
- Tools that touch files10 of 17 capabilities touch files; 7 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 17 capabilities; 17 more call code the scanner could not follow, where it may happen
Where the code is: 17 handlers in 1 file at commit cd3c6fb00701
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests6 manifests: package.json, packages/flint-js/package.json, packages/flint-mcp/package.json, packages/flint-py/pyproject.toml, site/package.json
- Lockfiles checked against OSV3 files resolved and checked against the OSV database; 4 not resolved: packages/flint-js/package.json: dependency ranges declared here were not resolved against a lockfile and were not checked; packages/flint-mcp/package.json: dependency ranges declared here were not resolved against a lockfile and were not checked
- Known vulnerabilities in production dependenciesNo production dependency with a known advisory
- Known vulnerabilities in other dependencies1 package with advisories used only for development, tests or examples; an install of the server leaves them out
- MCP SDK version@modelcontextprotocol/ext-apps ^1.7.4, @modelcontextprotocol/sdk ^1.29.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 17 capabilities; 17 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
1 vulnerable package outside the server itself (used only for development, tests or examples, not shipped)
globnpm 13.0.6 MEDIUM 1 advisory 14.0.2
- MEDIUMGHSA-3g3m-2fjr-6pw4 CVE-2026-118773Glob: AbortSignal cancellation bypass allows post-timeout filesystem traversal
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | Streamable HTTP, stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | @modelcontextprotocol/ext-apps ^1.7.4, @modelcontextprotocol/sdk ^1.29.0 |
| Servers in the code | 1 (flint-chart-mcp) |
The project's own security
| Security policy | yes .github/SECURITY.md |
|---|---|
| Private reporting | the policy does not name a private channel |
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-14 |
| Signed releases | not checked yet |
Where it is published
| Other npm packages | 1 package by other publishers point to this repositoryNot published by the repository's owner; check who publishes a package before you install it. |
|---|---|
| Listed in | 2 catalogs (github_search, npm) |
| License | MIT |
| Created | 2026-05-13 |
| Topics | ai-agents charting-library data-visualization mcp-server |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.