Hallaxius CLI

Security

The Hallaxius CLI is built with security as a priority. Your credentials are protected, your files are verified, and updates are trusted.

Security Features

  • DPAPI EncryptionYour API key is encrypted with Windows Data Protection API (DPAPI) before being saved to disk. Only your Windows user account can decrypt it — no other user or process can access your key.
  • SHA-256 File HashingEvery file is hashed with SHA-256 before upload. This ensures file integrity during transfer and provides verifiable proof that the uploaded file matches the original.
  • MIME Type ValidationWhen uploading from a URL, the downloaded file is validated against a blocklist of dangerous MIME types (executables, installers, scripts, etc.) to prevent accidental upload of malicious content.
  • Verified UpdatesAuto-updates are verified with SHA-256 hash comparison before installation. Previous versions are backed up to %APPDATA%\HallaxiusCli\backup for rollback if needed.
  • NO_COLOR SupportThe CLI respects the NO_COLOR environment variable for non-interactive and accessibility-friendly environments, ensuring output is clean and readable.

Data at Rest

PathDescriptionProtected
%APPDATA%\HallaxiusCli\hallaxius.config.jsonConfig and encrypted API keyDPAPI
%APPDATA%\HallaxiusCli\resume\Pending upload statesUser-only
%APPDATA%\HallaxiusCli\backup\Version backupsUser-only
%LOCALAPPDATA%\HallaxiusCli\Global install directoryUser-only

Best Practices

  • Never share your API key or commit hallaxius.config.json to version control.
  • Use hallaxius reset to clear your key if you suspect it has been compromised.
  • Keep the CLI updated with hallaxius update --install to get security patches.
  • Verify URL sources before uploading — blocked MIME types provide a safety net, but human verification is always best.