Security
Defense in depth for self-hosted instances.
How itemized handles authentication, container privileges, reverse proxies, and responsible vulnerability disclosure.
Security controls in itemized
- Authentication, roles & API tokens: Supports local password authentication and optional OIDC SSO using Authorization Code flow with PKCE (tested with Authentik, Authelia, Pocket ID, and Keycloak). Accounts use Admin and Member roles,
OIDC_FORCE=truedisables local password login completely, and Personal API Tokens (itm_...) are stored exclusively as SHA-256 hashes with optional expiration and instant revocation. - Non-root container execution: The container entrypoint ensures
/dataownership matchesPUID:PGIDand drops privileges to run/usr/local/bin/itemizedas a non-root user. Explicit non-root--userlaunches are supported automatically. - Reverse proxy rate limiting: Set
TRUST_PROXY=truewhen running behind a reverse proxy so rate limiting reads client IPs fromX-Forwarded-For/X-Real-IPrather than the proxy address. - HTTPS for camera access & Web Push: Serving itemized over HTTPS protects credentials in transit and satisfies browser security requirements for mobile camera barcode scanning and Web Push (VAPID) notifications. See HTTPS & Reverse Proxy.
- Sandboxed public demo mode: When
DEMO_MODE=trueis enabled, outbound printer, OIDC, and LLM calls are sandboxed, UPC lookups are rate-limited to 5/min, and sample data resets automatically onDEMO_RESET_INTERVAL.
Reporting a vulnerability
If you discover a security vulnerability in itemized, please report it privately using GitHub Security Advisories rather than opening a public issue.
Include steps to reproduce, the affected version or container digest, and any relevant configuration details so the issue can be verified and patched quickly.