Deregistering an ECS task definition does not delete it
If a password ever went into the environment block of an ECS task definition, it is still readable in every old revision, even after you deregister them. Here is how to find those revisions, the order to fix them in and how to stop it happening again.