oliver-zehentleitner / maity

[low] CI hardcodes ci-only DB passwords; DB roles scoped per-database

Sign in to report

tsk-kkbr5kbjs5z9 Open

.github/workflows (ci.yml, hub-load, hub-mariadb, hub-mariadb-pr) hardcode ci-only as the Postgres/MariaDB password. Ephemeral test DBs, but on shared self-hosted runners any same-uid process can reach them; generate a per-run password as kind-smoke.sh already does. Also postgres-roles.sql scopes role REVOKE/GRANT to current_database() only, so maity_owner/maity_app keep the default PUBLIC CONNECT on other databases of a shared server. Low.