1. An apparatus for scanning an executable script object comprising: a digital dictionary configured to store tokens each comprising a possible piece of a uniform resource locator (URL); a script parser configured to: receive an executable script object comprising text, parse the text of the executable script object to find an instance of one of the tokens in the text, continue to parse the text of the executable script object adjacent to the instance of the token to find a syntax element, and construct a candidate URL from the instance of the token and the syntax element; a URL rules detector configured to: store rules for validating URLs, and utilize the stored rules to determine whether the candidate URL is a valid URL.