Skip to main content

maplewatch 🍁

Which Canadian Cyber Centre security advisories actually affect the software you run?

The Canadian Centre for Cyber Security published over 1,190 advisories in 2026 alone, three or four every day. Nobody can read them all. maplewatch is an MCP server (and a small CLI) that checks every advisory against your own stack: a short YAML file, your SBOMs, or your running Docker containers. It tells you which ones hit you, which version fixes them, and why.

Unofficial. maplewatch is not affiliated with or endorsed by the Canadian Centre for Cyber Security, the Communications Security Establishment, or the Government of Canada. It reads their public advisories and links back to each one. Always confirm on the linked advisory before acting.

$ maplewatch-mcp --report
maplewatch 0.1.0: 1304 Cyber Centre advisories since 2025-11-17, 8 pieces of software checked

AFFECTED AV26-1168  GitLab 19.5.5  (GitLab) 19.5.5 is on the 19.5.x line, fixed in 19.5.6
         https://www.cyber.gc.ca/en/alerts-advisories/gitlab-security-advisory-av26-1168
AFFECTED AV26-285   Grafana 12.2.0  (Grafana) 12.2.0 is on the 12.2.x line, fixed in 12.2.8
         https://www.cyber.gc.ca/en/alerts-advisories/grafana-security-advisory-av26-285
AFFECTED AV26-1075  Roundcube 1.6.14  (Roundcube Webmail) 1.6.14 is on the 1.6.x line, fixed in 1.6.20
         https://www.cyber.gc.ca/en/alerts-advisories/roundcube-security-advisory-av26-1075
CHECK    AV26-584   n8n 1.120.4  (n8n (Credential Exfiltration)) ... these aren't machine-readable: multiple versions
...
58 name matches ruled out by version.

(Output from examples/stack.example.yaml, shortened.)

What it does

  • Reads the whole archive. Every advisory since 2016 comes from the same public endpoint cyber.gc.ca's own advisories page uses, plus the Atom feed for anything published in the last few minutes. Both English and French.
  • Understands how advisories describe versions. "Prior to 19.5.6", "versions 0.123.0 to versions prior to 1.121.3", "15.x versions prior to 15.2.3", "Versions antérieures à la version 3.1.2, 3.0.9 et 2.9.14", and maintained release lines: GitLab 19.4.7 is checked against the 19.4 fix, not the 19.5 one.
  • Never guesses. When the advisory says "multiple versions", when a vendor uses its own scheme (22.7R2.5), or when your image is :latest, the answer is check, with the reason. It doesn't invent a yes or a no.
  • Read-only, everywhere. No tool writes, executes or deletes anything. See SECURITY.md.

Quick start

  1. List what you run (or skip this and use Docker discovery or SBOMs, below):

    # ~/maplewatch/stack.yaml
    software:
      - name: GitLab
        version: 19.5.5
      - name: Roundcube
        version: 1.6.14
        aliases: [Roundcube Webmail]
    
  2. Try it from a terminal (needs uv):

    MAPLEWATCH_STACK=~/maplewatch/stack.yaml uvx maplewatch-mcp --report          # English
    MAPLEWATCH_STACK=~/maplewatch/stack.yaml uvx maplewatch-mcp --report --lang fr  # français
    
  3. Add it to your MCP client (Claude Desktop shown; any MCP client works):

    {
      "mcpServers": {
        "maplewatch": {
          "command": "uvx",
          "args": ["maplewatch-mcp"],
          "env": { "MAPLEWATCH_STACK": "/Users/you/maplewatch/stack.yaml" }
        }
      }
    }
    

    Then ask: "Which Cyber Centre advisories affect my stack this year?"

The first run downloads the archive (about 2 MB compressed) and takes about 10 seconds. After that it starts from a local cache in under a second.

Tools

