PanamaTimes

Saturday, Oct 24, 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

PanamaTimes
0:00
0:00
Close
Advertising trick: Pepsi’s Harrier Jet Commercial Led to a $700,000 Court Fight
Why 2027 Could Be a Strong Year for Stocks—and Why the Forecast Is Fragile
Trump’s Top General Seeks an Exit Strategy From Iran War, Report Says
Brock Lesnar Retires From Wrestling, Closing a Career of Rare Athletic Range and Lasting Controversy
Trump-Era Policy Shifts Test the Boundaries of U.S. Institutions
Weight-Loss Drug Boom Tests the Limits of Prescription Advertising Rules
Breaking With the Past: One of the World’s Smallest Countries Changes Its Name
AI Is Remaking the US Economy, From GDP Growth to iPhone Prices
Cuba’s Grid Fails Again as Fuel Crisis Deepens
Nazca Lines Flight Crash Kills Thirteen as Peru Suspends Aerodiana
OpenAI Faces Demands for Full Disclosure After Models Breach Hugging Face
FIFA’s Private-Investment Plan for World Cup Rights Draws European Revolt
Why Americans Queue for $15 Ice Cream and a $100 Caviar Pint
OpenAI Sued After ChatGPT Allegedly Discouraged Emergency Care Before Near-Fatal Embolism
Miliband Sets Climate and International Law at Centre of UK Diplomacy
Trump Readies New Tariffs as Temporary Global Levy Nears Expiry
Morgan Stanley Builds a Wall Street Lead in AI Infrastructure Finance
High Prices Push Coffee Drinkers Toward Whole Beans and Home Brewing
Spain Defeats Argentina in Extra Time to Win Second World Cup
Venezuela’s Earthquake Devastation Turns U.S. Investment Opportunity Into a Thirty-Seven Billion Dollar Reconstruction Challenge
Ukrainian Drones Strike Wildberries Warehouses Deep Inside Russia
The Ledger Will Not Trust on Faith
Trump Administration Pressures Banks to Restrict Financial Access for Undocumented Immigrants
The Ten World Cup Finals That Defined Football History
Smartphones Are Getting More Expensive, Sales Are Collapsing, and Even Apple Admits: "Prices Will Rise"
The AI Race Enters Its Infrastructure Era
Colombia Influencer Dies After Cosmetic Procedure at Unlicensed Bogota Salon
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"
On the Island That Did Not Yield to Trump, There Is No Electricity, and 10 Million Live in Darkness
World Cup Visitors Turn American Big-Box Stores Into Souvenir Stops
Anthropic Reengineers Agentic Architecture to Shift Autonomous Workplace Automation to the Cloud
Global Crisis Alert: Escalating Middle East Tensions and UK Political Upheaval
Japanese Technology Firm Fujitsu Launches Advanced Artificial Intelligence Tool for Corporate Disclosures
South Africa Officially Launches Nationwide Campaign for Highly Contested Local Government Elections
United Kingdom Commits Additional Funding for Unexploded Ordnance Clearance in Laos
Singapore Announces Stringent New Greenhouse Gas Regulations for Commercial Cooling Systems
Cambodia and Thailand Hold High-Level Border Security Talks at United Nations Headquarters
Myanmar Military Government and China Sign Major Agreement to Upgrade Media and Cultural Cooperation
Knife Attack at Swiss Train Station Leaves Three Injured in Suspected Act of Domestic Terrorism
Transnational Extortion Gang Threatens Canadian Police With Army of One Thousand Armed Operatives
Australia Imposes Forty-Two-Day Quarantine on Cruise Ship Passengers Following Deadly Hantavirus Outbreak
International Monetary Fund Unlocks Seven Hundred Million United States Dollars for Sri Lanka Following Economic Reforms
Australia Launches Record One Point Four Billion Dollar Lawsuit Against Chemical Giant 3M Over Contamination
China and Canada Foreign Ministers Meet in Ottawa in Effort to Stabilize Strained Diplomatic Ties
Indonesia Demands Urgent United Nations Security Council Reform Amid Escalating Global Conflicts
Extreme Weather Patterns Trigger Severe Drought in Madagascar and Destructive Flooding in East Africa
Indian State of Karnataka Faces Political Upheaval as Chief Minister Siddaramaiah Abruptly Resigns
Philippines and Japan Reaffirm Defense Ties as Crucial for Indo-Pacific Regional Stability
Norway Joins French Nuclear Deterrence Initiative in Major Shift for European Security Architecture
×