Summary Changes
Summary by Bito
This pull request enhances the repository with AI-assisted code review configuration, comprehensive documentation for AI agents, coding standards, and critical fixes for security vulnerabilities and ORM consistency issues. It also improves database configuration security by using environment variables instead of hardcoded credentials and updates coding documentation. Additionally, it updates the fastapi dependency version in the AGENTS.md file from 0.109.0 to 0.109.1.
Detailed Changes
- Fixes command injection security vulnerability in file-handler.js by replacing unsafe exec with execFile and removing input sanitization bypass.
- Introduces environment variable-based database configuration in AdminController.java to prevent hardcoded credentials exposure.
- Corrects DAO layer in cartProductDao.java by fixing class naming convention and updating HQL query to use proper entity class name for ORM consistency.
- Applies performance optimization in file-handler.js by eliminating inefficient nested loops that were causing unnecessary computational overhead.
- Introduces repository-level settings in .bito.yaml for automated code review customization including dependency checks, linting, file exclusions, and branch pattern controls.
- Updates the fastapi dependency version from 0.109.0 to 0.109.1 in the llm-proxy dependencies section of AGENTS.md.
Edited by Amruta Hulagar