Task: Secure Composer Deployment Script with Root User Handling
Task: Secure Composer Deployment Script with Root User Handling: a task in Terminal-Lego-15k (Harbor dataset). You are building an automated deployment script that runs as root to deploy a PHP web application. Running composer install as root raises security concerns because Composer can execute…
The task
You are building an automated deployment script that runs as root to deploy a PHP web application. Running `composer install` as root raises security concerns because Composer can execute arbitrary PHP code through lifecycle scripts (e.g., `post-install-cmd`, `post-update-cmd`), which would run with root privileges.
Part of PrimeIntellect/Terminal-Lego-15k.