Tuesday, December 1, 2026
Advertisement
Health/Medical Science

When Artificial Intelligence Becomes a Double-Edged Sword: Cyberattacks, Software Failures and the Growing Fragility of the Digital World

When Artificial Intelligence Becomes a Double-Edged Sword: Cyberattacks, Software Failures and the Growing Fragility of the Digital World

 Ravish Handoo

Artificial intelligence is transforming the way businesses operate, governments function and people communicate. It is also changing the nature of technological risk. As organisations increasingly depend on interconnected digital platforms, cloud infrastructure and automated software, the speed at which technology is developed and deployed is beginning to raise questions about how effectively it can be controlled. AI promises faster software development, smarter cybersecurity and greater efficiency, but there is a growing concern that the ability to create and modify technology may be advancing faster than the ability to verify its safety. Recent disruptions involving major websites, cloud services and banking systems have brought this concern into sharper focus.

On November 16, cybersecurity researchers identified a malicious code operation affecting websites belonging to 178 organisations, including some of the world’s most recognisable companies and institutions. CNN, BBC, Fox News, Zoom, HSBC, Equifax, Salesforce and IKEA were among the organisations whose websites were identified in connection with the incident. What made the attack particularly alarming was that visitors were not necessarily accessing suspicious websites or clicking questionable links. They were visiting familiar and trusted platforms, unaware that an external technology service used by those websites had become a channel through which malicious code could reach their browsers.

The incident involved Optimizely, a platform used by businesses to experiment with website designs, personalise digital experiences and improve visitor engagement. Modern websites routinely depend on such external services for analytics, advertising, customer engagement and content optimisation. These functions are often delivered through JavaScript files that load automatically when a visitor opens a webpage. While this arrangement makes websites easier to operate and maintain, it also creates a chain of technological dependencies. If one trusted supplier is compromised, the consequences can extend to hundreds of organisations that rely on its services.

In this case, malicious JavaScript was inserted into customer projects, allowing infected scripts to be delivered through websites that visitors already trusted. Security researcher Scott Helme identified 188 infected scripts associated with 178 organisations after examining 1,611 scripts. The malicious code was designed to replace cryptocurrency wallet addresses with those controlled by attackers, capture payment-card information entered into online forms, collect certain browser information and attempt to deliver exploit code targeting iPhones and iPads. The full extent of successful compromises and the number of affected visitors remained uncertain. Nevertheless, the incident demonstrated how a vulnerability in one software provider could potentially expose visitors to a large number of otherwise unrelated websites.

The attack also exposed a fundamental weakness in the architecture of the modern internet. A website is no longer an independent digital property operating entirely through its own servers. It is an ecosystem of interconnected services, many of which are supplied and maintained by external companies. A newspaper may control its editorial system and subscriber database, while simultaneously loading scripts from several technology providers. A bank may maintain highly secured financial infrastructure but depend on external services for customer engagement or website personalisation. Visitors see a single website, but behind it lies a network of different systems whose security may be outside the direct control of the organisation they are visiting.

This is where the growing capabilities of artificial intelligence become relevant. AI-assisted hacking is not simply a matter of asking a chatbot to break into a website. It involves using intelligent systems and automated tools to accelerate activities such as analysing software, identifying vulnerabilities, generating scripts, testing weaknesses and modifying malicious code. Tasks that once required considerable technical knowledge and hours of manual effort can increasingly be assisted by systems capable of processing large volumes of code and producing working suggestions within seconds. This does not mean AI has independently become a sophisticated hacker, but it does lower the technical barriers to certain forms of cybercrime.

An attacker with limited programming experience can use AI tools to understand unfamiliar code, examine possible weaknesses and generate scripts for testing. More experienced criminals can use the same technology to accelerate reconnaissance, automate repetitive operations and develop variations of existing malicious code. These capabilities could make attacks more accessible and scalable, allowing criminals to target a larger number of systems with less manual effort. The concern is not necessarily that AI will invent entirely new forms of cybercrime, but that it could make existing methods faster, cheaper and easier to execute.

There is, however, no established evidence that artificial intelligence was used by the attackers in the Optimizely incident. The compromise involved an exploited vulnerability in the platform’s account signup process and unauthorised changes to customer projects. The precise method through which the attackers obtained the ability to modify those projects remained under investigation. It would therefore be inaccurate to describe the incident as an AI-generated cyberattack. Its significance lies in demonstrating the kind of vulnerability that automated and AI-assisted attackers could exploit more efficiently in the future.

There is another side to this technological risk that deserves equal attention. While AI can help criminals identify and exploit software weaknesses, it is also changing the way software itself is developed. Businesses across the world are adopting AI coding assistants to generate programming instructions, suggest modifications and identify errors. Developers can now describe a requirement in ordinary language and receive code that previously would have required considerable manual effort. This is a genuine productivity breakthrough, but faster code generation does not automatically translate into more reliable software.

