| Version | Supported |
|---|---|
| 0.3.x | yes |
| 0.2.x | security fixes only |
| < 0.2 | no |
Please do not open a public GitHub issue for:
- credential leakage (
credentials.env, WebDAV basic auth, mTLS certs) - path traversal / data-root sandbox escapes
- local privilege issues in the reverse proxy (e.g. unexpected bind exposure)
- anything that would expose another user's NAS data
Instead, use GitHub Private vulnerability reporting on this repository (Security → Report a vulnerability), or contact the maintainer privately.
Include a minimal reproduction (redact device CN, IPs, usernames, passwords) and the impact you observed. You should receive an acknowledgement within a few days.
For ordinary bugs (CLI output, docs, Windows quirks), a public issue is fine.
- Credentials live outside the repo
(
%LOCALAPPDATA%\minasCred\credentials.env); never commit them. - Device CN /
minas_config.jsonis local-only (gitignored). - Remote paths must stay under the data root (
ensure_data_path). - Destructive operations (
rm -r, bulk moves) require explicit user consent; MCPnas_rm(recursive=True)demandsconfirm=true. - The local proxy binds
127.0.0.1only; do not weaken that default. - No passwords in process argv, logs, or error strings.
proxy.py listens on loopback and forwards to the device address from
minas_config.json / the environment — the upstream host and port are never
taken from the request. A caller may address any path on the device (that is the
point of a reverse proxy), so a CodeQL py/partial-ssrf finding on the request
line is expected and dismissed; what the proxy does reject is everything that
could change the shape of that request line:
- only origin-form targets (
/path?query) are accepted — absolute-form (http://host/path), network-path references (//host/path) and CR/LF or NUL are answered with400(tests/test_proxy.pypins this); - the
Destinationheader ofMOVE/COPYis rewritten to a path-only, percent-encoded value before it reaches the device; Host,AuthorizationandContent-Lengthare set by the proxy, not copied from the client.
TLS verification against the appliance is intentionally disabled: its chain is
self-signed and trusted explicitly through ca_chain.pem, and identity is
pinned by the device CN via Host/SNI. The protocol floor is TLS 1.2
(config.unverified_ctx / config.verified_ctx).