An infostealer is malware that collects saved passwords, session cookies, tokens and other data from an infected device and sends them to attackers. It often targets browsers, where credentials and sign-in sessions are stored, and may also collect autofill data, files or details about the machine. The stolen data is commonly sold or used to break into accounts.
The danger comes from the breadth of what is taken. Stolen session cookies and tokens can sometimes be used to access an account without the password and without triggering multi-factor authentication, because the sign-in was already completed on the infected device.
Infection of one device does not mean every account was accessed, since attackers may not use everything they take, and defenses such as short session lifetimes can limit the damage. Equally, an absence of obvious symptoms does not show a device is clean.
If a device may be infected, disconnect it, remove the malware or rebuild it, then change passwords from a clean device and revoke active sessions and tokens for the accounts it used. Reduce risk by keeping software updated, using endpoint protection, avoiding untrusted downloads and limiting the credentials stored in browsers.