Professional-grade static code security analyzer — detect vulnerabilities before they ship.
SecureAudit Pro scans source code for security vulnerabilities across 6 programming languages, maps every finding to OWASP Top 10 and CWE, and generates a professional, exportable audit report — entirely client-side, with zero data ever leaving the browser.
Built during my Cybersecurity Internship at CodeAlpha.
- Features
- Live Demo
- Tech Stack
- Project Structure
- Example: Auditing a Vulnerable App
- Vulnerability Coverage
- Getting Started
- License
- Acknowledgements
| 🌐 Multi-language scanning | Python, JavaScript, Java, C/C++, PHP, Go |
| 🔎 55+ detection rules | Mapped to OWASP Top 10 and CWE |
| 🤖 AI-powered auto-fix | Turns vulnerable code into secure code in one click |
| 📦 Dependency CVE scanner | Paste requirements.txt, package.json, or go.mod for an instant CVE report |
| 📄 Professional audit reports | Executive summary, security score, proof-of-concept per finding, prioritized remediation roadmap — exportable to PDF |
| 🔒 100% client-side | No code is ever transmitted or stored externally |
🔗 mohamed-gaber0.github.io/CodeAlpha-SecureAudit-Pro 🎥 Watch the video walkthrough
HTML5 · CSS3 · Vanilla JavaScript · CodeMirror 5
No frameworks, no build step, no backend — the entire engine runs in the browser.
CodeAlpha-SecureAudit-Pro/
├── README.md
├── LICENSE
├── .gitignore
├── assets/
│ └── logo.png
├── src/
│ ├── SecureAudit_Pro.html
│ ├── secure-review.css
│ ├── secure-review.js
│ ├── secure-review-features.js
│ ├── cyber-hud.css
│ └── cyber-hud.js
├── docs/
│ └── presentation.html
├── reports/
│ └── security-audit-report.html
└── examples/
└── student_portal.py
examples/student_portal.py is a deliberately vulnerable Flask application — 12 intentional security flaws — built specifically to validate detection accuracy. SecureAudit Pro identified every single one.
The full generated report is available at reports/security-audit-report.html, including:
- Executive summary with an overall security score
- Proof-of-concept for each finding
- OWASP Top 10 coverage matrix
- A 3-phase prioritized remediation roadmap
⚠️ Note: All credentials, tokens, and secrets instudent_portal.pyare fake placeholders created purely for demonstration. They are not real and were never valid.
| Category | CWE | Example |
|---|---|---|
| SQL Injection | CWE-89 | String-concatenated SQL queries |
| Remote Code Execution | CWE-95 | eval() / exec() on user input |
| Insecure Deserialization | CWE-502 | pickle.loads() on untrusted data |
| Hardcoded Credentials | CWE-798 | Secrets embedded in source code |
| Weak Cryptographic Hashing | CWE-327 | MD5 used for password storage |
| Insecure Randomness | CWE-330 | random used for session tokens |
| OS Command Injection | CWE-78 | Unsanitized input passed to shell commands |
| Insecure Deserialization (YAML) | CWE-502 | yaml.load() without a safe loader |
| Disabled Certificate Verification | CWE-295 | verify=False on outbound requests |
| Insecure Configuration | CWE-489 | Debug mode exposed on a public host |
git clone https://github.com/mohamed-gaber0/CodeAlpha-SecureAudit-Pro.git
cd CodeAlpha-SecureAudit-Pro/src
# open SecureAudit_Pro.html in any browser — no build step requiredDistributed under the MIT License. See LICENSE for details.
Built as part of the CodeAlpha Cybersecurity Internship.
If this project was useful or interesting, consider leaving a ⭐ — it helps a lot.