A code review finds the repository source clean, yet the shipped binary contains a function that appears nowhere in the source. Which control best addresses the most likely cause?
Show the answer
Correct answerB. Build only with integrity-verified, approved compilers and tools
AWhy not this: Dynamic scanning tests runtime behavior and will not reliably expose a compiler-inserted backdoor or trace it to its cause.
BWhy this is right: Verified, approved compilers and build tools stop a tampered toolchain from inserting code that is absent from the source.
CWhy not this: Composition analysis checks third-party libraries, not the compiler or build tools that produced the binary.
DWhy not this: Source analysis inspects code that is already clean; the extra function is added after the source is read.
Code in the binary but not in the source points to a tampered compiler or build tool. Building only with verified, approved tools protects the toolchain. SAST on source cannot find it, because the malicious code is added during the build.