feat: Add JusBotAi app + fix next.js CVEs (DoS/RCE) across monorepo#2
Draft
feat: Add JusBotAi app + fix next.js CVEs (DoS/RCE) across monorepo#2
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: felippepestana <141407246+felippepestana@users.noreply.github.com> Agent-Logs-Url: https://github.com/felippepestana/JurisBotIA/sessions/96afb09d-ef1e-4f60-8b82-42cbad8cfb11
…bilities Co-authored-by: felippepestana <141407246+felippepestana@users.noreply.github.com> Agent-Logs-Url: https://github.com/felippepestana/JurisBotIA/sessions/96afb09d-ef1e-4f60-8b82-42cbad8cfb11
…E CVEs) Co-authored-by: felippepestana <141407246+felippepestana@users.noreply.github.com> Agent-Logs-Url: https://github.com/felippepestana/JurisBotIA/sessions/96afb09d-ef1e-4f60-8b82-42cbad8cfb11
Copilot
AI
changed the title
[WIP] Add JusBotAi application for legal advocacy assistance
feat: Add JusBotAi app + fix next.js CVEs (DoS/RCE) across monorepo
Mar 22, 2026
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.
I have read the CONTRIBUTING.md file.
YES
What kind of change does this PR introduce?
Feature + security fix
What is the current behavior?
No
jusbotaiapp exists. The workspace catalog pinsnext@^15.5.2, which has known CVEs: HTTP request deserialization DoS, Server Components DoS, and RCE via React flight protocol. Thepnpm-lock.yamlresolves and locksnextat15.5.2, meaning the vulnerabilities are present at install time regardless of the catalog specifier.What is the new behavior?
New app:
apps/jusbotai— "Ferramenta de Assistência a Advocacia" (Legal Advocacy Assistant)jusbotai#buildwired into monorepoSidebar,Header,StatsCardcn, date/CPF/CNPJ/phone formatters, Supabase browser client3005,.env.exampleincludedSecurity:
nextupgraded15.5.2→15.5.10(patches all three CVE families)Both
pnpm-workspace.yamlandpnpm-lock.yamlupdated — zero15.5.2references remain:next15.5.215.5.10@next/env15.5.215.5.10@next/swc-*(8 binaries)15.5.215.5.7All importer version refs, snapshot keys, and cross-references in the lockfile updated accordingly.
Additional context
The
@next/swc-*binary packages ship at15.5.7insidenext@15.5.10— this is expected upstream versioning, not a mismatch.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
npm.jsr.io/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/_temp/ghcca-node/node/bin/pnpm install --no-frozen-lockfile(dns block)/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/_temp/ghcca-node/node/bin/pnpm install --no-frozen-lockfile --filter jusbotai(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
Create JusBotAi Application - Legal Advocacy Assistant
Overview
Create a new specialized application JusBotAi within the JurisBotIA monorepo with the description "Ferramenta de Assistência a Advocacia" (Legal Advocacy Assistance Tool).
Objectives
Create a new Next.js application in
/apps/jusbotaidesigned for legal professionalsImplement core legal assistance features:
Stack Requirements:
Project Structure:
/apps/jusbotai/src- Source code/apps/jusbotai/src/app- Next.js app directory/apps/jusbotai/src/components- Reusable components/apps/jusbotai/src/lib- Utilities and helpers/apps/jusbotai/src/types- TypeScript type definitions/apps/jusbotai/public- Static assetsDependencies to Include:
Configuration:
pnpm-workspace.yamlto include the new appturbo.jsonconfiguration for build tasksFeatures to Implement:
Quality Assurance:
Expected Deliverables
Language
The following is the prior conversation context from the user's chat exploration (may be truncated):
User: criar projetos a partir do repositorio
Assistant: I'll help you create projects from the repository. Let me first gather information about the repository to understand its current structure and what projects might be relevant.
Assistant: ## Repository Overview: felippepestana/JurisBotIA
felippepestana/JurisBotIA is a TypeScript-based monorepo (forked from Supabase), which appears to be a project management/development platform.
Key Information:
masterRepository Structure:
The repository contains multiple directories organized as a monorepo:
/apps- Application projects/blocks- Building block components/packages- Shared packages/docker- Docker configuration/e2e- End-to-end tests/examples- Example implementations/i18n- Internationalization files/scripts- Build and utility scripts/supabase- Supabase configuration/supa-mdx-lint- MDX linting utilitiesBuild Configuration:
Documentation:
README.md- Main documentationCONTRIBUTING.md- Contribution guidelinesDEVELOPERS.md- Developer setup guideSECURITY.md- Security policyNote: The file listing may be incomplete due to API limits. View the full repository structure on GitHub.
How to Create Projects from This Repository
To create projects based on this repository, you have several approaches:
1. Use the Repository as a Template
**2....
This pull request was created from Copilot chat.
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.