Researchers have developed a practical countermeasure to mitigate attacks on quantum key distribution (QKD) systems that exploit detection efficiency mismatch, a vulnerability stemming from non-identical detector responses to incoming photons. This class of attacks, which includes the time-shift attack, can be particularly damaging to QKD systems. The proposed countermeasure addresses this issue by reducing the detection efficiency mismatch, thereby decreasing the potential for quantum hacking strategies to succeed1. The time-shift attack, a notable example of such strategies, targets the differential detection efficiency in QKD systems. By implementing this countermeasure, QKD systems can enhance their security against these types of attacks. This development is crucial as quantum computing advancements continue to challenge traditional cryptography assumptions. The implementation of this countermeasure can significantly improve the security of QKD systems, making it a vital consideration for practitioners tasked with securing sensitive information against increasingly sophisticated quantum-based threats.