Aspect022

Results issues of Aspect022

## Problem Description The `/health` endpoint in `web_app/auth-backend/server.js` **exposes internal email configuration** to any unauthenticated caller: ```javascript // server.js L50-60 app.get('/health', (req, res) => { res.json({ success: true, message: 'AI...

## Problem Description Several GitHub Actions in `ci.yml` are pinned to **outdated major versions** and the Python test matrix includes **Python 3.8 (EOL December 2024)**. ### Outdated Actions | Workflow...

## Problem Description The auth store (`web_app/frontend-react/src/store/authStore.js`) saves the JWT token in `localStorage` and **blindly restores it on page load** without checking whether the token has expired. ### Current Behavior...

## Problem Description The project has **no automated dependency vulnerability scanning** in CI/CD. The codebase manages dependencies across **4 separate manifests** spanning two ecosystems: | Manifest | Ecosystem | Location...

## Problem Description The FastAPI backend (`web_app/backend/main.py`) manipulates `sys.path` at import time: ```python # main.py L27-28 sys.path.insert(0, str(Path(__file__).parent.parent.parent)) ``` ### Why This Is A Problem 1. **Import shadowing**: `sys.path.insert(0, ...)`...

## Problem Description The React frontend (`web_app/frontend-react/`) has **critically low test coverage**. Only `Register.test.jsx` exists. Critical pages, components, and state management are completely untested. ### Coverage Gaps | Area |...

## Problem Description The project has **no end-to-end (E2E) test suite** validating the full user flow: `React Frontend -> Auth Backend (Express/MongoDB) -> FastAPI Backend -> AI Council Core` ###...

## Problem Description The MongoDB connection in `web_app/auth-backend/server.js` uses **deprecated Mongoose 6+ options** that are now no-ops: ```javascript // server.js L34-38 mongoose.connect(process.env.MONGODB_URI, { useNewUrlParser: true, // Deprecated - no-op since...

bug

## Problem Description Several critical runtime managers in the AI Council core are implemented as **module-level global singletons** instantiated at import time: | File | Line | Singleton | |------|------|-----------|...

HARD
OSCG26