p4n4-docs

Security

Default credentials

All default passwords (changeme, adminpassword) are placeholders only. Change them before first run:

# Auto-generate strong secrets
p4n4 secret rotate

Or set them manually in .env.

Network exposure

By default, all services bind to 0.0.0.0. In production:

Mosquitto authentication

The default mosquitto.conf ships with allow_anonymous true for easy development. For production, disable anonymous access and use password + ACL files:

allow_anonymous false
password_file /mosquitto/config/passwd
acl_file /mosquitto/config/acl

Generate the password file:

mosquitto_passwd -c config/mosquitto/passwd <username>

Secret rotation

Rotate all secrets periodically:

p4n4 secret rotate
p4n4 down && p4n4 up

.env file

Reporting vulnerabilities

See SECURITY.md in the umbrella repo.