Question 480
A coding agent reviews build scripts for security concerns. The project provides shell execution and production deployment tools, but the user requested a read-only assessment. What tool set should the coordinator grant?
Explanation
Correct Answer
Least privilege matches the review scope while still supporting evidence gathering.
Incorrect Answers
Running source-controlled scripts under an unrestricted shell can perform side effects and exceed the requested read-only analysis. Prefer narrowly scoped file-reading tools; any test execution needs its own authorization boundary.
Untrusted code should not be run merely to read it.
Expertise does not create authorization for side effects.