This is an intracellular thiol proteinase inhibitor. Tightly binding reversible inhibitor of cathepsins L, H and B. This is the function of CSTB (cystatin B, Ensembl gene identifier ENSG00000160213).