Mohammed Imran Khan
Mohammed Imran Khan
## Summary Allow `aegra_api` to run **without PostgreSQL** by setting a single environment variable: ```bash DATABASE_ENABLED=false ``` When disabled, the server uses LangGraph's `MemorySaver` for in-memory checkpointing and skips all...
## Summary The application's `lifespan` context manager in `aegra_api/main.py` **unconditionally** calls `await db_manager.initialize()` during startup. There is no configuration flag to disable this. When PostgreSQL is unreachable (note: `DATABASE_URL` defaults...
## Summary The `/health` and `/ready` Kubernetes probe endpoints **unconditionally** verify database connectivity. When running an agent in stateless/in-memory mode (even after bypassing the database initialization with a monkey patch):...
## Summary The YARA rule cache (`_content_hash`) invalidated based on file paths and **sizes only**. If a rule file is edited without changing its byte count (e.g., changing a pattern...
## Summary The first MP2 pattern (Context Window Stuffing) uses a nested structure `((\S)(?!\2).{1,19}?)\1{20,}` that is vulnerable to catastrophic backtracking (ReDoS). On non-matching inputs of moderate size (>500 chars), the...
## Summary Follow-up to #139 addressing non-blocking review feedback from @rng1995: 1. **Confidence scaling documented** — `_compute_risk_score` docstring now explicitly states that each finding's contribution is scaled by its confidence...
## Summary The input handler accepts arbitrary URLs for git clone and file download without validating the target host. This enables Server-Side Request Forgery (SSRF) — an attacker could craft...
## Summary The `mcp_rug_pull` analyzer was a non-functional stub that unconditionally returned empty findings — indistinguishable from "checked and found nothing" in scan output. This gave users a false sense...
## Summary When SkillSpector produces a "clean" scan (no findings), consumers have no way to know whether the tool actually analyzed everything or if it silently skipped components due to...
## Summary Two SARIF output correctness issues: 1. **Empty findings from LLM failures inflate results** — When the LLM meta-analyzer fails or returns partial data, findings with empty `rule_id` or...