Skip to content

Repository files navigation

PhantomVault

⚠️ DEVELOPMENT VERSION - USE AT YOUR OWN RISK ⚠️

Invisible Folder Security with Profile-Based Management

License: MIT Platform Security Status

⚠️ Important Notice

This software is in continuous development and has not been fully tested on Windows and Mac platforms. Use at your own risk.

PhantomVault is a professional-grade security application that makes your sensitive folders completely invisible with military-grade encryption. Perfect for protecting confidential documents, personal files, and sensitive data across all major platforms.

✨ Key Features

πŸ”’ Military-Grade Security

  • AES-256-CBC encryption with secure key derivation
  • Complete folder invisibility and trace removal
  • Forensic-resistant data protection

πŸ‘€ Profile-Based Management

  • Multiple isolated security profiles
  • Individual master passwords and recovery keys
  • Separate analytics and access controls

⌨️ Invisible Access

  • Ctrl+Alt+V hotkey for instant folder access
  • 10-second invisible keyboard sequence detection
  • Auto-lock on screen lock or system restart

πŸ“Š Smart Monitoring

  • Real-time usage analytics and security events
  • Performance monitoring with <10MB RAM usage
  • Adaptive resource management and battery optimization

🌐 Cross-Platform Development

  • βœ… Linux: Fully tested and supported
  • ⚠️ Windows: Code complete but not yet tested
  • ⚠️ macOS: Code complete but not yet tested
  • Professional Linux installer (DEB package available)

πŸš€ Quick Start

Installation

Linux (Recommended - Tested Platform)

LATEST RELEASE v1.1.0 - Architecture Refactor Complete

# Quick Install (Recommended)
curl -fsSL https://raw.githubusercontent.com/ishaq2321/phantomVault/main/installer/install-linux.sh | sudo bash

# Or Manual Install
wget https://github.com/ishaq2321/phantomVault/releases/download/v1.1.0/phantomvault_1.1.0_amd64.deb
sudo dpkg -i phantomvault_1.1.0_amd64.deb
sudo apt-get install -f

# Start the service (REQUIRES ROOT)
sudo systemctl start phantomvault
sudo systemctl enable phantomvault

# Test CLI (ALL COMMANDS REQUIRE SUDO)
sudo phantomvault --cli status
sudo phantomvault --cli profiles
phantomvault --help

Windows (⚠️ Untested - Use at Your Own Risk)

# Build from source (Windows support not yet tested)
git clone https://github.com/ishaq2321/phantomVault.git
cd phantomvault
# Follow build instructions below

macOS (⚠️ Untested - Use at Your Own Risk)

# Build from source (macOS support not yet tested)
git clone https://github.com/ishaq2321/phantomVault.git
cd phantomvault
# Follow build instructions below

Build from Source (All Platforms)

# Clone the repository
git clone https://github.com/ishaq2321/phantomVault.git
cd phantomvault

# Build the project
./build.sh

# Create installer packages (Linux)
cd installer/scripts
./build-linux-installer.sh

# Create maintenance tools
./build-maintenance-tools.sh

First Use

  1. Create Profile: Launch PhantomVault β†’ "Create New Profile"
  2. Set Master Password: Choose a strong password (12+ characters)
  3. Save Recovery Key: Write down and store safely
  4. Add Folders: Select folders to protect with encryption
  5. Access Anytime: Press Ctrl+Alt+V and type your password

CLI Usage (NEW - Fixed in v1.1.0!)

# Check service status (REQUIRES SUDO)
sudo phantomvault --cli status

# List profiles (REQUIRES SUDO)
sudo phantomvault --cli profiles

# Create profile (REQUIRES SUDO)
sudo phantomvault --cli create-profile myprofile mypassword

# Lock profile folders (REQUIRES SUDO)
sudo phantomvault --cli lock profile-name

# Service management (REQUIRES SUDO)
sudo phantomvault --cli stop      # Graceful shutdown
sudo phantomvault --cli restart   # Service restart

# Help and version (NO SUDO NEEDED)
phantomvault --help
phantomvault --version

πŸ—οΈ Architecture - REFACTORED v1.1.0

PhantomVault uses a Pure Client-Server Architecture with complete CLI fix:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    IPC/HTTP     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   CLI Client    β”‚ ←──────────────→ β”‚   Service Daemon β”‚
β”‚                 β”‚   (localhost)    β”‚                  β”‚
β”‚ β€’ Pure client   β”‚                  β”‚ β€’ Single instanceβ”‚
β”‚ β€’ No service    β”‚                  β”‚ β€’ Port 9876      β”‚
β”‚ β€’ IPC calls onlyβ”‚                  β”‚ β€’ All operations β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    IPC/HTTP     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Electron GUI  β”‚ ←──────────────→ β”‚   Service Daemon β”‚
β”‚                 β”‚   (localhost)    β”‚                  β”‚
β”‚ β€’ React + MUI   β”‚                  β”‚ β€’ Profile Mgmt   β”‚
β”‚ β€’ TypeScript    β”‚                  β”‚ β€’ Encryption     β”‚
β”‚ β€’ Modern UI     β”‚                  β”‚ β€’ Folder Ops     β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                  β”‚ β€’ Analytics      β”‚
                                     β”‚ β€’ Performance    β”‚
                                     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

