Our Python-based platform has been in production long enough to accumulate a handful of thorny issues. I want a fresh, senior-level pair of eyes to go through the codebase, diagnose what’s really happening, and bring the system back to a stable, performant and secure state. Scope of the audit • Security: probe for obvious misconfigurations, insecure dependencies, injection risks and any surface that could be exploited. • Performance: profile critical paths, highlight bottlenecks, and suggest optimisations that translate into measurable speed-ups or lower resource usage. • Code quality: evaluate structure, readability and test coverage; recommend refactors that reduce technical debt. Highest priority fix Functionality issues come first. Anything preventing core features from working as intended must be resolved before deeper refactors or fine-tuning. Documentation reality There is currently no formal documentation, so part of the job will involve reverse-engineering intent and leaving behind concise comments or README notes for future maintainers. Deliverables 1. An initial audit report summarising findings across security, performance and code quality, with recommended actions ranked by impact. 2. Patches or pull requests that eliminate the identified functionality bugs. 3. Automated tests (pytest preferred) covering new or previously untested critical paths. 4. A short hand-off guide describing the fixes, new test commands and any configuration changes. Acceptance criteria • All reported functionality bugs reproducible on day one are no longer reproducible after your fixes. • Unit and integration tests run cleanly in CI. • Performance improvements or security remediations are demonstrable using the benchmarks or scans you include in the report. Technologies involved: Python 3.x, Git, pytest, profiling tools such as cProfile or Py-Spy, and any static analysis you usually rely on (e.g., Bandit, SonarQube). If this matches your expertise, please outline a brief plan of attack and typical turnaround for a project of this nature.