Decisions about security
Architectural decision records tagged with security
-
acceptedAlways pin GitHub Actions to a commit hash
GitHub Actions referenced by a mutable tag or branch can be silently replaced with malicious code, exposing CI/CD secrets across every repository that uses them.
-
acceptedUse composer audit in automated checks for known security vulnerabilities
Third-party dependencies can introduce known security vulnerabilities at any time, so projects need an automated mechanism to detect them early.
-
acceptedUse Renovate for third-party dependency updates
Renovate supports automatic updates across a wide variety of ecosystems ensuring our projects are secure and up to date.
-
acceptedBlock the Drupal user 1 account in production environments
The first user account in a Drupal site (often referred to as "administrator" or "user 1") is granted every permission automatically. If the account credentials are compromised, an attacker can easily inject JavaScript to attack site visitors and can likely execute arbitrary PHP code.