Filtering Attachments

i’m writing a plugin wich has to scan attachments while uploading and in some conditions block them…
What’s the best way to do this?
As far as I have seen, there is an AttachmentService but I cannot see if there is any extension point I can use.