Arab Press

بالشعب و للشعب
Wednesday, Aug 05, 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
AI Is Remaking the US Economy, From GDP Growth to iPhone Prices
FIFA’s Retreat Leaves a Larger Question Over Who Guards the Game
Finland Deploys Commercial-Scale Thermal Batteries Using Crushed Rock to Store Renewable Grid Energy
Valued at $109 Million: F-35B Fighter Jet Crashes in Southern California
US Says It Has Carried Out Heavy Strikes on Iran After Attempted Attacks on Its Forces
Over 24 Hours in the Air: Qantas Airbus Completes Record-Breaking Test Flight
Arrest Warrant Issued in Lebanon for Tycoon Spotted Meeting Netanyahu in Washington
Trump says Israel ‘would not survive’ without US
Nvidia Reportedly Takes Vast Texas Data-Centre Lease to Underwrite AI Expansion
FIFA’s Private-Investment Plan for World Cup Rights Draws European Revolt
Following OpenAI's Cyberattack: 'Most Companies Still Do Not Understand What Is Coming'
OpenAI Sued After ChatGPT Allegedly Discouraged Emergency Care Before Near-Fatal Embolism
Miliband Sets Climate and International Law at Centre of UK Diplomacy
Pentagon Discloses Nearly 100 US Troop Injuries During Renewed Iran Fighting
Trump Readies New Tariffs as Temporary Global Levy Nears Expiry
High Prices Push Coffee Drinkers Toward Whole Beans and Home Brewing
Trump Draws Boos and Podium Scrutiny at Spain’s World Cup Triumph
Spain Defeats Argentina in Extra Time to Win Second World Cup
Turkey Explores S-400 Transfer to UAE in Bid to Rejoin F-35 Program
US Retaliates Against Iran After Two American Troops Killed in Jordan
Proposed U.S.-Saudi Nuclear Pact Could Permit Limited Uranium Enrichment Under International Safeguards
Why Kentucky Fried Chicken Became KFC—and Why the False Explanations Persist
Iran Claims It Destroyed Bahrain’s Main Artificial Intelligence Center in Missile and Drone Strike
Ukrainian Drones Strike Wildberries Warehouses Deep Inside Russia
Reported CIA Mission Helped Clear the UAE’s Path to Advanced US AI Chips
Artificial Intelligence Capital Fuels Markets While Governments and Regulators Face Mounting Strategic Tests
China’s Moonshot’s Kimi K3 Narrows the Gap With Anthropic Through Scale, Openness and Lower Cost
The Ledger Will Not Trust on Faith
Passenger Bound for Germany Refused to Sit Beside a Woman on a Plane — Then Slapped a Flight Attendant
Ukraine’s Leadership Rift Spills Into the Streets as Protesters Target Army Chief
The Ten World Cup Finals That Defined Football History
Smartphones Are Getting More Expensive, Sales Are Collapsing, and Even Apple Admits: "Prices Will Rise"
Leadership Change and Strategic Rivalry Redraw the Political Map
The AI Race Enters Its Infrastructure Era
Britain Nationalises British Steel to Protect Scunthorpe Production and Strategic Supply
Thomas Tuchel Faces Fierce Backlash After Tactical Retreat Costs England World Cup Final Berth
A Quiet Bastille Day: France Grapples with World Cup Heartbreak and Leftover Fireworks
Spain in Ecstasy: "We Feel Unbeatable, We Taught the Whole World a Lesson"
Harvard Astrophysicist to Lead U.S. Scientific Advisory on Unidentified Aerial Phenomena
Emergency Sirens Activated Across Bahrain as Interior Ministry Issues Shelter Directives
World Cup Visitors Turn American Big-Box Stores Into Souvenir Stops
Netflix Weighs Always-On Channels, Bundles and Short-Form Video
The AI Invoice Shock: Layoffs Didn't Save Managers Money — They Cost Them More
Concern: Sexually Transmitted Bacterium Among Men Develops Antibiotic Resistance
Passenger Partially Pulled Out of Ryanair Jet After Cabin Window Fails Mid-Flight
Severe Heatwave Drives Dangerous Ground-Level Ozone Pollution Across Two Thirds of European Union
The Physical and Electronic Barriers Disrupting Domestic Wireless Networks
France and Morocco Open World Cup Quarter-Finals as Collina Defends Refereeing
Tech Pulse: The Future of AI and Screen Culture
Global News Briefing: Escalating Geopolitical Tensions and Corporate Shakeups
×