This seems extremely unlikely. We don't see stars doing this naturally, and stars are very big objects so the chance of this happening by sheer chance shouldn't be that low if it can happen with anything like marginally plausible technology. Similarly, from a Great Filter standpoint, we don't see a lot of sun-like stars going boom, so this can't be a substantial fraction of the Great Filter.
It is also extremely unclear how one would go about setting this off even if it were possible. You'd need to somehow get a large, specifically engineered nuclear weapon deep into the sun without it being damaged or destroyed in the process. Overall, I'm not terribly worried.
Bolonkin & Friedlander (2013) argues that it might be possible for "a dying dictator" to blow up the Sun, and thus destroy all life on Earth:
Warning: the paper is published in an obscure journal by publisher #206 on Beall’s List of Predatory Publishers 2013, and I was unable to find confirmation of the authors' claimed credentials from any reputable sources with 5 minutes of Googling. It also has two spelling errors in the abstract. (It has no citations on Google scholar, but I wouldn't expect it to have any since it was only released in July 2013.)
I haven't read the paper, and I'd love to see someone fluent in astrophysics comment on its contents.
My guess is that this is not a risk at all or, as with proposed high-energy physics disasters, the risk is extremely low-probability but physically conceivable (though perhaps not by methods imagined by Bolonkin & Friedlander).