
- STACK ON SAFE WON T OPEN WITH CODE MANUAL
- STACK ON SAFE WON T OPEN WITH CODE SOFTWARE
- STACK ON SAFE WON T OPEN WITH CODE CODE
STACK ON SAFE WON T OPEN WITH CODE CODE
Those 69 vulnerable code snippets fell into one of 29 common weakness enumeration (CWE) categories. After several rounds of review, they boiled down to 69 vulnerabilities that we could with some certainty state they are vulnerable.” “But the vulnerabilities they found were actually vulnerabilities. After each round, they had to defend why each vulnerable snippet was vulnerable with the entire research group. Three of the researchers reviewed every single of those snippets looking for vulnerabilities over multiple rounds of review.
STACK ON SAFE WON T OPEN WITH CODE MANUAL
Through dedupe processes and manual examination, they boiled the set down to 2,560 unique snippets of code. A first automated pass found 120,000 pieces of text tagged as code snippets. They downloaded the SOTorrent data set, which contains ten years worth of Stack Overflow history. “We wanted to focus on C++ to get better knowledge of how vulnerabilities evolve and if the vulnerability migration actually happened from Stack Overflow to GitHub.” said Sami. In reviewing the existing literature, they found that there were no papers addressing Stack Overflow code for the fourth most popular language, C++. Sami and company weren’t the first researchers to examine vulnerabilities in code posted to Stack Overflow. “And if they do, does this issue spread around?” Research process “Do they really care about scrutinizing it for vulnerabilities, or do they all just use the code off the shelf,” asked Khomh.
STACK ON SAFE WON T OPEN WITH CODE SOFTWARE
Code reuse can promote efficiency in software development why solve a problem that has already been solved well? But when the developers use example code without trying to understand the implications of it, that’s when problems can arise. Khomh had been examining Stack Overflow code for licensing issues, which led the security expert Sami to wonder if the code had flaws that could expose copiers to more than just copyright violations.Ĭopying code itself isn’t always a bad thing.

These researchers had been researching how developers use Stack Overflow in parallel when they met at a conference in Sweden in 2018. (Ed note: We spoke to Khomh and Uddin previously about their work pulling opinions from Stack Overflow questions and comments. Ashkan Sami, Associate Professor at Shiraz University, Foutse Khomh, Associate Professor at Polytechnique Montréal, and Gias Uddin, now Senior Data Scientist at the Bank of Canada, researched C++ code snippets on Stack Overflow to answer this exact question.


And sometimes that code makes it into production applications because it answered the question perfectly.Ī group of researchers investigated these code snippets to see how secure they were, and if the security flaws that they introduced remained vulnerable in the project. Sometimes the answer to a question about code comes as a chunk of code. I’ve heard from multiple people that they come here daily (if not more often) to get answers to their questions. We know that Stack Overflow is a daily part of a lot of developers’ lives.
