| Version | Supported |
|---|---|
| 0.1.x | ✅ |
Please do not open a public issue for a security problem.
Use GitHub's private vulnerability reporting:
- Open https://github.com/ArchDityaa/vcam/security/advisories/new.
- Describe the issue, the affected version and, if possible, a reproduction.
You can expect an acknowledgement within a few days and a coordinated fix. Once a fix is available, a GitHub Security Advisory and a new release will be published, and the reporter will be credited unless they prefer otherwise.
vcamd runs as an unprivileged user, but it owns a video device and a Unix
control socket. Areas worth particular attention:
- IPC message handling in
crates/vcamd/src/server.rsandcrates/vcam-core/src/ipc.rs; - path handling for the source file and the runtime preview/socket files;
- the
PROTECT*/ sandboxing options inpackaging/systemd/vcamd.service; - the udev rule and device permissions;
- parsing of configuration files and process metadata.
- The daemon never runs as root and the systemd unit sets
NoNewPrivileges=yes,PrivateTmp=yes,ProtectSystem=strictandProtectHome=read-only. - The control socket lives in the per-user runtime directory and is only accessible to the same user.
- The
videogroup is the only privilege the daemon needs.