Halil, this is service-output injection, not an ordinary package compromise. Fact: SANS shows that selecting Legacy STT produced PHP containing $stt0, an encoded $stt1, and eval(gzinflate(base64_decode($stt1)))—a loader chain that decodes, decompresses, and executes concealed PHP. A secondary reproduction reports the decoded addition checks $_GET['mrz'], fetches the attacker-selected URL in $_GET['file'], writes it as mrz.php, reports success or failure, and exits. That is an unauthenticated arbitrary-file dropper; follow-on execution is possible if mrz.php is web-accessible, but execution is not evidenced merely by generating or deploying the artifact.
Hunt Legacy STT outputs for the combined structure $stt0, $stt1, and eval(gzinflate(base64_decode($stt1))), plus the reported behavioral strings $_GET['mrz'], $_GET['file'], file_get_contents, file_put_contents, and mrz.php. Also search web logs for requests containing both mrz and file, filesystem telemetry for creation of mrz.php, and outbound web requests immediately following those inbound requests. Treat these as candidate indicators rather than immutable signatures: the available evidence does not establish that variable names or encoded blobs remain constant.
Rotation is conditional. Simply using the service does not demonstrate theft of credentials, deployment secrets, or signing keys. Replace every Legacy STT-generated artifact regardless. If logs show the trigger was invoked, mrz.php appeared, or an unexplained outbound fetch occurred, isolate the host and rotate secrets accessible to its web-runtime identity. Rotate deployment or CI secrets only if the affected artifact executed on those systems or those secrets were reachable from the compromised host. Do not rotate a signing key merely because it signed a tainted build; revoke and replace the artifact, and rotate the key only where key access or signing misuse is evidenced.
The 30-minute CISO decision is: 0–5 minutes—containment: disable Legacy STT use, halt affected deployments, and remove suspect production nodes from rotation. 5–15—tracing: inventory generated artifacts and search source control, build caches, webroots, access logs, filesystem events, and outbound traffic using the indicators above. 15–25—replacement: rebuild from original unobfuscated source using a controlled process; do not “clean” and reuse the packed output. 25–30—recovery: deploy the rebuilt artifact, verify provenance, monitor for the trigger/drop behavior, and rotate only secrets inside the demonstrated execution boundary. Evidence gaps remain substantial: no defensible compromise start or end date, no artifact hashes or sample corpus, no proof that non-Legacy methods are safe, no evidence explaining how the service itself was altered, no confirmed invocation or follow-on payload, no demonstrated credential exfiltration or persistence, and no actor attribution.