AUDAPACK is designed with security and data integrity as foundational requirements:
-
Loopback Isolation: The HTTP Bridge daemon binds exclusively to
127.0.0.1:17843. It rejects remote or external connections and never opens public listening sockets. -
Secret Token Authentication: Requests from the browser userscript must present a 256-bit secret token via HTTP headers (
X-Bridge-Token). The token is stored locally in%LOCALAPPDATA%\AUDAPACK\secrets\bridge_token.txtwith user-restricted NTFS permissions and is never checked into Git. -
Path Traversal Protection: All audit ingest paths and project archive destinations are strictly validated against directory traversal escapes (e.g., rejecting
.., UNC shares, or illegal characters). -
Atomic Packaging: Archives are never written directly over existing files. Packaging writes to
.partfiles, performs CRC validation viazipfile.testzip(), and atomically replaces the target archive upon complete validation.
If you discover a security vulnerability, please report it responsibly by contacting the maintainers directly or opening a private security advisory on GitHub.
Please include:
- Description of the vulnerability and attack vector.
- Minimal reproducible example or proof-of-concept.
- Expected vs. actual behavior.
We strive to acknowledge reports within 48 hours and release fixes promptly.