Loading...

The AI security gap: Protecting sensitive data in an era of AI adoption

There are two aspects of AI security that enterprises need to think about. One is the security of AI itself, and the other is security in the era of AI. While there is a lot of discussion around the former, I believe the latter deserves equal, if not more, attention.

On one hand, enterprises are giving AI access to large amounts of sensitive data, business applications and critical infrastructure. On the other hand, AI is making sophisticated cyberattacks accessible to a much larger population.

Bikash Barai, Founder, FireCompass

These two developments are creating a security gap that we need to address.

Traditionally, an application would have a fairly well-defined set of functionalities and access to data. With agentic AI, this is changing. An AI agent may have access to multiple applications, databases, APIs and internal knowledge repositories. It may also have the ability to execute actions on behalf of a user.

Consider an AI assistant connected to an organization’s internal knowledge repository. Can an employee manipulate the assistant into retrieving another employee’s salary information? Can a malicious instruction embedded in a document influence the behavior of an AI agent? Can an agent be manipulated into transferring sensitive data to an external system?

The biggest security risk with agentic AI may not be what the AI knows, but what it has permission to do.

A lot of these vulnerabilities are also business logic vulnerabilities. Detecting them requires an understanding of how the application works, what a user is supposed to be able to do, and how that functionality can be misused. Traditional vulnerability scanners often miss these classes of vulnerabilities.

Earlier this year, we conducted an interesting experiment at FireCompass. Our AI agents achieved #1, #2 and #3 positions across multiple HackerOne leaderboards during a three-month live bug bounty experiment.

What I find more interesting than the rankings is the economics of it. We were able to achieve this with a budget of about $5,000 per month, including AI compute, cloud infrastructure and human oversight.

AI has reached a stage where it can compete with some of the world’s most sophisticated human security researchers in certain areas of hacking. And it can do so at a relatively low cost.

I look at this development across three dimensions, which I call the three S’s: speed, scope and sophistication. AI can test faster, test a much larger number of assets and increasingly carry out sophisticated attacks that require reasoning and chaining together multiple vulnerabilities.

In one of our security tests, an AI agent was able to identify a series of vulnerabilities across seemingly unrelated systems and establish a path to an internal database containing sensitive information.

Your most sensitive data may be protected by your strongest security controls, but the path to that data may begin with your least protected application.

I believe we are going to see a significant divide between organizations that adopt AI for cybersecurity and those that do not.

Today, a lot of large enterprises conduct penetration testing once or twice a year. Given the cost and availability of skilled penetration testers, they also end up testing only a subset of their applications and infrastructure.

Now imagine an attacker using AI to continuously test thousands of applications, APIs and infrastructure assets of an organization, while the organization itself is testing only a fraction of these assets once a year.

Earlier, a threat actor needed either considerable expertise or the resources to hire people with that expertise. With AI, the cost of acquiring such offensive capabilities is coming down. This could enable even relatively small threat groups to carry out attacks that were earlier within the capabilities of only a few sophisticated threat actors.

Enterprises need to rethink the frequency, coverage and depth of their security testing.

First, organizations need visibility into where AI is being used, what data it has access to, and what actions it is authorized to perform. This includes AI applications that employees may have started using without the knowledge of the security team. Organizations should also ensure that access to sensitive data is enforced at the application and API level, rather than relying on instructions given to an LLM.

Second, enterprises need to expand the scope of security testing to include AI-specific vulnerabilities, business logic flaws, authorization issues and multi-stage attack paths.

Third, organizations should move towards continuous penetration testing and red teaming. Every time an application is deployed, an API is modified, or an AI agent is given additional privileges, there could be new ways of getting access to sensitive data.

AI is making such continuous testing economically more feasible. However, AI agents themselves need to operate within well-defined boundaries, with strict scope enforcement, non-destructive testing and appropriate human oversight.Human expertise will continue to be important, particularly in understanding complex business contexts and dealing with scenarios where AI has limitations.

Instead of looking at how many vulnerabilities we have or how many security controls we have deployed, we should also be asking a slightly different question. Can an attacker actually get access to our sensitive data, and through how many different paths?I am personally quite optimistic about what AI can do for cybersecurity. For years, one of our biggest challenges has been our inability to test everything, frequently enough and with sufficient depth.

For the first time, we have a realistic opportunity to address all three. The question is how quickly enterprises will take advantage of it.

Share your exclusive thoughts to:
jeevika@thefoundermedia.in

About The Author