Swift Cocoapods Missing Package Lock
Description
Detects when a Swift/CocoaPods project has dependencies declared in a Podfile but is missing the corresponding Podfile.lock file. Without a lock file, the exact versions of dependencies are not pinned, which can lead to supply chain attacks and inconsistent builds.
Detection Strategy
• Scan for presence of a Podfile that declares CocoaPods dependencies
• Check if a Podfile.lock exists in the same directory as the Podfile
• Report a vulnerability if dependencies are declared but no Podfile.lock is present
Search for vulnerabilities in your apps for free with Fluid Attacks' automated security testing! Start your 21-day free trial and discover the benefits of the Continuous Hacking Essential plan. If you prefer the Advanced plan, which includes the expertise of Fluid Attacks' hacking team, fill out this contact form.