Hamsters can transmit various viruses, including:
Hantavirus: This is one of the most common viruses and may cause epidemic hemorrhagic fever. Hantavirus is mainly spread through the excreta of hamsters.

Lymphocytic Choriomeningitis Virus (LCMV): This virus can cause symptoms such as fever and headache.
Dengue Virus: Although hamsters may carry this virus, they usually don't transmit it to humans. Just maintain good hygiene habits.
Preventive measures include:
Maintain a Good Breeding Environment: Regularly clean the living environment of hamsters and provide clean food and water sources.
Personal Hygiene Habits: Wash hands promptly after coming into contact with hamsters, and regularly clean and disinfect the living environment of hamsters.
Scientific Feeding: Pay attention to the diet and health of hamsters, and avoid direct contact with hamster excreta.