The season finale of Secret Invasion has officially reinvented a classic Marvel character for the MCU. After Captain Marvel shocked fans by revealing the MCU's Skrulls were not the same villainous invaders as their comic book counterparts, Secret Invasion went on to further develop the conflicting factions within the Skrulls' ranks. The series introduced Gravik, a rogue Skrull who rebelled against Talos' leadership in order to launch an invasion of Earth. In doing so, he made sure to prepare for any potential showdown with The Avengers.
Source:https://www.cbr.com/secret-invasion-turns-marvel-villain-into-hero/