Spaces:
Running
Security Policy & Implementation Details (Scoinvestigator)
This document outlines the security features, updates, policies, and vulnerability reporting procedures for the Scoinvestigator SaaS platform backend.
π‘οΈ Implemented Security Measures
The following security systems have been integrated into the Scoinvestigator production environment:
1. Strict Cross-Origin Resource Sharing (CORS)
To prevent unauthorized domains from invoking K2 Think backend endpoints:
- The
ALLOWED_ORIGINSmiddleware setting is restricted strictly to authorized production and staging hosts. - Allowed Hosts:
https://www.scoinvestigator.comhttps://scoinvestigator.comhttps://ai-scientific-coinvestigator-ui.vercel.app(Staging UI)http://localhost:3000(Local Frontend Development)
2. IP-Based Rate Limiting (SlowAPI)
To protect the AI analysis pipeline from brute-force exploitation and API cost flooding, IP-based request limits are enforced globally:
- Authentication & Onboarding:
/api/v1/users/loginβ Maximum5 requests per minuteper IP./api/v1/users/registerβ Maximum3 requests per minuteper IP.
- AI Processing Engine:
/api/v1/analysis/{project_id}(Core K2 Engine Trigger) β Maximum2 requests per minuteper IP.
Exceeding these limits triggers an automatic HTTP 429 Too Many Requests response.
π Vulnerability Reporting
If you discover a security vulnerability in this project, please report it immediately:
- Contact: Send an email to soumanadama93@gmail.com.
- Please do not open public GitHub issues for security vulnerabilities.
π οΈ Security Configuration Updates
All future security hardening updates (CSP headers, token encryption, database SSL config) should be documented here to maintain a clean production trail.