Arab Press

بالشعب و للشعب
Tuesday, Mar 17, 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
Saudi Arabia Targets South African Professionals in New Recruitment Drive Amid Regional Uncertainty
Formula One Faces Major Financial Hit as Bahrain and Saudi Arabian Grands Prix Cancelled Amid Middle East Conflict
U.S. and Saudi Firms Launch Local Production of Attritable Drone Systems in Saudi Arabia
Saudi Arabia and UAE Warn Rising Gulf Tensions Could Endanger Regional Security
Saudi Arabia Rejects Claims It Encouraged Prolonged War With Iran
Saudi Arabia to Host World’s Largest Single-Cell Protein Plant as Food Security Push Accelerates
Saudi Crown Prince Urges Trump to Continue Military Pressure on Iran
Iran Intensifies Drone Campaign Against Saudi Arabia as Gulf Conflict Escalates
When Is Eid al-Fitr 2026? Saudi Arabia Awaits Moon Sighting to Confirm End of Ramadan
When Is Eid al-Fitr 2026? Saudi Arabia Awaits Moon Sighting to Confirm End of Ramadan
Iranian Missile Strike Damages Five U.S. Refueling Aircraft at Saudi Air Base
Iranian Missile Strike Damages Five U.S. Refueling Aircraft at Saudi Air Base
Washington State Pilot Among Six U.S. Airmen Killed in Military Aircraft Crash Over Iraq
Severe Storm Threat Looms Over Washington as Tornado Risk and Damaging Winds Target Mid-Atlantic
Trump Supports FCC Warning to Broadcasters Over Iran War Reporting
Trump Supports FCC Warning to Broadcasters Over Iran War Reporting
Saudi Stocks Edge Lower as Tadawul All Share Index Slips Slightly at Market Close
Iranian Missile and Drone Strike Targets Saudi Arabia’s Prince Sultan Air Base Hosting US Aircraft
Saudi Air Defenses Intercept Drone Over Eastern Province as Iranian Strike Campaign Intensifies
Middle East War Reshapes Gulf Economies as Saudi Arabia and Oman Gain Strategic Leverage While UAE Faces Economic Shock
Iranian Ambassador in Riyadh Blames ‘Enemies’ for Attacks Across the Gulf
Israeli Envoy Ron Dermer Reportedly Visits Saudi Arabia for Discussions on Potential Lebanon Talks
Formula One Cancels Bahrain and Saudi Arabian Grands Prix Scheduled for April
Iran’s Ambassador in Riyadh Rejects Claims Tehran Targeted Saudi Oil Facilities
Saudi Arabia Declares 2026 ‘Year of Artificial Intelligence’ in Major Push for Data-Driven Economy
Saudi Arabia’s 2018 Budget Signals Strong Push for Non-Oil Economic Growth
Pakistan Envoy in Riyadh Says Regional Diplomacy Intensifying to Prevent Wider Middle East War
Saudi Arabia Intercepts Dozens of Drones as Regional Strikes Kill Two in Oman
Saudi Arabia Redirects Oil Exports to Red Sea Ports as Strait of Hormuz Tensions Escalate
Saudi Arabia Intercepts Missile and Drone Barrage as Regional Conflict Intensifies
Iran Expands Drone and Missile Campaign Across Gulf as Conflict With US and Israel Intensifies
Muslims Worldwide Await Saudi Moon Sighting to Confirm Eid al-Fitr 2026 Date
F1 Calendar Faces Major Disruption as Middle East Conflict Threatens Bahrain and Saudi Races
Trump Says Most US Aircraft Hit in Saudi Base Attack Suffered Minimal Damage
Trump Says Most US Aircraft Hit in Saudi Base Attack Suffered Minimal Damage
Strait of Hormuz Crisis Forces Saudi Arabia Into Major Oil Production Shut-In
Strait of Hormuz Crisis Forces Saudi Arabia Into Major Oil Production Shut-In
Saudi Arabia Slashes Oil Output as Strait of Hormuz Crisis Cuts Deep Into Gulf Revenues
Saudi Arabia’s Cultural Scene Presses Ahead as Nation Navigates Regional War
Saudi-Pakistan Defence Pact Faces Real-World Constraints as Iran War Escalates
Saudi Arabia Offers Two Million Barrels of Crude From Red Sea as War Disrupts Gulf Exports
Formula One Faces Tens of Millions in Lost Revenue if Bahrain and Saudi Arabia Races Are Cancelled
Formula One Set to Cancel Bahrain and Saudi Arabian Grands Prix Amid Escalating Middle East War
Saudi Arabia Downs Dozens of Iranian Drones in Major Defensive Operation
Saudi Arabia Cuts Oil Output by About Twenty Percent as Iran War Disrupts Gulf Energy Flows
Formula One Set to Cancel Bahrain and Saudi Arabian Grands Prix Amid Escalating Iran War
Asian Energy Security Tested as Strait of Hormuz Disruption Threatens Oil Supplies
Iran Sets Three Conditions for Ending Regional War as Diplomatic Efforts Intensify
Saudi Arabia Launches Royal Institute of Anthropology to Examine Social Transformation
Pakistan’s Prime Minister Shehbaz Sharif Arrives in Saudi Arabia for High-Level Talks
×