Arab Press

بالشعب و للشعب
Monday, Apr 06, 2026

Copycat coders create 'vulnerable' apps

Copycat coders create 'vulnerable' apps

Developers who copy code rather than write it themselves leave apps open to attack, a study warns.

Lazy developers who copy solutions to tricky programming problems are creating apps that are vulnerable to attack, research suggests.

A team of computer scientists looked at more than 72,000 chunks of code found on the Stack Overflow website.

The site is popular with developers seeking advice on the best way to fix broken code.

But researchers found many of the most copied snippets lacked basic checks that would stop common attacks.

The dangerous code chunks often used obsolete functions, did little to check user responses and did not look for attempts to break the application, said the study.


Security risks


The researchers, also trawled through a website where many developers upload and share the code behind their apps and programmes.

The most widely used insecure code blocks turned up in more than 2,800 separate projects on the Github website, they found.

The research team, involving experts at Canadian and Iranian universities, focused on the C++ programming language, which is used in a huge variety of projects, from small programs to large distributed systems.

The team informed those they found using the problematic code chunks on Github that they may have introduced security risks into their apps and programmes.


The hard way


But only 13% of the developers contacted said they had fixed the code, the researchers said. A similar number declined to fix the bugs.

Some 40% said the code was safe because users could not change it once an app was running.

"The people who are using Stack Overflow, they shouldn't trust it fully," said Prof Ashkan Sami, a computer scientist at Shiraz University in Iran who co-wrote the study.

"It's better for programmers to do it the hard way and learn secure coding," he told The Register tech news site.

Prof Sami said the team had developed an extension for the Chrome browser that checks when code is copied from Stack Overflow and lets coders know if it is poorly written or insecure.

Newsletter

Related Articles

Arab Press
0:00
0:00
Close
Iranian Drone Strike on US Embassy in Saudi Arabia Reportedly Targeted Intelligence Facility
Saudi Deputy Foreign Minister Meets French Embassy Official to Strengthen Bilateral Engagement
Saudi Arabia Calls on United States to Seize Strategic Opportunity to Reshape Middle East
Dating Apps Surge in Saudi Arabia as Social Norms Rapidly Evolve Among Youth
Saudi Arabia Detains Over Fourteen Thousand Illegal Residents in Week-Long Enforcement Drive
Saudi Foreign Minister Engages in Diplomatic Talks with Pakistan, Kuwait and Latvia on Regional Developments
Saudi Arabia Intercepts Cruise Missile as Regional Tensions Intensify
Saudi Stock Market Edges Higher as Tadawul Index Records Modest Gain
Underlying Rivalry Between Saudi Arabia and UAE Persists Despite Temporary Calm
Saudi Arabia’s Non-Oil Sector Contracts in March as Regional Tensions Weigh on Business Activity
Saudi Arabia Unveils Ambition to Establish Prestigious Global Prize Rivaling the Nobel
Saudi Crown Prince to Engage Wall Street in Push for Investment and Economic Expansion
Iran Accuses Saudi Arabia and UAE After Downing of Chinese-Made Drone
Saudi Arabia Condemns Attack on Hospital in Sudan, Calls for Protection of Civilians
Coordinated Drone Strike Targets CIA Facility Within US Embassy in Saudi Arabia
Italy’s Meloni Prioritises Energy Security and Strait of Hormuz Stability During Gulf Tour
Uncertainty Emerges Over Timeline and Direction of Saudi Arabia’s Ambitious Ski Resort Project
UAE and Saudi Arabia Escalate Strategy with Drone Operations Targeting Iran
Trump Delivers Characteristic Remarks on Saudi Crown Prince Amid Intensifying Iran Conflict
Drone Strike on US Embassy in Riyadh Caused Greater Damage Than First Reported
Saudi Arabia Introduces Flexible Solutions for Expired Visas Amid Regional Disruptions
Saudi Arabia’s Online Car Market Accelerates with AI Pricing and Fully Digital Buying Experience
Saudi Arabia Reassesses Defence Strategy as Iranian Drone Threat Drives Shift in Military Partnerships
Drone Strikes Target Saudi Arabia, Kuwait and Bahrain as Regional Conflict Intensifies
Japan and Saudi Arabia Align Efforts to Ease Rising Tensions with Iran
Saudi Crown Prince and Italy’s Meloni Strengthen Strategic Ties in High-Level Talks
SpaceX Explores Potential Five Billion Dollar Investment from Saudi Sovereign Wealth Fund Ahead of IPO
Saudi Arabia Lifts Key Import Barriers to Expand Access for U.S. Beef Exports
Saudi Arabia Enforces Strict Travel Penalties for Visits to Restricted Countries
Italy’s Meloni Embarks on Strategic Gulf Tour to Address Energy Security and Regional Stability
Saudi Film Festival Rescheduled to Summer as Regional Tensions Continue
Saudi Arabia Reports Forty Two Point Six Billion Dollars in Foreign Tourist Spending in 2025
Saudi Crown Prince and Russian President Hold Strategic Call on Escalating Regional Crisis
Saudi Arabia Advances Rail Network as Strategic Alternative to Strait of Hormuz Shipping Route
Ruanyun Edai Launches Saudi Arabia Hub With Forecast of Ten Percent Revenue Growth
Greek Defence Minister Visits Troops in Saudi Arabia Following Successful Missile Interception
Saudi Arabia Expands Global Strategy With Focus on African Critical Minerals
SpaceX Explores Potential Five Billion Dollar Investment From Saudi Fund Ahead of Possible IPO
US Central Command Dismisses Iranian Claim of Mass Casualties Among American Personnel in Saudi Arabia
Co-Diagnostics to Establish Molecular Diagnostics Facility in Saudi Arabia Through Joint Venture
Trump Engages Saudi Crown Prince in Talks on Potential Iran Ceasefire
Saudi Arabia’s Sadara Suspends Operations as Supply Chain Disruptions Intensify
Saudi Arabia Accelerates Energy Shift by Trading Oil Revenues for Battery Investments
Saudi Arabia Introduces Flexible Options for Expired Visas Amid Regional Disruptions
Online Narratives Surge as Iran–US Tensions Spill Into Digital Arena Following Trump Remarks
Saudi Arabia Urges Trump to Seize Strategic Moment as UAE Weighs Ground Deployment
Saudi Arabia Redirects Nearly One Million Barrels of Oil Daily Away from Strait of Hormuz
Saudi Arabia Carries Out Execution of Businessman Linked to 2011 Qatif Unrest
Ukraine–Saudi Defense Pact Signals Rising Demand for Battlefield Expertise
Saudi Arabia Balances Diplomacy and Defense Preparedness Amid Iran Conflict
×