For transmission, plenty of infectious fluid is needed to be exchanged inside the body, for which, a
safety razor does not qualify.
However, for personal hygiene, and to prevent other contageous infections, it is always better to avoid anybody else's kits. You may use a different brand having different color to eliminate the risk of picking up the wrong razor inadvertently.