The risk emerges when the speed of producing code exceeds the capacity to examine and verify it. AI systems can generate programming instructions that look perfectly logical, compile successfully and perform well during basic testing, yet contain errors that emerge only under particular conditions. A programme may work correctly for one user but fail when thousands access it simultaneously. A modification to one component may unintentionally affect another that depends on it. A seemingly minor change can introduce a security weakness, processing delay or conflict with older systems. Human programmers have always made such mistakes, but AI can increase the volume of code produced and the speed at which it is introduced into existing systems.

This creates what may be called a verification deficit. Organisations are gaining the ability to generate and deploy software modifications rapidly, but their capacity to establish that every change is safe does not necessarily increase at the same pace. AI-generated code still requires human understanding, independent review, integration testing and security validation. In critical infrastructure, where applications, databases, hardware and external services interact, even a small programming error can have consequences far beyond the original modification.

The recent disruption involving Microsoft illustrates why software reliability deserves renewed attention. On November 12 and 13, Microsoft services experienced disruptions affecting users in different parts of the world. Outlook, Teams and other Microsoft 365 services were among the products affected, creating difficulties for businesses, institutions and ordinary users. An official government statement on November 16 acknowledged the seriousness of the incident and referred to the technical issues identified by Microsoft. The company indicated that there was no evidence of malicious activity and no indication that artificial intelligence agents had caused the disruption.

The Microsoft outage should not be presented as proof that AI-assisted coding has started damaging global technology infrastructure. The available information does not establish such a connection. The disruption involved technical problems associated with changes and upgrades to the company’s infrastructure. Nevertheless, it raises a wider question about how software changes are managed in systems on which hundreds of millions of people and organisations depend. When an upgrade or configuration change affects a major cloud platform, the consequences can extend across countries and industries. The reliability of such infrastructure cannot rest solely on the assumption that a change will work because it has passed an initial round of testing.

A similar concern emerges from the banking disruption reported in the United States on November 16. JPMorgan Chase acknowledged that a software bug affecting its on-premise hardware systems had slowed the processing of certain transactions. Customers reported difficulties with banking services, while transactions involving other financial institutions also experienced delays. Bank of America, Wells Fargo and other institutions attracted customer complaints, and users attempting to make payments through Zelle also reported problems. JPMorgan clarified that its customers continued to have access to their accounts and funds, that the issue was temporary and that there was no evidence of a cyberattack. Zelle also stated that its network was operational and that delays could arise when a participating bank experienced technical problems.

The incident highlighted how interconnected modern financial infrastructure has become. A transaction may pass through several processing layers, networks and participating banks before reaching its destination. If one critical component experiences a delay, customers of other institutions may also be affected, even when their own banks are functioning normally. A software bug within one institution can therefore produce wider transaction delays without indicating that the entire banking system has failed.

There is no verified evidence that AI-generated code caused the JPMorgan disruption either. The bank attributed the incident to a software bug in its internal hardware systems and said there was no evidence of a cyber-related cause. However, the incident is a reminder that financial institutions cannot afford to treat software development and modification as ordinary operational activities. As banks increasingly adopt automation and AI-assisted development, the standards governing the testing and approval of software changes must remain as rigorous as those applied to financial transactions themselves.

The distinction between an AI-assisted cyberattack and an AI-assisted software failure is important. In the first case, AI may help an attacker identify a weakness, generate malicious code or automate an intrusion. In the second, it may help a developer produce code containing an unintended defect. One involves deliberate compromise, while the other involves an accidental failure. Both can cause serious disruption, but they require different investigations and responses. The danger is that the two risks may increasingly reinforce each other. A poorly tested application can create a vulnerability that an attacker subsequently discovers, while a compromised software supplier can distribute malicious code through otherwise legitimate websites.

The traditional software development process involved planning, coding, testing, review and deployment. It was never free from errors, but AI is changing the economics of programming. Developers can now produce more code in less time, and organisations may increasingly measure productivity by the speed at which new features are delivered. Under commercial pressure, verification can become a bottleneck that management teams are tempted to reduce. Yet AI does not independently decide to bypass a security audit or deploy an untested modification. These are organisational decisions, and responsibility for their consequences remains with the people and institutions making them.

The problem is particularly serious in legacy infrastructure. Banks, airlines, government departments and large corporations continue to operate systems developed over several decades. Some depend on older programming languages, databases and hardware arrangements that may be poorly documented. AI tools can help developers understand these systems, but they can also misinterpret existing logic or generate changes that fail to preserve essential functions. A seemingly minor modification may affect transaction queues, authentication, data synchronisation or communication between different components. In such environments, the question is not simply whether AI can write code, but whether it can safely modify a system whose full behaviour may not be understood even by the teams maintaining it.

The same vulnerability is evident in the growing dependence on cloud computing. Organisations increasingly rely on a small number of large technology providers for email, storage, authentication, collaboration and application hosting. This centralisation reduces costs and makes sophisticated services widely accessible, but it also creates concentration risk. When a major provider experiences a technical problem, the impact can spread across customers that have no direct relationship with one another. The Microsoft disruption demonstrated the dependence of businesses on shared digital infrastructure, while the Optimizely incident showed how a compromised external service could expose visitors across numerous websites.

