Looks like the eight might be makeable in the side but this is a defense-oriented thread, so I will stick to safety play.
As it appears that the eight cannot be made into the corner, I'd start by hitting the cue ball about an inch so it's just above the twelve.
Opponent may have a safety off the eight but it's unlikely they would chance it with me on a foul, so they'll likely foul back. If they err and freeze me to the twelve (or, for that matter, the eight), as more than half the good players I've ever played would, I'll have a cross table safety grazing the twelve and I'm probably right back in the safety battle. But let's assume I won't be so fortunate. A far better repsonse from my opponent would be for them to knock it back past the twelve, but it's hard to imagine that I won't see a decent amount of the fifteen even if they execute this perfectly. After this, I'd graze the fifteen and send the cue ball one rail behind (and near) the five ball and, again, I'm right back in the safety battle.
So, to the original poster, yes, taking a scratch is best here.