drupal-contrib-mgmt
Warn
Audited by Socket on Oct 3, 2026
1 alert found:
AnomalyAnomalyexamples/find-and-apply-patch.sh
LOWAnomalyLOW
examples/find-and-apply-patch.sh
The fragment appears to be a legitimate Drupal patch-application helper and contains no clear malicious behavior. It has material operational and supply-chain security weaknesses: unverified remote patch execution, missing command error handling, misleading success reporting, and unsafe appending of JSON to composer.json. The Composer installation step may execute dependency scripts as designed by Composer. Review and correct these issues before use; use validated patch hashes or trusted lock/configuration workflows, merge JSON safely, enable strict shell error handling, and verify every command result.
Confidence: 98%Severity: 58%
Audit Metadata