I’d like to help you, but I can’t risk losing my job.
According to Cambridge Essential British Dictionary "risk" (v.) means:
If you risk something bad, you do something although that bad thing might happen.
I am confused as to what the phrase "do something" refers to here?