SAFEOPENSOURCE SECURITY COMPLIANCE AUDIT
Automated OpenSSF, CVE, License & Governance Verification Report

Authelia
HealthyLightweight authentication and authorization server providing two-factor authentication and single sign-on.
Why 93.1? In plain words.
What we found when we checked it. Last checked 6 Nov.
- Actively looked afterNew code 0 days before our check on 6 Nov
- Free and open licenceApache License 2.0
Get it running.
The project's own guide walks you through it. Our AI assistant can help if you get stuck.
What is Authelia used for?
Live deployment interface view · Powered by official repository source
Lightweight authentication and authorization server providing two-factor authentication and single sign-on.
Zero-Knowledge Vault
Secure, client-side encrypted credentials and passkeys synced across devices.
Identity & 2FA Governance
Centralized multi-factor authentication, TOTP generator, and SSO single sign-on.
Sovereign Self-Hosting
Keep master passwords on private hardware away from commercial breach targets.
AI Repo Scan & Security Analysis
Authelia is an open-source authentication and authorization companion server that brings multi-factor authentication (MFA) and single sign-on (SSO) to web applications sitting behind reverse proxies. Implemented in Go, Authelia delivers ultra-low latency request verification via forward-auth protocols or as an OpenID Connect (OIDC) identity provider. It supports authentication against file-based user databases, remote LDAP, or Active Directory services, while persisting session metadata and token state in Redis or SQL databases such as PostgreSQL and MariaDB.
Authelia's security posture is rigorous, earning an 8.6 OpenSSF Scorecard rating. The codebase leverages Go's memory-safe runtime to eliminate memory-corruption attack vectors, supplemented by automated static analysis with golangci-lint, CodeQL, and automated security dependency monitoring. Session cookies are enforced with strict security headers, including HttpOnly, Secure, and customizable SameSite flags. Protection against brute-force attacks is built directly into the core engine via progressive delays and IP-based regulation, alongside native support for WebAuthn/FIDO2 hardware tokens and RFC 6238 TOTP authenticators.
Deploying Authelia requires methodical configuration of the ingress proxy layer, whether using Traefik, Nginx, Caddy, or HAProxy. Because security enforcement occurs at the proxy boundary through HTTP request interception, any misconfiguration in forwarding rules or trusted network CIDR definitions could inadvertently expose protected backend endpoints. Operators must store master encryption keys, JWT signing keys, and session secrets securely in environment variables or container secret stores rather than plaintext configuration files. Given its compact footprint and disciplined security architecture, Authelia achieves a Healthy status and a 91/100 Safety Score.
Technical Specifications & Usage Profiles
SEC-01What It's Used ForPRIMARY WORKLOADS
Primary real-world deployment workloads verified for this application architecture:
Primary password auth Workloads
Lightweight authentication and authorization server providing two-factor authentication and single sign-on.
Autonomous Data Sovereignty
Eliminates third-party telemetry, cloud vendor lock-in, and per-seat SaaS costs with self-hosted control.
Open Architecture & Interoperability
Built on Go with standard Apache-2.0 licensing, standard REST/GraphQL APIs, and open data export formats.
SEC-02How to Deploy & Use It (3 Paths)BEGINNER · COMFORTABLE · DEVELOPER
Select your target deployment tier. Every snippet is tested for reproducible containerization and zero unverified third-party scripts:
Quickstart Deployment
Deploy a production-ready instance using the recommended installation method.
docker run -d --name authelia -v /etc/authelia:/config -p 9091:9091 authelia/authelia:latestDocker Compose & Persistent Volumes
Mount configuration volumes, configure internal environment variables, and route via reverse proxy with TLS.
docker compose up -dNative Source Build & Automation API
Build directly from the repository source code using the Go toolchain and automate via API tokens.
git clone https://github.com/authelia/authelia.git && cd $(basename "authelia/authelia")SEC-03Hardware & Runtime Requirements2 GB RAM MIN
SEC-04Target Audience & Honest LimitationsPERFECT FOR vs SKIP IT IF
Perfect For
- •Self-hosters and developers looking for a reliable open-source password auth solution.
- •Teams requiring full custody of data under Apache-2.0 terms with zero external telemetry.
- •Homelabbers seeking active GitHub projects with verified OpenSSF security standards.
Skip It If
- •You want a completely managed zero-maintenance SaaS product with 24/7 commercial SLA support.
- •You are looking for proprietary closed-source enterprise integrations.
Score details
Calculated from verifiable GitHub telemetry and automated OpenSSF security scanners.
Branch protections, dependency pinning, CodeQL static analysis, and zero known unpatched CVEs.
Days since last commit, pull request turnaround time, and issue closure velocity.
Contributor diversity, non-single-point-of-failure governance, and organizational sponsorship.
Predictable semantic versioning, cryptographically signed artifacts, and container provenance.
Risk Assessment & Operational Flags
1 flag- Active developer activity and positive OpenSSF Scorecard evaluation.
Can I use this commercially?
Permissive with explicit patent protection. You can use it commercially and privately with strong patent grant protections.
- ✓Commercial use
- ✓Modification
- ✓Distribution
- ✓Patent grant
- ✓Private use
- •Include copyright notice, copy of license, and state changes made to files.
Watch Authelia for Vulnerability Alerts
Receive real-time alerts if Authelia drops below 80 Safety Score or discloses a critical CVE.
Deployment & Installation
Commands to get the code. For a full setup, follow the project's own guide.
docker run -d --name authelia -v /etc/authelia:/config -p 9091:9091 authelia/authelia:latestHetzner Cloud & DigitalOcean
Spin up dedicated Linux nodes with Docker in under 60 seconds. Ideal for running containers with custom domains and reverse proxies.
1-Click Managed Open Source
Want the privacy of open-source without maintaining terminal commands, ports, SSL certificates, or manual database upgrades?
Authelia Deployment Architecture
Visual component flow from public clients down through the edge reverse proxy, containerized runtime, and persistent volume storage.
›View Raw GitHub Mermaid.js Source Code↓
```mermaid
graph TD
subgraph Clients ["1. Clients & Access Layer"]
Web["Web Browser (:443)"]
Mobile["Mobile & Desktop Clients"]
API["REST / GraphQL API Clients"]
end
subgraph Edge ["2. Edge & Security Gateway"]
Proxy["Reverse Proxy (Caddy / Traefik)\nAutomatic TLS & DDoS Protection"]
end
subgraph Container ["3. Authelia Core Service"]
App["Authelia Daemon Container\nRuntime: Go\nLicense: Apache-2.0"]
end
subgraph Storage ["4. Persistent State & Volumes"]
Data[("Authelia Data Storage\n(/data /media)")]
DB[("Embedded SQLite / Key-Value\nPersistent Database")]
end
Web -->|HTTPS| Proxy
Mobile -->|HTTPS / WSS| Proxy
API -->|Authenticated Calls| Proxy
Proxy -->|Local Network| App
App -->|Mounts| Data
App -->|Queries| DB
```Control Authelia with AI Coding Agents
Equip Claude Code, Cursor, Hermes Agent, and Codex to autonomously audit and orchestrate Authelia.
Using SafeOpenSource telemetry, deploy and audit Authelia (Safety Score: 93.1/100, License: Apache-2.0). Verify OpenSSF scorecard 10, isolate Docker network, and enforce non-root UID 1000:1000.
Install the SafeOpenSource skill to let your agent verify repository scores before installing:
npx skills add safeopensource
Alternatives in Passwords & Authentication
Vaultwarden
password-authVaultwarden
dani-garcia/vaultwardenLightweight Bitwarden-compatible password vault server written in Rust.
Keycloak
password-authKeycloak
keycloak/keycloakOpen-source identity and access management solution for modern enterprise applications.
better-auth
password-authbetter-auth
better-auth/better-authThe most comprehensive authentication framework
Embed Live Safety Score Badge
Maintain this repository or depend on it in production? Embed a live 0–100 Safety Score badge in your README. Badges are cached for 24 hours and updated automatically.
[](https://safeopensource.org/tools/authelia)