Certified SOC Analyst (CSA) — Question 12

Which of the following attack can be eradicated by using a safe API to avoid the use of the interpreter entirely?

Answer options

Correct answer: A

Explanation

Using a safe API can prevent Command Injection Attacks by eliminating the need for an interpreter that executes commands. In contrast, SQL Injection Attacks, File Injection Attacks, and LDAP Injection Attacks involve different vulnerabilities that are not directly mitigated by simply using a secure API.