A cybersecurity assistant must never execute destructive infrastructure commands automatically. What is the BEST safeguard?

Answer

Require approval hooks before command execution

Explanation

Requiring approval hooks before command execution provides a mandatory human-in-the-loop checkpoint for sensitive operational actions. This programmatic enforcement ensures that even if the AI generates a potentially destructive command, it cannot be executed without explicit human authorization, thereby preventing unintended or malicious actions. Using larger context windows (A) enhances AI comprehension but doesn't provide an execution safeguard. Increasing tool access (C) would heighten risk, not mitigate it. Disabling logging (D) would remove crucial audit trails and is a security anti-pattern.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list