The HJ24 aptamer can define the function of Shp2 phosphatase in normal physiological or under pathological conditions and can be an important ligand for developing new therapeutics for Shp2-dependent cancers and other diseases. Here, PTPN11 is linked to cancer.