A prompt is not malicious software, it's an input. It's similar to SQL injection (query evaluation from unsanitised input), unless that injection also leads to arbitrary code execution, which could involve actual malware as payload. Of course a malicious prompt could lead the LLM to generate and run said malware for the attacker, or it could act itself as malware.
Comments
A prompt is not malicious software, it's an input. It's similar to SQL injection (query evaluation from unsanitised input), unless that injection also leads to arbitrary code execution, which could involve actual malware as payload. Of course a malicious prompt could lead the LLM to generate and run said malware for the attacker, or it could act itself as malware.