Tool What it answers
maplewatch_check_stack Which advisories affect my software? (days: look-back window, default 365)
maplewatch_latest The newest alerts and advisories, optionally for one vendor
maplewatch_search Every advisory since 2016 mentioning a product, vendor or CVE id
maplewatch_get One advisory in detail: affected products and versions, CVEs, vendor links
maplewatch_my_stack What maplewatch thinks you run, and which entries can't be compared

All five are marked readOnlyHint: true. Everything takes a lang of en or fr.

What you run: three sources

Source Turn it on with Notes
Stack file MAPLEWATCH_STACK=/path/stack.yaml software: [{name, version, aliases}] or a plain name: version map
SBOMs MAPLEWATCH_SBOM=/path/a.json,/path/b.json CycloneDX JSON from syft, trivy, ...
Docker MAPLEWATCH_DOCKER=1 Reads the version from image labels, <APP>_VERSION env vars, or the tag

For Docker, point DOCKER_HOST at a read-only socket proxy instead of the raw socket. See examples/docker-compose.socket-proxy.yaml.

About :latest: an image tagged latest with no version label has no version maplewatch can compare, so it can only ever say "check". Pinning image versions is good practice anyway: you can't patch what you can't identify.

How a verdict is reached

  1. Name match. exact (GitLab = GitLab), likely (the advisory's vendor is the software you listed, e.g. Roundcube's advisory for "Webmail"), or possible (your name is only part of the product name).
  2. Version check against the advisory's affected versions.
  3. Result. affected = a confident name match and a version inside an affected range. check = a human should look. A match ruled out by version is counted, not shown.

Data and fair use

  • Advisory data © Government of Canada (Communications Security Establishment), used under its terms for non-commercial reproduction with attribution. Every result carries the source and a link to the original advisory.
  • Polite by design: the archive is fetched at most once a day, the feed at most every 15 minutes, with an identifying User-Agent. If the site is down, maplewatch serves its cache and says so.
  • No telemetry. Nothing about your stack leaves your machine; the only outbound requests go to www.cyber.gc.ca.

Development

uv venv && uv pip install -e ".[dev]"
pytest                               # offline suite, no network
MAPLEWATCH_LIVE=1 pytest -m live     # against the real cyber.gc.ca
ruff check src tests && ruff format --check src tests

See CONTRIBUTING.md. Good first issues: more version phrasings, more inventory sources (Proxmox, Kubernetes, dpkg -l), and output formats (Markdown, SARIF).

License

MIT for the code. Advisory content belongs to the Government of Canada; see Data and fair use.

Metadata

Release files for maplewatch-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for maplewatch-mcp 0.1.0
File Size Uploaded Provenance Actions
maplewatch_mcp-0.1.0.tar.gz 35.4 kB With provenance Details for maplewatch_mcp-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for maplewatch-mcp 0.1.0
File Interpreter ABI Platform Actions
maplewatch_mcp-0.1.0-py3-none-any.whl Python 3 none any Details for maplewatch_mcp-0.1.0-py3-none-any.whl

Total release size: 60.4 kB

Release files / maplewatch_mcp-0.1.0.tar.gz

Download URL maplewatch_mcp-0.1.0.tar.gz
Size 35.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d422c44bf6ad4c08da3b67e4da8db77d0fb8d887463c06180252afe24c66a6bc
BLAKE2b-256 checksum
How to use checksums
eadaec3bdc855debf1600958b59ece4676483d58359c5e2c0a78f952cddc4e6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / maplewatch_mcp-0.1.0-py3-none-any.whl

Download URL maplewatch_mcp-0.1.0-py3-none-any.whl
Size 25.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e403c8e4d27964b0bba97d04bf4c97f670d5f5fd7f7446444fc5672bcc2cc812
BLAKE2b-256 checksum
How to use checksums
94f80499ddffb8ebd590a2c3e4aa9c5ce573cad42fc347d7972c2d97e9096636
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Security for maplewatch-mcp 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for maplewatch_mcp-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page