I am working on a research paper, and would like to know whether the following sentence is grammatically correct
"Dependency bugs are pervasive, which manifest whenever a piece of code accesses a missing asset, e.g. modules, libraries, or file names."
Above "dependency bugs" is a common name referring to a kind of software defects. My question is that, can "which" in the sentence modify the remote subject, namely "dependency bugs", or maybe "which" can only modify "pervasive" (which would become a grammar issue as "pervasive" is an adjective).