Generic stealthy attacks

In the following I think I should use "generically". But I am not quite sure. Please confirm

In this light, we present a formal framework to systematically investigate the feasibility of generic stealthy attacks considering


Solution 1:

It depends on what the adjective is meant to describe. Look at it this way:

  1. [Generic] attacks

  2. [Stealthy] attacks

  3. [Generically] attacks

  4. [Generically] stealthy

If the use of the word in your sentence is meant to describe the "attack" (the noun-form), I'm sure you'll agree that (1) is the correct application of it.