The function of CST4 (cystatin S, Ensembl gene identifier ENSG00000101441) is as follows. This protein strongly inhibits papain and ficin, partially inhibits stem bromelain and bovine cathepsin C, but does not inhibit porcine cathepsin B or clostripain. Papain is inhibited non- competitively.