A lightweight, professional cybersecurity vulnerability management dashboard built with Python Flask, SQLite, and Vanilla JavaScript. Track, prioritize, and resolve security vulnerabilities with a sleek dark-mode interface.
- KPI Dashboard — At-a-glance counts for Total, Critical, High, Medium, Low, Open, In Progress, and Resolved vulnerabilities
- Color-coded Severity — 🔴 Critical · 🟠 High · 🟡 Medium · 🟢 Low
- Full CRUD — Add, edit, and delete vulnerabilities via modal forms
- Live Search & Filters — Search by title/description/asset; filter by severity or status
- Toast Notifications — Non-intrusive success/error feedback
- 12 Sample Records — Pre-seeded on first launch so the dashboard is immediately usable
- Keyboard Shortcut —
Esccloses any open modal
Vulnerability Management Mini-Program/
├── app.py # Flask application — routes & API
├── database.py # SQLite init, schema, seed data
├── templates/
│ └── index.html # Single-page dashboard UI
├── static/
│ ├── css/
│ │ └── style.css # Dark-mode brand styles
│ └── js/
│ └── app.js # Fetch API, DOM manipulation
├── CLAUDE.md # Coding standards & tech stack rules
├── brand_guidelines.md # Visual design reference
└── README.md
The SQLite database file (
vulnerabilities.db) is created automatically on first run.
- Python 3.8 or higher
- pip
pip install -r requirements.txtpython app.pyhttp://127.0.0.1:5000
The app initializes the database and seeds sample data automatically on first launch.
| Method | Endpoint | Description |
|---|---|---|
GET |
/api/stats |
KPI counts by severity and status |
GET |
/api/vulnerabilities |
List all vulnerabilities (supports ?severity= and ?status= filters) |
POST |
/api/vulnerabilities |
Create a new vulnerability |
PUT |
/api/vulnerabilities/<id> |
Update an existing vulnerability |
DELETE |
/api/vulnerabilities/<id> |
Delete a vulnerability |
curl -X POST http://127.0.0.1:5000/api/vulnerabilities \
-H "Content-Type: application/json" \
-d '{
"title": "SQL Injection in login form",
"severity": "Critical",
"status": "Open",
"affected_asset": "web-server-01",
"discovered_date": "2026-02-19",
"description": "Unsanitized inputs allow SQL injection at /api/login."
}'Critical · High · Medium · Low
Open · In Progress · Resolved
| Element | Specification |
|---|---|
| Theme | Dark mode, cybersecurity professional |
| Background | #0d0d0f / #161618 |
| Text | #f0f0f0 |
| Critical | #ff2d2d (Bright Red) |
| High | #ff8c00 (Orange) |
| Medium | #f0c040 (Yellow) |
| Low / Safe | #39ff14 (Neon Green) |
| Font | Inter (Google Fonts) |
| Layer | Technology |
|---|---|
| Backend | Python 3 + Flask |
| Database | SQLite (via Python sqlite3) |
| Frontend | HTML5, Vanilla CSS, Vanilla JavaScript |
| Fonts | Google Fonts — Inter |
This project is licensed under the MIT License.
MIT License
Copyright (c) 2026
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.