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
Related questions
An enterprise AI assistant must block responses containing customer PII before data is logged.
View question →
An AI procurement assistant must verify vendor IDs against an enterprise database before approving purchase requests.
View question →
A support chatbot should automatically escalate conversations involving threats or self-harm.
View question →
An enterprise wants to ensure every generated code snippet passes security linting before delivery.
View question →
A financial services company uses Claude inside an internal loan approval workflow. Compliance rules require that every generated recommendation include a disclaimer and audit ID before reaching employees.
View question →
A legal assistant powered by Claude should automatically reject prompts requesting confidential merger information.
View question →