Bad contract puts all accounts in wallet at risk?

If I interacted with a malicious contract, does that mean my entire wallet and all the individual accounts within would be at risk? or is it just that single wallet address?