ARCHITECTURE IMPROVEMENTS v1.1.0:

  • βœ… CLI Completely Fixed: Zero port conflicts, pure client implementation
  • βœ… Single Service Daemon: One process handles all operations on port 9876
  • βœ… Clean IPC Communication: All CLI/GUI communication via HTTP/JSON API
  • βœ… No Resource Conflicts: Eliminated duplicate service instances
  • βœ… Organized Installation: Structured /opt/phantomvault/ directory layout
  • βœ… Professional Installer: Complete installation and uninstallation system

Service Components:

  • Profile Manager: Secure authentication and profile isolation
  • Folder Security: AES-256 encryption and complete trace removal
  • Keyboard Detector: Invisible sequence detection (Ctrl+Alt+V)
  • Analytics Engine: Usage tracking and security monitoring
  • Performance Monitor: Resource optimization and battery management

πŸ” Security Features

Encryption & Protection

  • AES-256-CBC encryption with PKCS7 padding
  • PBKDF2 key derivation (SHA-256, 100K iterations)
  • bcrypt password hashing (cost factor 12)
  • Cryptographically secure random IV and salt generation

Trace Removal

  • Complete folder invisibility from file system
  • Search index cleanup (Windows, macOS, Linux)
  • Recent files removal from system lists
  • Registry cleanup (Windows) and metadata removal
  • Thumbnail cache clearing across all platforms

Access Control

  • Profile-based isolation with individual master passwords
  • Recovery key system for password recovery
  • Session management with automatic timeouts
  • Audit logging of all security events

πŸ“Š Performance

PhantomVault is designed for efficiency:

  • Memory Usage: <10MB RAM (typically 6-8MB)
  • CPU Impact: <5% average usage with adaptive limiting
  • Battery Optimized: Power-aware scheduling and resource management
  • Startup Time: <2 seconds to full functionality
  • Response Time: Instant folder operations

πŸ› οΈ Development

Building from Source

Prerequisites:

  • C++17 compiler (GCC 9+, Clang 10+, MSVC 2019+)
  • CMake 3.16+
  • OpenSSL 3.0+
  • Node.js 18+
  • Platform-specific libraries (X11, Cocoa, Win32)

Build Process:

git clone https://github.com/ishaq2321/phantomVault.git
cd phantomVault

# Build everything (service + GUI)
./build.sh

# Development mode
cd gui && npm run dev

Project Structure

phantomVault/
β”œβ”€β”€ core/                 # C++ service
β”‚   β”œβ”€β”€ src/             # Source files
β”‚   β”œβ”€β”€ include/         # Header files
β”‚   └── CMakeLists.txt   # Build configuration
β”œβ”€β”€ gui/                 # Electron GUI
β”‚   β”œβ”€β”€ src/             # React components
β”‚   β”œβ”€β”€ electron/        # Electron main process
β”‚   └── package.json     # Dependencies
β”œβ”€β”€ installer/           # Installation scripts
β”œβ”€β”€ docs/               # Documentation
└── build.sh           # Build script

πŸ“š Documentation

🀝 Contributing

We welcome contributions! Please read our Contributing Guide and Code of Conduct.

Ways to Contribute:

  • πŸ› Report bugs and issues
  • πŸ’‘ Suggest new features
  • πŸ”§ Submit code improvements
  • πŸ“– Improve documentation
  • 🌍 Help with translations

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ†˜ Support

Get Help:

Community:

  • ⭐ Star this repository if you find it useful
  • 🍴 Fork and contribute to the project
  • πŸ“’ Share with others who need folder security

⚠️ Important Disclaimers

Development Status

  • Continuous Development: This software is actively being developed and improved
  • Platform Testing: Only Linux (Ubuntu/Debian) has been thoroughly tested
  • Windows & macOS: Code is complete but has not been tested on these platforms
  • Use at Own Risk: While designed with security in mind, use this software at your own risk

Security Notice

  • REQUIRES ROOT PRIVILEGES: PhantomVault requires sudo/root for all operations
  • Service runs as root: The background service runs with root privileges for folder security
  • CLI requires sudo: All CLI commands (except --help) require sudo
  • This software has not undergone professional security audit
  • Always maintain backups of important files before using
  • Test thoroughly in a safe environment before production use
  • The developers are not responsible for any data loss or security issues

Legal Compliance

  • Users are responsible for compliance with local laws and regulations
  • This software is designed for legitimate security purposes only
  • The developers are not responsible for any misuse of this software

Support Limitations

  • Support is primarily provided for Linux platforms
  • Windows and macOS support is experimental
  • Community support is available through GitHub issues

PhantomVault - Your files, invisible until you need them.

πŸ“₯ Download v1.1.0 β€’ πŸ“– Documentation β€’ πŸ› Report Issues β€’ πŸ“§ Contact

Made with ❀️ for privacy and security

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages