Skip to content

fix(deps): patch MCP validation and HTTP parsing - #67

Merged
robertoecf merged 1 commit into
mainfrom
codex/mcp-http-security-20261028
Oct 28, 2026
Merged

robertoecf merged 1 commit into
mainfrom
codex/mcp-http-security-20261028

Conversation

@robertoecf

Copy link
Copy Markdown
Owner

A auditoria completa após o patch Undici encontrou Zod4.4.3 e body-parser2.3.0 no MCP. Este follow-up sobe somente o mínimo Zod para^4.6.7 e fixa override exato body-parser2.3.0→2.4.0, mantendo os majors e todas as versões MCP/agents/Wrangler. Lock muda apenas os pacotes afetados.

Validação no SHA58aa9a9ebd99b5737a7746c0ded7e81808775657:

  • npm ci --ignore-scripts --no-audit PASS;51 testes MCP PASS.
  • PYTHONPATH="$PWD/src" bash scripts/ship/preflight.sh PASS: Ruff, mypy91arquivos,369 testes;16integration deselected,1warning Starlette existente.
  • npm audit zero vulnerabilidades conhecidas retornadas (281dependências).
  • Review local completo DEGRADED_LOCAL_ONLY; sem delegação externa; no removable slop found. Não há código novo, secrets ou chamadas de produção.

MCP Trust Review local: MCP_SURFACE (dependências de validação/HTTP), PASS, NO_FINDINGS. Catálogo, code mode, fontes, limites de payload/elementos, audience e instâncias por sessão não são alterados;51 testes de segurança/contrato passam. Nenhuma nova capacidade, fonte autenticada ou abstração.

Fontes oficiais: GHSA-mrhx-c7xc-m3w5 . Body-parser foi confirmado pelo npm audit; sem supressão/exceção. Sem PyPI, release ou deploy manual. CI no SHA atual necessário antes de merge. Não alegar que o merge instala um runtime gerenciado.

@coderabbitai

coderabbitai Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Caution

Review failed

The pull request is closed.

Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@robertoecf robertoecf left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A auditoria completa após o patch Undici encontrou Zod4.4.3 e body-parser2.3.0 no MCP. Este follow-up sobe somente o mínimo Zod para^4.6.7 e fixa override exato body-parser2.3.0→2.4.0, mantendo os majors e todas as versões MCP/agents/Wrangler. Lock muda apenas os pacotes afetados.

Validação no SHA58aa9a9ebd99b5737a7746c0ded7e81808775657:

  • npm ci --ignore-scripts --no-audit PASS;51 testes MCP PASS.
  • PYTHONPATH="$PWD/src" bash scripts/ship/preflight.sh PASS: Ruff, mypy91arquivos,369 testes;16integration deselected,1warning Starlette existente.
  • npm audit zero vulnerabilidades conhecidas retornadas (281dependências).
  • Review local completo DEGRADED_LOCAL_ONLY; sem delegação externa; no removable slop found. Não há código novo, secrets ou chamadas de produção.

MCP Trust Review local: MCP_SURFACE (dependências de validação/HTTP), PASS, NO_FINDINGS. Catálogo, code mode, fontes, limites de payload/elementos, audience e instâncias por sessão não são alterados;51 testes de segurança/contrato passam. Nenhuma nova capacidade, fonte autenticada ou abstração.

Fontes oficiais: GHSA-mrhx-c7xc-m3w5 . Body-parser foi confirmado pelo npm audit; sem supressão/exceção. Sem PyPI, release ou deploy manual. CI no SHA atual necessário antes de merge. Não alegar que o merge instala um runtime gerenciado.

@robertoecf
robertoecf marked this pull request as ready for review October 28, 2026 05:41
@robertoecf
robertoecf merged commit e81d15c into main Oct 28, 2026
7 of 8 checks passed
@robertoecf
robertoecf deleted the codex/mcp-http-security-20261028 branch October 28, 2026 05:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant