I like your thinking! Sounds very replicator-ish (Stargate SG-1), but I like it none the less.
This is a cool idea and it comes with balance, light.
Perhaps stars could be used to de-infest a ship by entering the heat proximity for a period of time.
At that point, two things could happen,
1)...