に感染した

became infected with

→ に
phrase Rare #36,639
became infected with Used when someone or something becomes infected with a disease, virus, or other pathogen. The thing causing the infection is marked with に.
JA: 彼はインフルエンザに感染した。
EN: He became infected with the flu.

仲間天然痘に感染したんです

One of my colleagues contracted smallpox.

— RRR (2022)

トムパソコンがウイルスに感染した

Tom's computer got infected with a virus.

パソコンがウイルスに感染したようです

It looks like my computer has been infected with a virus.