While "attract" is often considered a word with the prefix "ad-", it is actually a derivative of the Latin word "attrahere", meaning "to draw to". The "at-" prefix is a variant of "ad-", and it occurs in words derived from Latin where the following letter is "t" or "h".
Therefore, the correct prefix is "at-" in this specific case.