Arab Press

بالشعب و للشعب
Saturday, Jun 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
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
Global Critical Mineral Alliances Expand as Western Nations Move to Counter Chinese Supply Dominance
United States Imposes Fifty Percent Tariffs on Mexican Steel and Aluminum Ahead of Trade Pact Review
European Union and China Head Toward Major Trade Conflict Over Clean Technology Exports
United States Economic Growth Severely Downgraded to One Point Six Percent as Stagflation Fears Mount
World Health Organization Warns Central African Ebola Epidemic is Outpacing Containment Efforts
United States Treasury Department Conditions Sanctions Relief on Reopening of the Strait of Hormuz
Iranian Air Defenses Intercept and Destroy United States Military Drone Over Bushehr Province
Iranian Armed Forces Launch Ballistic Missiles Toward Unspecified Targets Prompting Regional Condemnation
United Nations Secretary-General Warns Global Order Facing Highest Level of Conflict Since 1945
Israel Issues Sweeping Evacuation Orders in Southern Lebanon Amid Intensified Hezbollah Conflict
Russia Announces Systemic Military Strikes Targeting Ukrainian Defense and Energy Infrastructure
United States and Iranian Negotiators Reach Draft Agreement to Extend Ceasefire and Resume Nuclear Talks
United Nations Security Council Deeply Divided Over United States Capture of Venezuelan President
US and Iran Exchange Direct Military Strikes Amid Fragile Gulf Ceasefire
World Health Organization Warns of Catastrophic Ebola Outbreak in DR Congo
Russia Threatens New Wave of Strikes on Ukrainian Infrastructure and Embassies
Scientists Warn Atlantic Ocean Currents Could Collapse Faster Than Projected
Anthropic Reaches $900 Billion Valuation in Historic AI Funding Round
Washington Imposes Crippling Sanctions on Iranian Maritime Authority
Japan and the Philippines Initiate Strategic Intelligence-Sharing Pact
Microsoft Deploys Autonomous Computer-Using AI Agents to Global Markets
Anthropic Secures $45 Billion Compute Infrastructure Agreement With SpaceX
U.S. Director of National Intelligence Resigns Amid Administration Shakeup
Micron Technology Crosses Trillion-Dollar Valuation Amid Unprecedented Hardware Demand
Canada and Germany Finalize Historic Long-Term LNG Export Agreement
China Expands International Travel Restrictions on Domestic AI Researchers
Japan Approves Sweeping Overhaul of National Intelligence Apparatus
Global Airlines Scramble Logistics as Middle East Airspace Remains Fractured
Japan's Naphtha Imports Plunge 47 Percent Amid Strait of Hormuz Closure
Global Crude Prices Retreat Below $96 as Gulf Tensions Momentarily Ease
Generative AI Outperforms Human Baselines in Landmark Global Creativity Study
NASA Partners With Private Aerospace to Unveil Permanent Lunar Base Architecture
South Korean Equity Markets Surge on Next-Generation Memory Chip Frenzy
×