Supply Chain attack - protecting application from third party vulnerabilities

Gupta Bless
5 min readSep 18, 2023
Source

Introduction

As a result, an attack group comprises a service or trusted entity in order to breach an organization’s security and access its internal systems. Consider a company that relies heavily on internal development and uses a GIthub repo. When creating websites, most programmers use this framework. Each repository contains its own unique set of dependencies, libraries, and other components. The developer’s goal now is to provide encryption support to this repository. That’s why they’ll incorporate any widely-used open-source library for the task.

Now the attacker pretends to be a developer and submits a pull request intended to patch a hole in the encryption library. Assuming this pull request is legitimate, the main project’s maintainers merge it without verifying its validity. The malicious backdoor in the attacker code compromises the integrity of the entire project. As a result, the attacker’s virus is included into subsequent versions of the primary project. The update affects all currently active developers who are utilizing it. Because of how malware works, cybercriminals can easily gain access to private data within software.

Supply chain attacks can be much more severe and nuanced in the real world, but this scenario is meant to help everyone comprehend the progression of such an attack. Compromise can increase the severity of these attacks, which can have catastrophic implications.

Proactive approach to defending against

Source

Code review implementation

An organization can guarantee the safety and soundness of its code by conducting a secure source code review. Both humans and machines can use this technique to find bugs in the source code. By doing so, a developer or security researcher can identify flaws in the code, whether they originate in your own work or in the work of others. Third-party dependency validation can be a required part of this, allowing us to verify the safety and reliability of external libraries and parts. As part of…

--

--

Gupta Bless

Security enthusiast working to secure web for others.