In JetBrains TeamCity prior to 2020.2, an ECR token could be exposed in a build's parameters.
jetbrains teamcity