Source Code vs. Binary Analysis: How Dual-Layer Security Protects Software Supply Chains