Cloud Application Security

Where should developers obtain open-source packages so that only vetted versions end up in builds?

Show the answer

Correct answerC. An internal repository holding approved, scanned packages

AWhy not this: A personal mirror is uncontrolled and unaudited, so its contents cannot be trusted as validated.

BWhy not this: Search results can lead to look-alike or typosquatted packages, so they are not a validated source.

CWhy this is right: A curated internal repository serves only reviewed, scanned versions, so builds cannot pull unvetted code.

DWhy not this: Using the latest tag pulls whatever was published most recently, including unreviewed or compromised releases.

An internal artifact repository serves only packages that have been reviewed and scanned, so builds use known-good versions. Pulling the latest tag from a public registry lets unvetted or tampered versions enter the build.