Skip to content

Security: Open-Sentra/sentra-up

SECURITY.md

Security

Local packages record the source commit and a SHA-256 inventory. Use packages from a trusted build environment because installation writes systemd files with root privileges. An unsigned package and its hashes can be changed together, so publisher authentication requires an independent signature.

sentra-up.service accepts a fixed set of engine names and actions on a local root-only socket. Source builds run under the operator’s account. Engine installations use the upstream service users, configuration checks and privilege boundaries. System administrators control installation records and unit files.

The optional web panel listens on IPv4 loopback. Each launch generates a fresh salt and holds a PBKDF2-SHA256 password verifier in memory. The browser stores its session token in tab session storage. Tokens expire after eight hours and are revoked on sign-out. The panel validates the target address on every request and checks the Origin header for modifying requests. It starts operations from an allowlist of CLI commands with separate arguments.

The panel runs in a separate process under the Linux account that opened the console. The console transfers the password verifier over a private interprocess connection. New consoles under the same account can query the address or stop the panel using web.sock in the per-user state directory.

The activity log is a SQLite database in a directory private to the Linux account. It records operation parameters, selected paths and answers to installation prompts. The persistent log excludes web passwords, session tokens, free-form engine arguments and raw process output. The file browser shows authenticated users the names of files and directories accessible to the panel process.

Submit security reports privately using Security → Report a vulnerability on GitHub. Include the version, affected command and observed result. Remove real credentials and tenant data from the report.

There aren't any published security advisories