| Version | Supported |
|---|---|
| 1.x.x | ✅ |
Most scripts in this project require root privileges to:
- Configure kernel parameters (
/sys/block/zram*,/proc/sys/vm/*) - Manage swap devices
- Load/unload kernel modules
Recommendations:
- Review scripts before running with
sudo - Use configuration files instead of command-line arguments for sensitive values
- Run benchmarks in isolated environments when possible
All scripts use safe defaults:
- No destructive operations without explicit confirmation
- Graceful fallbacks when features are unavailable
- Logging of all configuration changes
- Backup creation before modifying system files
-
PID file race conditions: Daemon scripts use PID files which could theoretically be exploited. Mitigated by root-only permissions.
-
Temporary files: Some scripts create temporary files in
/tmp. These are cleaned up on exit but could be targets during execution. -
Loop devices: Writeback setup uses loop devices. Ensure backing files are on trusted filesystems.
If you discover a security vulnerability:
- Do NOT open a public issue
- Email the maintainers directly (see repository contact info)
- Include:
- Description of the vulnerability
- Steps to reproduce
- Potential impact
- Suggested fix (if any)
We will respond within 48 hours and work with you to address the issue.
- Verify downloads: Check release signatures when available
- Review before running: Especially scripts from forks or PRs
- Monitor system: Use the included monitoring tools to detect anomalies
- Keep updated: Apply security updates to your kernel and this toolkit
- Backup configurations: Before major changes to ZRAM setup