Skip to content

Security: libraz/libsonare-mcp

SECURITY.md

Security policy

Reporting a vulnerability

Use Report a vulnerability on the repository’s Security tab to report privately. Keep vulnerability details out of public issues.

Include the tool call (tool name and arguments) or the file that triggers it, what happened, the libsonare-mcp, libsonare and libcantus versions, your OS, and a minimal reproduction if you have one. Expect an acknowledgement within a few days.

Supported versions

Alpha, on the 0.x line. Fixes land on the latest commit of main only; older versions are not patched.

What is in scope

libsonare-mcp runs with the permissions of the user who started the MCP client, reads the files a tool call names and writes new files. In scope:

  • A tool call that overwrites a separate output file without overwrite: true, or writes outside its documented destination. Documented in-place updates, such as project_edit saving back to its own path when output is omitted, are expected.
  • A tool call that leaves a partial or temporary file in place of an output after it fails.
  • An audio, MIDI or project file, or a tool argument, that gets past the configured limits (input duration, response size, cache size) and makes the server hang or grow without bound.
  • python -m libsonare_mcp init or uninstall changing anything in a client configuration other than this server's own entry.

What is not in scope

  • Reading a file the user running the client can read. Inputs may live anywhere readable on purpose; the MCP client decides which calls to allow.
  • Wrong analysis results, and crashes or hangs inside audio decoding, DSP or rendering. Report those to libsonare, or to libcantus for music theory, each under its own security policy.
  • Findings that require an attacker to already control the MCP client, its configuration or the Python environment the server runs in.

There aren't any published security advisories