A novel colorimetric aptasensor for ultrasensitive detection of cocaine based on the formation of three-way junction pockets on the surfaces of gold nanoparticles.