Security Center in rConfig V8 Core
From V8.3.0, rConfig V8 Core checks its own security every day. Twenty-six read-only checks look at the application settings, what the web server serves, the TLS certificate, PHP, Redis, accounts, REST API tokens, stored credentials, the processes that run rConfig and the host firewall. The results are on Settings > Security Center, and a check that starts failing sends you an email.
APP_DEBUG left on after troubleshooting? An .env file reachable over the web? The installer’s admin@domain.com / admin account still in use? Security Center finds each of these and shows the command that fixes it.
What it checks
Section titled “What it checks”Each check has a stable ID such as redis.auth or web.env_exposed, a severity (Critical, High, Medium or Low) and a result:
| Result | Meaning |
|---|---|
| Passed | The setting is safe. |
| Warning | Worth fixing, but not an open door on its own. Warnings never send an email. |
| Failed | Fix this. A check that starts failing sends an email. |
| Skipped | The check does not apply here (for example a host check inside Docker), or could not run. |
The checks are in twelve groups. The check reference explains every ID, why it matters and how to fix it:
| Group | Checks |
|---|---|
| Application | Debug mode, environment, APP_KEY, HTTPS, .env permissions |
| Web exposure | .env, storage and Git metadata served over the web, self-registration, Horizon and the log viewer open to guests |
| TLS | Certificate expiry |
| PHP | PHP minimum version, error display |
| Redis | Redis password |
| Accounts and sign-in | Default passwords, sign-in lockout |
| REST API | Old REST API tokens |
| Data at rest | Encrypted credentials, saved config permissions |
| Runtime and privileges | Nothing runs as root, scheduler, Horizon |
| Versions | rConfig Core is the latest release |
| Devices | Devices backed up over Telnet |
| Operating system | Host firewall |
The checks never change anything and never show a secret. They report whether a value is set and safe, not the value itself.
Run the checks
Section titled “Run the checks”Open Settings > Security Center (first under Security & Access) and click Run checks. The button shows Queued… and then Running checks… while Horizon runs the checks in the background. They take under a minute and the results are stored, so you can leave the page.
cd /var/www/html/rconfig
# Every check as a table, with the fixes underneathphp artisan rconfig:security-check
# The full report as JSON, for a support ticket or a scriptphp artisan rconfig:security-check --json > security-report.json
# One group, a prefix or a single checkphp artisan rconfig:security-check --only=webphp artisan rconfig:security-check --only=redis.auth
# List every check IDphp artisan rconfig:security-check --listThe exit code is 0 when every check passes or is skipped, 1 when there are warnings and 2 when any check fails. A full run is stored and shows on the Settings page. Runs with --only or --no-store are not stored.
Daily run and email alert
Section titled “Daily run and email alert”The scheduler queues a full run every day at 04:15 server time. Set SECURITY_CHECK_TIME in .env (24-hour HH:MM) to change the time, or SECURITY_CHECK_SCHEDULE=false to stop the daily run. A daily run is skipped if a run you started from the page is still going.
Only the latest run is kept. Each run is compared with the one before it:
- When a check starts failing, rConfig sends one Security Check Failed email listing the checks that failed. It does not send it again the next day while the check keeps failing.
- When a failing check passes again, rConfig sends one Security Check Recovered email.
- Warnings never send an email.
The emails go through the mail settings in Settings > System to users who receive notifications, and an in-app notification is added too. Each user can turn the Security Check Failed and Security Check Recovered types on or off in their notification preferences.
To stop the alerts for everyone, turn off Email me when a check starts failing on the Security Center page. The setting is saved straight away. On an install where nobody has changed it yet, SECURITY_CHECK_NOTIFY=false in .env sets the default to off.
Read the results
Section titled “Read the results”The tiles at the top count Failed, Warnings, Passed and Skipped checks. Click a tile to show only that result; click it again to go back to the default view, which lists what needs attention: failures first, then warnings, most severe first. The filters above the list narrow it by result and by group, and Show all 26 checks clears them.
Click a finding to see why it matters, the fix for your server with a copy button, the evidence the check collected (never a secret), the standards it maps to (NIST SP 800-53, NIS2 Article 21, CIS Benchmarks, OWASP ASVS) and a link to its entry in the check reference.
Fix a finding
Section titled “Fix a finding”Each failed or warning check shows the exact command or setting to change, with the real paths for your server. Run the command, then click Run checks to confirm the finding has cleared. rConfig V8 Core does not change your server from the Security Center page: every fix is a command you run or a setting you change.
For example, a failing data.config_file_modes check shows:
cd /var/www/html/rconfig && php artisan rconfig:set-config-permissions --dry-runcd /var/www/html/rconfig && php artisan rconfig:set-config-permissionsSecurity advisories
Section titled “Security advisories”Under the tiles, See all rConfig security advisories opens rconfig.com/security-advisories, the list of published rConfig security advisories. Security Center in Core does not match advisories against your version; the versions.rconfig_latest check warns when a newer Core release is available.
Core and Pro
Section titled “Core and Pro”rConfig Pro has its own Security Center with about 100 checks. It adds one-click fixes, risk acceptance, run history, advisory matching for your exact version, a root server check and the Security Assistant. See Security Center in rConfig Pro (a different edition).