Two people have been arrested at Taree over an alleged drug deal outside a courthouse, and under the nose of police.

A woman was detained in the court building, while a man was grabbed after the shortest of chases.