Police say a member of the public found the drone on June 7 on the road on Zion Avenue at Malabar, and took it to Maroubra Police Station.
Long Bay jail, a maximum and minimum security prison is located on a 32 hectare site at Malabar.
Police say the package attached to the drone was found to contain buprenorphine, a SIM card and other electronic items.
Officers from Eastern Beaches Police Area Command began an investigation into the location of the drone and prescription drugs.
Detectives have released CCTV vision of two men and are appealing for anyone with information about their identities to come forward.
Police have also released an image of the drone located at Malabar.
Maureen Dettre in Sydney