A NASA space telescope has uncovered evidence of a 'planet killer' star