No prompts found
Your prompt vault is empty. Start archiving your creative prompts!
Add New Prompt
Upload your AI-generated artwork and preserve the exact prompt engineering parameters.
Edit Prompt
Update the prompt text or category taxonomy for this entry.
About PromptVault
AI Prompt Library & Image Asset Manager
Project Overview
PromptVault solves a common problem in generative AI workflows: while image generation models produce detailed visual artwork, the exact prompts, negative prompts, and parameters used to create them are easily lost over time.
PromptVault provides a clean web library for uploading AI-generated images, saving the exact prompts behind them, and organizing everything by category.
Core Capabilities
Security Architecture
- CSRF Protection: All state-changing endpoints in the Flask backend require signed CSRF tokens via Flask-WTF.
- Deep Image Verification: Uploaded files are sanitized with Werkzeug and inspected with Pillow to confirm the binary header matches the file extension.
- Upload & Pixel Limits: Requests are capped at 10 MB and image dimensions are limited to 20 megapixels to prevent decompression bombs.
- Path Traversal Protection: File storage and download routes verify canonical paths to ensure files remain strictly inside the uploads directory.
- HTTP Security Headers: Enforces Content-Security-Policy (CSP), X-Content-Type-Options (nosniff), X-Frame-Options (SAMEORIGIN), and strict Referrer-Policy.
Technology Stack
Academic & Learning Context
This application was developed by Adel Mohamed as a CS50x Final Project and part of a self-directed learning journey in software engineering, full-stack web development, and application security.
Because this project was built for educational purposes while actively learning and experimenting with these technologies, certain architectural patterns or edge cases may still have room for further refinement. Constructive feedback and academic review are always welcome.