In JetBrains TeamCity prior to 2020.1.5, secure dependency parameters could be not masked in depending builds when there are no internal artifacts.
jetbrains teamcity