fix(security): bump fastmcp to >=3.2.4,<4 + clear all open Dependabot advisories (closes #35)#50
Merged
Merged
Conversation
rf-mcp now runs on fastmcp 3.x (verified: rf-mcp 0.31.2 imports + boots its HTTP server cleanly under fastmcp 3.2.4; RoboScope uses rf-mcp only transitively, out-of-process over HTTP, and never imports fastmcp directly). - backend/pyproject.toml: fastmcp <3 -> >=3.2.4,<4, rf-mcp >=0.30.0 -> >=0.31.2 * >=3.2.4 closes CVE-2026-32871 (SSRF/path-traversal), CVE-2026-27124 (OAuth-proxy confused deputy) + the cmd-injection, and skips the 3.0.0-3.2.3 auth-header-leak window * <4 keeps an untested fastmcp 4.0 out of fresh-resolution builds - backend/uv.lock: regenerated -> fastmcp 3.2.4, rf-mcp 0.31.2; drops fastmcp 2.x baggage (redis, fakeredis, prometheus-client, pydocket, diskcache, ...) - project-context.md: updated the fastmcp pin note (floor + <4 guard) - .gitignore: ignore local-only presentation/ deck (licensed fonts + internal SVGs) Verification: rf-mcp HTTP boot OK under 3.2.4; backend AI suite 187 passed; no .py source changed (no lint/type regression). Reviewed by 3 adversarial agents. Closes #35 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Clears the open GitHub Dependabot alerts across all ecosystems on top of the fastmcp bump. Backend (pip, backend/pyproject.toml + uv.lock): - gitpython >=3.1.43 -> >=3.1.50 (high) - authlib >=1.6.10 -> >=1.6.12 (resolves 1.7.2; medium) - python-multipart >=0.0.12 -> >=0.0.27 (resolves 0.0.32; high) - lxml 6.0.4->6.1.1, Mako 1.3.11->1.3.12, urllib3 2.6.3->2.7.0, idna 3.11->3.18 (transitive, relocked) Frontend (npm, frontend/): - vitest -> 4.1.9 (critical), js-cookie + postcss via audit fix - esbuild pinned >=0.28.1 via overrides (high) — prod build verified Extension (npm + yarn, extension/): - lodash >=4.18.0, serialize-javascript >=7.0.5 via overrides + resolutions (high), both lockfiles synced; also cleared 4 local-only transitive audit findings. 64 mocha tests pass. Not fixed (documented in deferred-work.md): - starlette GHSA-86qp-5c8j-p5mr (medium): fix is starlette 1.0.1 but FastAPI 0.135.4 still pins starlette 0.x. Low exposure (RBAC is dependency-based, prod behind Host-validating nginx). Revisit when FastAPI supports starlette 1.x. Verification: backend full suite 2118 passed; frontend prod build green + 0 npm-audit vulns; extension 0 npm-audit vulns + 64 tests pass. No app .py changed. Refs #35 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The extension carried both package-lock.json and yarn.lock; yarn warns about mixing package managers and Dependabot scanned both (duplicate alerts). The repo is npm-based everywhere else (frontend, e2e) and no CI uses the extension yarn lockfile. - Remove extension/yarn.lock and the yarn-only `resolutions` block (npm `overrides` for lodash/serialize-javascript remain authoritative). - Repo is now npm-only across frontend/extension/e2e (backend uses uv). Verified: npm audit = 0 vulnerabilities; 64 mocha tests pass. Refs #35 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
New advisory batch published against dompurify <=3.4.8 (IN_PLACE-mode XSS / sanitization-bypass family, moderate). `npm audit fix` resolves frontend dompurify 3.4.2 -> 3.4.10. Frontend: 0 npm-audit vulnerabilities; prod build verified. Refs #35 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
5da6636 to
7a51c03
Compare
… axis, localized + auto-applied AI fixes Flow Editor: - Add EXCEPT / FINALLY palette items and scaffold TRY → EXCEPT → END so a TRY block is valid Robot Framework the moment it is added (a bare TRY/END was a syntax error and could not be completed via the UI). - E2E coverage: build IF/ELSE and TRY/EXCEPT through the UI and assert they land cleanly in the Code tab, on disk after Save, and across a reload. Stats: - Success-rate-over-time chart now renders one slot per calendar day between the first and last data point; days without executions keep their width and show a faint baseline instead of collapsing the gap (even time axis). AI failure analysis: - Run the analysis in the frontend's current i18n language (prose translated, code/keywords/patches left verbatim). - Offer one-click auto-apply of suggested unified-diff patches; the backend applies context-first and refuses (422) when hunks no longer match, so a stale patch can never corrupt a test. - Scope the shared analysis to its execution/report so it no longer lingers when switching runs; discard it on leave. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #35, and sweeps all open GitHub Dependabot advisories (34 alerts → 16 packages) plus a freshly-published dompurify batch — across every ecosystem. Also standardizes the extension on npm.
Backend (pip —
backend/pyproject.toml+uv.lock)<3→>=3.2.4,<4(critical/high/medium) — CVE-2026-32871, CVE-2026-27124 + cmd-injection;<4guards against an untested fastmcp 4.0 in fresh-resolution builds.>=0.31.2(runs on fastmcp 3.x). gitpython → 3.1.50, python-multipart → 0.0.32, authlib → 1.7.2, lxml → 6.1.1, Mako → 1.3.12, urllib3 → 2.7.0, idna → 3.18.Frontend (npm —
frontend/)>=0.28.1viaoverrides(high), dompurify → 3.4.10 (moderate XSS family). → 0 audit vulns, prod build verified.Extension (npm —
extension/)>=4.18.0, serialize-javascript>=7.0.5via npmoverrides(high) + 4 local-only transitive findings cleared. → 0 audit vulns, 64 mocha tests pass.extension/yarn.lock+ the yarn-onlyresolutionsblock. Repo is now npm-only across frontend/extension/e2e (backend uses uv) — no more duplicate-lockfile Dependabot alerts.Not fixed (see
_bmad-output/implementation-artifacts/deferred-work.md)Verification
.pychanged → no lint/type regression.🤖 Generated with Claude Code