In science, attack, from the point of view of scientific endeavors being a type of intellectual warfare (Thomas Young, 1810), refers to an assault on theory, belief, position, argument or point of view, often times made publically, such as in journal article format, via letter or article; sometimes done personally, via communication, directly or indirectly; at other times delivered in group between different factions or schools of thought.
In physics, classic examples of attacks can be found in the 17th century battles between Isaac Newton and Robert Hooke on gravitation and light.
The 1809 physical chemistry based novel Elective Affinities by German polymath Johann Goethe has been under attack nearly ever since its publication. As summarized in the 1859 New American Cyclopedia, edited by George Ripley and Charles Dana, describe Goethe's novella as follows: 
“In 1809, Goethe printed the most exceptionable of his novels, the Wahlverwandschaften (“Elective Affinities”), in which the charms and graces of this style are employed in the description of the impulses which spring from the collision of passion and duty in the relations of marriage. By the title of the book, and in the whole spirit of it, he would represent that sexual affinities follow the same inevitable law as chemical affinities, and that humanity struggles impotently against the dictates of nature. Like all his productions, this was suggested by circumstances in his own experience. The work shocked the moral world, in spite of the beauty with which it was written, and to this day tasks the ingenuity of those of his admirers who seek to defend it from attack.”
“I [would] have been much cheered to hear [a] kind word about the Wahlverwandtschaften; for at that time, and afterwards, not many pleasant remarks were vouchsafed be about that novel.”
“Christoph Rothmann who did not withdraw from entering into the so-called field of combat with Scaliger on the subject of comets, declared, in a certain letter to Tycho, that: ‘the lighter exhalations of the earth are carried on high with the help of good angels and are lifted above the moon, which the result that, being lighted by the penetrating rays of the sun there, they appear in the form of comets with tails or beards.”— Otto Guericke (1665), “Reply Letter to Sanislaus Lubienietzki”, Aug 5/15; in New Experiments on the Vacuum of Space (pg. 298)
“I shall attack chemistry like a shark.”References— Samuel Coleridge (1800) (see also: Whewell-Coleridge debate) 
“The biographical articles seldom amuse me much in writing; there is too little invention to occupy the mind sufficiently: I like to a deep and difficult investigation when I happen to have made it easy to myself if not to all others—and there is a spirit of gambling in this, whether as by the cast of a die, a calculation a perte de vue [i.e. a farfetched calculation] shall bring out a beautiful and simple result, or shall be wholly thrown away. Scientific investigations are a sort of warfare, carried on in the closet or on the couch against all one’s contemporaries and predecessors; I have often gained a single victory when I have been half asleep, but more frequently found, on being thoroughly awake, that the enemy had still the advantage of me when I thought I had him fast in a corner—and all this, you see, keeps one alive.”— Thomas Young (c.1820), “Letter to Hudson Gurney” 
“The works of Willard Gibbs can only be attacked with profit by the expert mathematician.”– William Bayliss, Principles of General Physiology (1915)“Indeed, not all attacks—especially the bitter and ridiculing kind leveled at Darwin—are offered in good faith, but for practical purposes it is good policy to assume that they are.”– Hans Seye (1964) 
“I prefer rationalism to atheism. The question of God and other objects-of-faith are outside reason and play no part in rationalism, thus you don't have to waste your time in either attacking or defending.”– Isaac Asimov (date) (link)