Arab Press

بالشعب و للشعب
Saturday, Feb 22, 2025

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
The negotiation teams of Trump and Putin meet directly, establishing the groundwork for a significant advance.
Israeli Minister Urges Hamas to Surrender and Depart from Gaza.
Iran Considers Moving Its Capital Due to Urban Difficulties
Israel and Hamas Finalize Sixth Exchange of Hostages and Prisoners During Continuing Gaza Ceasefire
Leaders of BRICS to Gather in Rio de Janeiro for July Summit
Muhsin Hendricks, a trailblazing openly gay imam, was killed in South Africa.
Trump's special envoy for hostage affairs cautions Hamas against challenging Trump before Saturday's deadline.
Two British citizens apprehended in Iran amid escalating tensions.
Israel Issues Threat of Military Action as Hostage Negotiations with Hamas Continue
Hamas Coordinates Worldwide Solidarity Marches in Reaction to U.S. and Israeli Initiative
Israel Warns of Ending Gaza Ceasefire Due to Hostage Situation
King Abdullah II Dismisses US Proposal to Relocate Palestinians, Commits to Welcoming Gaza Children.
Lebanon Installs New Government with Hezbollah's Impact on Key Ministries
Report: Iran Attempted to Assassinate Trump During Election Campaign
U.S. Authorizes $7.4 Billion Arms Sale to Israel
Iran's Supreme Leader Rejects Nuclear Negotiations with the U.S.
UN Chief Denounces Trump's Gaza Plan, Cautions Against Ethnic Cleansing
Pressure Intensifies for a Free Trade Agreement between the UK and GCC in Light of Economic Difficulties
Israel to Withdraw from UN Human Rights Council Due to Accusations of Anti-Semitism
EU Reaffirms Gaza's Essential Role in Future Palestinian State Following Trump's Proposal
Iranian Currency Reaches All-Time Low Amid US 'Maximum Pressure' Initiative.
UN Reaffirms Ban on Deportation from Occupied Territories Amid US Gaza Proposal
Palestinians Fear Repeat of 'Nakba' Amid Ongoing Crisis in Gaza
UAE Aids in the Exchange of 300 Prisoners Between Russia and Ukraine
Egypt Seeks Global Backing for Two-State Solution Following US Proposal for Gaza Plan
Trump's Suggestion to 'Seize Control' of Gaza Represents a Significant Shift in US Policy
French President is the first EU leader to extend congratulations to the new Syrian President.
Tunisian President Appoints New Finance Minister Amid Economic Crisis
Trump Suggests U.S. 'Takeover' of Gaza, Prompting Global Worries
Trump's Proposal for Gaza Provokes Global Debate
President Trump Suggests Moving Gaza's Palestinian Population
Aga Khan IV, Spiritual Leader and Philanthropist, Dies at 88
Erdogan and Syria's Sharaa Talk About Collaboration to Counter Kurdish Militants
Trump Suggests U.S. Control of Gaza Strip Amid Ongoing Conflict
Trump Resumes 'Maximum Pressure' Strategy to Limit Iran's Oil Exports.
Ex-British Soldier Sentenced for Espionage on Behalf of Iran and Fleeing from Prison
Gazans in Egypt Reject Displacement, Struggle with Return to War-Torn Home
Queen Rania Urges Protection of Children’s Rights at Vatican Summit
Hamas Officials Ready to Begin Negotiations for Phase Two of Gaza Truce
Trump Expresses Caution Over Gaza Ceasefire as Netanyahu Visits Washington
Oman to Host 18th Indian Ocean Conference on Maritime Security and Trade
Emir of Kuwait Meets BlackRock CEO for Talks on Investment Opportunities
Queen Rania of Jordan Calls for Global Action on Children’s Rights at Vatican Summit
Egyptian President El-Sisi Invited for White House Meeting Following Jordanian King’s Visit
Queen Rania Calls for Protection of Children’s Rights at Vatican Summit
Israeli Military Operations Continue on Lebanon Border Amid Ceasefire Tensions
Israeli Hostage's Release Highlights Uncertainty Over Family's Fate
Israeli Military Operations Escalate in Southern Lebanon Amid Hezbollah Tensions
Zayed Award for Human Fraternity Announces 2025 Honorees
Kuwait Anticipates a 12% Increase in Budget Deficit for the 2025-2026 Fiscal Year
×