Skip to main content

Article

The Cyberattack That Arrives as a Business Opportunity

How malicious actors are targeting software companies through convincing project proposals—and what organizations can do to protect themselves.

Cybersecurity

Writer working at a desk surrounded by open books, abstract geometric forms, clouds, and connected visual elements representing research, writing, and idea development.

Imagine receiving an inquiry from a prospective international client.

The project is substantial. The requirements are detailed. The budget is attractive. The prospective client has prepared technical documentation, a product roadmap, and a proposed development schedule.

Everything suggests a promising business opportunity.

But hidden within the project files is something entirely different: malicious code designed to compromise the computers of the engineers evaluating the project.

This is not a hypothetical scenario. It is something we recently encountered at Ingenuity.

We are sharing our experience because we believe other software development companies, technology professionals, and organizations that regularly exchange technical materials should understand how these attacks work—and how to reduce their exposure.

 

When a Legitimate-Looking Project Becomes the Attack

We recently received an inquiry from someone claiming to represent an established company seeking a technology partner to develop an AI-powered application.

The materials were professionally prepared and included many of the elements we would normally expect from a serious prospective client: a product overview, functional requirements, architecture considerations, security specifications, an implementation roadmap, and a commercial framework.

The project appeared credible enough to warrant technical evaluation.

However, while reviewing the supplied source repository archive, we discovered something concerning.

The repository contained an executable Git hook, a type of script that Git can automatically run when certain development operations are performed.

In this case, the hook was configured to execute when someone switched branches in the repository.

The project’s documentation instructed reviewers to switch to a specific branch to access a Non-Disclosure Agreement (NDA).

Under normal circumstances, switching Git branches is a routine development activity.

But in this repository, that seemingly harmless action would trigger a hidden script designed to download and execute code from an external server.

A routine step in evaluating a potential client had been turned into a mechanism for executing untrusted code on a developer’s computer.

Fortunately, our review identified the suspicious mechanism without executing it.

We have not established the identity of the individuals responsible, nor have we determined what the externally hosted payload would ultimately have done.

Nevertheless, the behavior was sufficiently concerning to discontinue the engagement and treat the materials as a suspected malware-delivery attempt.

 

Why These Attacks are Particularly Dangerous

Many people associate cybersecurity threats with suspicious emails, obvious phishing links, fraudulent websites, or malicious attachments.

Those threats remain prevalent, but attacks targeting technology professionals can be considerably more sophisticated.

Rather than convincing someone to click an unfamiliar link, an attacker may exploit the legitimate activities that engineers perform every day.

For example, developers routinely download repositories, install dependencies, run development environments, execute build scripts, and test unfamiliar applications.

These are normal and necessary activities in software development.

They also create opportunities for malicious code to execute if the source cannot be trusted.

Git hooks are one potential mechanism. Others include malicious package installation scripts, compromised dependencies, automated development environment configurations, and software disguised as legitimate project setup tools.

In our case, the archive included a preinstalled Git post-checkout hook. Importantly, a normal fresh clone from a remote repository does not transfer that repository’s Git hooks. The attack relied on distributing an archive containing the .git directory and its executable hook.

Git’s own documentation confirms that a configured post-checkout hook can execute when a developer switches branches. Git

The potential consequences extend well beyond the individual developer’s workstation.

Depending on the malicious code and the permissions available, an attacker could potentially gain access to source code, cloud credentials, API keys, SSH keys, authentication sessions, internal systems, or sensitive customer information.

For a software engineering company, a compromised development workstation may also create risks for the clients and systems that its engineers support.

The attack does not necessarily exploit a vulnerability in the software being developed. It exploits the trust placed in the development workflow itself.

 

The Role of Social Engineering

One of the most important lessons from this incident is that technical sophistication is only part of the threat.

The other part is social engineering.

The materials we received were presented within the context of a realistic commercial engagement. They included a plausible product concept, detailed engineering requirements, a substantial budget, and an apparently legitimate organization.

These elements created a convincing reason to examine the supplied files.

The requested action—switching to a branch to review an NDA—was framed as an ordinary prerequisite to moving the business discussion forward.

This is what makes such attacks effective.

Instead of asking someone to do something obviously dangerous, attackers can embed malicious actions within familiar professional processes.

The increasing availability of generative AI also means that polished proposals, detailed specifications, and convincing business communications are easier to produce at scale.

Well-written documentation should therefore never be treated as sufficient evidence that a prospective client, supplier, or repository is trustworthy.

Our experience is not isolated.

In September 2026, another software development agency, ivector, publicly documented a similar attempted attack involving a fraudulent client inquiry, a repository containing a malicious Git hook, and instructions to access an NDA through a Git branch.

