We release patches for security vulnerabilities for the following versions:
| Version | Supported |
|---|---|
| 2.0.x | β |
| 1.0.x | β |
Please DO NOT report security vulnerabilities through public GitHub issues.
If you discover a security vulnerability, please report it by:
- Email: Send details to security@aifiles.dev
- GitHub Security Advisory: Use GitHub's private vulnerability reporting
Please include the following information in your report:
- Type of vulnerability (e.g., XSS, SQL injection, path traversal)
- Full paths of source file(s) related to the issue
- Location of the affected source code (tag/branch/commit or direct URL)
- Step-by-step instructions to reproduce the issue
- Proof-of-concept or exploit code (if possible)
- Impact of the issue, including how an attacker might exploit it
- Initial Response: Within 48 hours
- Status Update: Within 7 days
- Fix Timeline: Depends on severity
- Critical: 1-7 days
- High: 7-30 days
- Medium: 30-90 days
- Low: Best effort
When using AIFiles, follow these security guidelines:
DO:
- β
Store API keys in
~/.aifileswith proper file permissions - β Use environment variables for automation
- β Rotate API keys periodically
- β Use different API keys for development and production
DON'T:
- β Commit API keys to version control
- β Share API keys in public forums or issues
- β Include API keys in screenshots or logs
- β Use the same key across multiple applications
DO:
- β Validate file paths before processing
- β Use absolute paths when possible
- β Ensure proper file permissions
- β Check file types and sizes
DON'T:
- β Process files from untrusted sources without validation
- β Allow arbitrary file path input
- β Ignore file permission errors
- β Process files outside intended directories
DO:
- β
Set proper file permissions on
~/.aifiles(chmod 600) - β Review configuration before using untrusted templates
- β Validate configuration values
- β Keep configuration files backed up securely
DON'T:
- β Make configuration files world-readable
- β Store sensitive data in template descriptions
- β Use configuration from untrusted sources
- β Leave default/example API keys in configuration
DO:
- β Use HTTPS for all API calls
- β Verify SSL certificates
- β Use secure local LLMs when privacy is critical
- β Monitor network traffic for anomalies
DON'T:
- β Disable SSL verification
- β Send sensitive files to cloud APIs without encryption
- β Trust unverified API endpoints
- β Ignore certificate warnings
DO:
- β Keep Tauri updated to latest version
- β Use context isolation
- β Sanitize all user inputs
- β Validate all IPC messages
DON'T:
- β Disable web security features
- β Use
nodeIntegration: truein renderer - β Execute untrusted code
- β Load remote content without validation
AIFiles includes the following security features:
-
Path Traversal Prevention
- Validates all file paths
- Prevents access to parent directories
- Rejects suspicious patterns
-
API Key Protection
- Never logs API keys
- Redacts keys in error messages
- Validates key formats before use
-
Input Validation
- Validates configuration values
- Sanitizes user inputs
- Checks file types and sizes
-
Sandboxed Execution
- Tauri renderer process is sandboxed
- Context isolation enabled
- No arbitrary code execution
-
File Permissions
chmod 600 ~/.aifiles chmod 600 ~/.aifiles.json chmod 700 ~/.aifiles-templates.json
-
Network Isolation (for maximum privacy)
# Use Ollama for 100% local processing LLM_PROVIDER=ollama LLM_MODEL=llama3.2 -
Audit Logging (optional)
# Enable debug logging for audit trail export DEBUG=aifiles:* aifiles file.pdf 2>&1 | tee -a ~/aifiles-audit.log
When using cloud-based AI providers:
- Files are sent to third-party APIs
- Content may be used for model training (check provider ToS)
- Metadata may be logged by providers
- Network traffic may be intercepted
Mitigation: Use local LLMs (Ollama) for sensitive data.
During processing:
- Temporary files may be created
- File content is stored in memory
- Intermediate results may be cached
Mitigation: Process sensitive files on encrypted drives.
File notifications may include:
- File names
- Partial content summaries
- Template information
Mitigation: Disable notifications for sensitive workflows.
Before using AIFiles in production:
- API keys are properly secured
- Configuration files have correct permissions
- Using appropriate LLM provider for data sensitivity
- File paths are validated
- GUI is running latest version
- System dependencies are up to date
- Network security is configured
- Audit logging is enabled (if required)
- Team members are trained on security practices
Security updates are released as:
- Patch versions for security fixes (e.g., 2.0.1)
- Security advisories for critical issues
- Changelog entries marked with [SECURITY]
Subscribe to:
- GitHub Security Advisories
- Release notifications
- Project discussions
- Security Email: security@aifiles.dev
- General Issues: GitHub Issues
- Security Advisories: GitHub Security
We appreciate responsible disclosure. Security researchers who report valid vulnerabilities will be:
- Acknowledged in release notes (unless anonymity is requested)
- Listed in SECURITY_HALL_OF_FAME.md
- Given credit in security advisories
Last Updated: January 2025 Next Review: July 2025
Thank you for helping keep AIFiles and our users safe! π