Any signal that something is amiss. For example, if something funny showed up in your accounting, the IRS might say that a red flag has been put on your file, or more simply, that your account had been flagged. This term probably migrated from flags used in various sports to indicate a violation, along with the American cultural meaning of the word red.