Safe-Embed: Unveiling the Safety-Critical Knowledge of Sentence Encoders