For India, these developments deserve particular attention. The country has made remarkable progress in digital payments, banking access and online public services. UPI has transformed everyday financial transactions, while digital banking has reduced the need for physical visits to branches. Government services, educational institutions, healthcare providers and businesses are increasingly dependent on online platforms. These advances have delivered enormous benefits, but they also mean that the continuity of essential services depends on the reliability of the systems supporting them. A disruption affecting a payment intermediary, cloud provider, telecommunications network or authentication service could affect millions of people who may not even know where the failure originated.

Indian financial institutions and technology companies must therefore treat AI adoption as a matter of operational resilience, not merely productivity. Significant software modifications affecting core banking, payment processing, identity verification or customer data should undergo independent review. AI-generated code must be subjected to rigorous testing, including simulations involving high transaction volumes, hardware failures and interruptions in communication between systems. New versions should be introduced gradually, with the ability to reverse changes quickly if unexpected behaviour emerges. Independent backups and contingency arrangements must also be maintained so that essential operations can continue during a technology outage.

News organisations and digital publishers need to reconsider their approach to website security as well. The attack on 178 websites demonstrated that protecting a server, database and administrator account is no longer sufficient. Every external script, advertising network, analytics service, plugin and embedded application forms part of the security environment. Publishers must know which services are loading code on their websites, restrict unnecessary permissions and monitor unexpected changes. Security policies, access controls and continuous script monitoring can help reduce exposure. A website may have an excellent firewall and a secure content management system, yet still expose its visitors through a compromised external component.

Technology suppliers also have a responsibility to strengthen their security practices. Companies providing cloud infrastructure, analytics, website optimisation and software development platforms must maintain strict access controls, monitor unusual activity and investigate vulnerabilities before they become large-scale incidents. Platforms serving multiple customers require particular attention because a weakness in one account-management process can expose several unrelated organisations. Customers must also be informed promptly when a security incident occurs so they can assess their exposure and take corrective action.

Artificial intelligence can, of course, be part of the solution. The same technology that helps attackers analyse vulnerabilities can assist security teams in identifying suspicious code, detecting unusual network activity and reviewing large volumes of software changes. AI-powered systems can monitor patterns continuously, flag deviations and accelerate incident response. AI-assisted code review can also identify potential errors before deployment. But these systems must support human judgement rather than replace it. Automated tools can overlook threats, generate false alarms or misunderstand the significance of an event. The final responsibility for approving changes to critical infrastructure must remain with accountable professionals.

It is also important not to connect every recent outage to a single explanation. The Microsoft disruption, JPMorgan transaction delays and Optimizely-related website attack occurred within a short period, but there is no established evidence that they were coordinated or caused by artificial intelligence. Microsoft reported technical problems and said there was no indication of malicious activity or AI-agent involvement. JPMorgan attributed its transaction delays to a software bug and ruled out evidence of a cyberattack. Investigators had not established that AI was used in the website attack. The American aviation disruption reported during the same period was also attributed to a technical problem involving a router, rather than an AI-related failure. These distinctions matter because a serious examination of technology risks must be based on evidence rather than speculation.

Yet the absence of a proven connection does not make the larger concern less relevant. These incidents expose different weaknesses within the same digital ecosystem: vulnerable third-party software relationships, failures during complex technology changes and dependence on interconnected infrastructure. Artificial intelligence is increasingly influencing all three areas. It is helping developers write software, assisting organisations in automating operations and potentially enabling criminals to identify weaknesses more efficiently. The challenge is to ensure that the institutions adopting these capabilities develop equally strong systems of oversight and accountability.

Digital resilience must become a central measure of technological progress. The success of digital transformation cannot be judged only by speed, convenience, cost reduction or the number of services moved online. A banking platform that processes millions of transactions but cannot recover from a hardware fault is not fully resilient. A cloud service without effective contingency arrangements remains vulnerable to widespread disruption. A website that cannot identify malicious code delivered through a trusted supplier has an incomplete security framework. Similarly, a software company that generates code faster than it can test and validate it may be increasing productivity while quietly accumulating operational risk.

The greatest danger is not that artificial intelligence will suddenly take control of the world’s computers. It is that people and institutions may gradually surrender too much control through excessive dependence, insufficient verification and an unquestioning belief in automated solutions. An attacker may use AI to exploit a trusted software supplier. A developer may use AI to introduce a defect into a critical application. An organisation may deploy an upgrade without adequately understanding its consequences. These are different scenarios, but they reveal the same underlying problem: technological capability is advancing faster than the systems of responsibility designed to govern it.

The disruption of 178 websites, the Microsoft service outage and the banking delays should therefore be viewed as separate events that collectively demand a more serious examination of digital resilience. They do not prove that AI-assisted hacking or AI-generated programming caused these incidents. They do, however, demonstrate why the world must prepare for a future in which both malicious attacks and accidental software failures could be accelerated by artificial intelligence. The real test of technological progress will not be how quickly machines can write code or how efficiently digital transactions can be processed. It will be whether the systems on which modern society depends remain secure, dependable and recoverable when something goes wrong. In the age of artificial intelligence, the ability to build faster must be matched by the ability to verify better. Otherwise, the technology designed to make the digital world more efficient could also make it more fragile.

Related Articles