Arab Press

بالشعب و للشعب
Tuesday, Feb 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

Arab Press
0:00
0:00
Close
GCC Secretary-General Holds Talks with EU Ambassador in Riyadh
Gulf States’ AI Investment Drive Seen as Strategic Bet on Technology and U.S. Security Ties
African Union Commission Chair Meets Saudi Vice Foreign Minister to Deepen Strategic Cooperation
President El-Sisi Holds Strategic Talks with Saudi Crown Prince in Riyadh
Lucid Unveils Up to $12,000 Incentive for Air and Gravity Models in Saudi Arabia
Saudi Arabia Enters Global AI Partnership, Expanding Its Role in International Technology Governance
Saudi Arabia’s Landmark U.S. LNG Agreement Signals Major Strategic Shift
Saudi Arabia Accelerates Global Gaming Push with Billion-Dollar Deals and Expanded PIF Mandate
Saudi Arabia Reports $25.28 Billion Budget Deficit in Fourth Quarter of 2025
Alvarez & Marsal Tax Establishes Dedicated Pillar Two and Transfer Pricing Team in Saudi Arabia
United States Approves Over Fifteen Billion Dollars in Major Arms Sales to Israel and Saudi Arabia
Pre-Iftar Walks Gain Momentum as Ramadan Wellness Trend Spreads
Middle East Jackup Rig Fleet Contracts Further After Saudi Drilling Suspensions
Türkiye and Saudi Arabia Prepare to Sign Five Gigawatt Renewable Energy Deal at COP31
King Mohammed VI Congratulates Saudi Leadership on Founding Day, Reaffirming Strategic Ties
US Envoy Huckabee Clarifies Remarks on Israel After Expansionism Controversy
Saudi Arabia Introduces Limited Exceptions to Regional Headquarters Requirement for Foreign Firms
Saudi Arabia Joins Global Partnership on Artificial Intelligence, Elevating Its Role in Shaping AI Governance
Saudi Arabia and Arab States Mobilise Diplomatically After U.S. Envoy’s Israel Remarks
Cristiano Ronaldo Reaffirms His Commitment to Saudi Arabia Amid Transfer Speculation
Proposed US-Saudi Nuclear Deal Raises Questions Over Uranium Enrichment Provisions
Saudi Arabia Sends 81st Aid Flight to Gaza as Humanitarian Air Bridge Continues
Global Games Show Riyadh 2026 Positioned as Catalyst for Saudi Arabia’s Vision 2030
Saudi Arabia Eases Procurement Rules, Allowing Foreign Firms Greater Access to Government Contracts
Türkiye and Saudi Arabia Seal Two Billion Dollar Solar Energy Agreement
Saudi Crown Prince Reportedly Sends Letter to UAE Leader Over Yemen and Sudan Policies
Saudi Arabia Voices Concerns to UAE Over Sudan Conflict and Yemen Strategy
Saudi Arabia Joins Global Artificial Intelligence Alliance to Strengthen International Collaboration
Shura Island Positioned as Flagship of Saudi Arabia’s Ambitious Red Sea Tourism Drive
Saudi Arabia Rebukes Mike Huckabee Over Remarks in Tucker Carlson Interview
OpenAI CEO Sam Altman praises the rapid progress of Chinese tech companies.
Concerns Mount Over Potential Saudi Uranium Enrichment in Prospective US Nuclear Accord
Trump Directs Government to Release UFO and Alien Information
Trump Signs Global 10% Tariffs on Imports
Investability Emerges as the Defining Test of Saudi Arabia’s Next Market Phase
Saudi Arabia’s Packaging Market Accelerates as Sustainability and E-Commerce Drive Transformation
Saudi Arabia Unveils $32 Billion Push Into Theme Parks and Global Entertainment
Saudi Crude Exports to India Climb Sharply, Closing Gap With Russia
Saudi Arabia’s Halal Cosmetics Market Expands as Faith and Ethical Beauty Drive Growth
ImmunityBio Secures Saudi Partnerships to Launch Flagship Cancer Therapy
United Kingdom Denies U.S. Access to Military Base for Potential Iran Strike
Türkiye and Saudi Arabia Launch Expanded Renewable Energy Partnership
US Supreme Court Voids Trump’s Emergency Tariff Plan, Reshaping Trade Power and Fiscal Risk
Mongolian Mining Family’s HK$247 Million Stanley Home Purchase Highlights Resilient Luxury Market
UK Intensifies Efforts to Secure Saudi Investment in Next-Generation Fighter Jet Programme
Saudi Arabia Tops Middle East Green Building Rankings with Record Growth in 2025
Qatar and Saudi Arabia Each Commit One Billion Dollars to President Trump’s ‘Board of Peace’ Initiative
Ramadan 2026 Prayer Times Set as Fasting Begins in Saudi Arabia and Egypt Announces Dates
Saudi Arabia Launches Ramadan 2026 Hotel Campaign to Boost Religious and Leisure Tourism
Saudi Arabia Seeks Reroute of Greece-Bound Fibre-Optic Cable Through Syria Instead of Israel
×