Use binaries (like syft and trivy) in image instead of downloading them
syft
trivy
if command -v trivy > /dev/null