The agency identified the suspicious code before executing it. Its published investigation provides a useful account of how these attacks can be constructed. ivector

These cases demonstrate why organizations need to think about cybersecurity not only in terms of technical vulnerabilities, but also in terms of business processes and everyday operational decisions.

 

 

A Promising Project Hides a Threat

Seven Practical Steps Organizations Can Take to Reduce Their Risks

While no single security measure can eliminate every threat, organizations can significantly reduce their exposure by introducing appropriate safeguards.

1. Verify the identity of unfamiliar business contacts.

Before engaging with an unfamiliar organization, verify its website, corporate identity, and contact information through independent sources.

Pay attention to email domains that closely resemble legitimate corporate domains.

When necessary, contact the organization using publicly verified information rather than relying exclusively on the details supplied in an unsolicited message.

2. Treat externally supplied code and repositories as untrusted.

Source code received from prospective clients, contractors, suppliers, or unfamiliar contributors should undergo appropriate inspection before anyone attempts to execute it.

This includes checking for hidden scripts, Git hooks, installation procedures, package lifecycle scripts, IDE automation, and other mechanisms capable of executing code.

The fact that a repository contains apparently legitimate application code does not guarantee that every component is safe.

3. Separate document review from code execution.

Evaluating a business proposal should not automatically require running an unfamiliar application.

Whenever possible, request project specifications, architecture documents, and NDAs in formats that can be reviewed without executing repository code.

If someone insists that a legal document or ordinary business requirement can only be accessed by running unusual development commands, treat that as a reason for additional scrutiny.

4. Use isolated environments when evaluating unfamiliar software.

When execution is necessary, use appropriately secured and disposable development environments.

These environments should not have access to production systems, sensitive credentials, internal repositories, or confidential client data.

Virtual machines, sandboxes, and restricted development environments can help reduce the potential impact of malicious code, provided they are properly configured and isolated.

5. Apply least-privilege access and protect development credentials.

Developers should have access only to the systems and resources required for their responsibilities.

Use multifactor authentication, secure credential storage, appropriately scoped access tokens, and centralized access management.

Avoid storing unnecessary production credentials or long-lived secrets on workstations used to evaluate unfamiliar projects.

These measures can reduce the damage if a device or account becomes compromised.

6. Establish a clear process for reporting suspicious activity.

Employees should know when to stop interacting with suspicious materials and whom to contact.

Organizations should have procedures for preserving evidence, isolating potentially affected systems, evaluating credential exposure, and determining whether additional containment or recovery measures are necessary.

If potentially malicious code has already been executed, avoid using the affected computer to change passwords or investigate sensitive accounts. Incident response and credential recovery should be conducted using trusted systems.

7. Make security awareness part of business development.

Cybersecurity is not exclusively an engineering or IT responsibility.

Sales teams, business development personnel, project managers, and executives are often the first people to interact with unfamiliar external parties.

These teams should understand the warning signs of suspicious business inquiries and know when technical materials require security review.

A promising commercial opportunity should never become a reason to bypass established security controls.

 

Building a Culture of Secure Engineering

At Ingenuity, we believe engineering excellence extends beyond developing reliable, scalable, and well-designed software.

It also includes the discipline to recognize risks, question assumptions, and protect the systems and information entrusted to us.

The recent incident reinforced an important principle:

Security should be integrated into how we work, not treated as something that happens only after a problem is discovered.

That includes how we evaluate potential clients, review external code, collaborate with partners, and manage access to development infrastructure.

As software systems become more interconnected and AI accelerates the creation and distribution of digital content, organizations must continually reassess where trust is established and how it is verified.

A convincing proposal is not proof of legitimacy.

A familiar development command is not automatically safe in every environment.

And a promising business opportunity should never take precedence over sound security practices.

 

A Reminder to the Technology Community

We are sharing this experience not to create alarm, but to raise awareness of an attack method that other organizations may encounter.

Technology companies, independent developers, freelancers, and organizations that regularly evaluate unfamiliar software should be particularly attentive.

The next suspicious file may not arrive as an obvious phishing attachment.

It may arrive inside a carefully prepared project archive, accompanied by a convincing business proposal and a seemingly reasonable request.

The strongest defense begins with recognizing that even ordinary workflows can become attack surfaces when the source of the materials cannot be trusted.

Verify the source. Inspect before executing. Limit access. Protect credentials. And make security review a normal part of doing business.

Because protecting our systems is also part of protecting the people, organizations, and customers who depend on them.

About the author

Explore the ideas