Bump vulnerable dependencies: aiohttp, cryptography, fastapi, python-multipart, next.js - #1
Draft
malikaa-27 with Copilot wants to merge 4 commits into
Draft
Bump vulnerable dependencies: aiohttp, cryptography, fastapi, python-multipart, next.js#1malikaa-27 with Copilot wants to merge 4 commits into
malikaa-27 with Copilot wants to merge 4 commits into
Conversation
- FastAPI backend with Google OAuth2, encrypted token storage (Fernet/PBKDF2), Google Calendar freebusy API, and Smallest.ai Atom agent with tool-calling - Next.js 14 frontend: chat UI, meeting confirmation card, Google login page - SQLAlchemy models for users, OAuth tokens, and meetings - Availability logic: merge busy periods, find free slots with 30-min granularity - conftest.py using SQLite in-memory so tests run without PostgreSQL - pydantic[email] for EmailStr validation - FastAPI lifespan context manager for DB table creation - cookie_secure config flag for production HTTPS cookie security - docker-compose.yml, Dockerfiles for both services, .env.example - 20 unit + integration tests (all passing) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
… Calendar) Co-authored-by: malikaa-27 <193218271+malikaa-27@users.noreply.github.com>
…on-multipart, next.js Co-authored-by: malikaa-27 <193218271+malikaa-27@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Build production-ready AI scheduling agent application
Bump vulnerable dependencies: aiohttp, cryptography, fastapi, python-multipart, next.js
Feb 24, 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.
Multiple direct dependencies carried known CVEs across DoS, ReDoS, authorization bypass, SSRF, arbitrary file write, and cryptographic subgroup-attack vectors.
Python (
backend/requirements.txt)fastapicryptographypython-multipartaiohttpauto_decompress(≤3.13.2)JavaScript (
frontend/package.json)nexteslint-config-nextNext.js 14.x has no backport for the HTTP request deserialization DoS (
≥13.0.0, <15.0.8), making the 15.x upgrade necessary. The application is largely client-rendered ('use client'throughout), so Next.js 15's async-request-API breaking changes have no impact here.Original prompt
You are a senior full-stack architect and AI systems engineer.
Your task is to design and implement a production-ready AI scheduling agent application.
====================================================
GOAL
Build an application where:
This must be production-grade SaaS architecture, not a demo.
====================================================
TECH STACK REQUIREMENTS
Backend:
Frontend:
AI:
Deployment:
====================================================
SECURITY RULES
Environment variables to use:
GOOGLE_CLIENT_ID
GOOGLE_CLIENT_SECRET
DATABASE_URL
SMALLEST_API_KEY
SECRET_KEY
====================================================
GOOGLE OAUTH REQUIREMENTS
Implement full OAuth 2.0 flow.
Store:
Auto-refresh expired tokens.
Include complete backend implementation for:
====================================================
CALENDAR FUNCTIONALITY
Implement backend tool endpoints:
All internal time must be stored in UTC.
Frontend converts to user timezone.
Use robust time parsing library (e.g., dateparser).
====================================================
AI TOOL CALLING SYSTEM
Implement structured tool schemas.
Tool 1:
check_availability
Tool 2:
create_calendar_event
The LLM must:
Provide full JSON schema definitions.
====================================================
NEGOTIATION LOGIC
The agent must:
Ask for:
Retrieve availability
Propose 3 possible time slots
Handle:
Confirm final slot before creating event
Include example conversation flows.
====================================================
DATABASE DESIGN
Design full schema.
Users table:
OAuthTokens table:
Meetings table:
Provide full SQLAlchemy models.
====================================================
FRONTEND REQUIREMENTS
Build:
Use modern UI patterns.
====================================================
DOCKERIZATION
Provide:
====================================================
TESTING
================...
🔒 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.