{"id":"https://openalex.org/W4409510011","doi":"https://doi.org/10.1007/s10664-025-10658-6","title":"Do LLMs consider security? an empirical study on responses to programming questions","display_name":"Do LLMs consider security? an empirical study on responses to programming questions","publication_year":2025,"publication_date":"2025-04-16","ids":{"openalex":"https://openalex.org/W4409510011","doi":"https://doi.org/10.1007/s10664-025-10658-6"},"language":"en","primary_location":{"id":"doi:10.1007/s10664-025-10658-6","is_oa":true,"landing_page_url":"https://doi.org/10.1007/s10664-025-10658-6","pdf_url":"https://link.springer.com/content/pdf/10.1007/s10664-025-10658-6.pdf","source":{"id":"https://openalex.org/S109852484","display_name":"Empirical Software Engineering","issn_l":"1382-3256","issn":["1382-3256","1573-7616"],"is_oa":false,"is_in_doaj":false,"is_core":true,"host_organization":"https://openalex.org/P4310319900","host_organization_name":"Springer Science+Business Media","host_organization_lineage":["https://openalex.org/P4310319900","https://openalex.org/P4310319965"],"host_organization_lineage_names":["Springer Science+Business Media","Springer Nature"],"type":"journal"},"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Empirical Software Engineering","raw_type":"journal-article"},"type":"article","indexed_in":["crossref"],"open_access":{"is_oa":true,"oa_status":"hybrid","oa_url":"https://link.springer.com/content/pdf/10.1007/s10664-025-10658-6.pdf","any_repository_has_fulltext":false},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5102534201","display_name":"Amirali Sajadi","orcid":null},"institutions":[{"id":"https://openalex.org/I72816309","display_name":"Drexel University","ror":"https://ror.org/04bdffz58","country_code":"US","type":"education","lineage":["https://openalex.org/I72816309"]}],"countries":["US"],"is_corresponding":true,"raw_author_name":"Amirali Sajadi","raw_affiliation_strings":["College of Computing and Informatics, Drexel University, Philadelphia, PA, USA"],"affiliations":[{"raw_affiliation_string":"College of Computing and Informatics, Drexel University, Philadelphia, PA, USA","institution_ids":["https://openalex.org/I72816309"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5113782778","display_name":"Binh Le","orcid":null},"institutions":[{"id":"https://openalex.org/I72816309","display_name":"Drexel University","ror":"https://ror.org/04bdffz58","country_code":"US","type":"education","lineage":["https://openalex.org/I72816309"]}],"countries":["US"],"is_corresponding":false,"raw_author_name":"Binh Le","raw_affiliation_strings":["College of Computing and Informatics, Drexel University, Philadelphia, PA, USA"],"affiliations":[{"raw_affiliation_string":"College of Computing and Informatics, Drexel University, Philadelphia, PA, USA","institution_ids":["https://openalex.org/I72816309"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5053404847","display_name":"Thu Anh Nguyen","orcid":"https://orcid.org/0000-0002-2089-2902"},"institutions":[{"id":"https://openalex.org/I72816309","display_name":"Drexel University","ror":"https://ror.org/04bdffz58","country_code":"US","type":"education","lineage":["https://openalex.org/I72816309"]}],"countries":["US"],"is_corresponding":false,"raw_author_name":"Anh Nguyen","raw_affiliation_strings":["College of Computing and Informatics, Drexel University, Philadelphia, PA, USA"],"affiliations":[{"raw_affiliation_string":"College of Computing and Informatics, Drexel University, Philadelphia, PA, USA","institution_ids":["https://openalex.org/I72816309"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5073349866","display_name":"Kostadin Damevski","orcid":"https://orcid.org/0000-0001-7799-2026"},"institutions":[{"id":"https://openalex.org/I184840846","display_name":"Virginia Commonwealth University","ror":"https://ror.org/02nkdxk79","country_code":"US","type":"education","lineage":["https://openalex.org/I184840846"]}],"countries":["US"],"is_corresponding":false,"raw_author_name":"Kostadin Damevski","raw_affiliation_strings":["College of Engineering, Virginia Commonwealth University, Richmond, VA, USA"],"affiliations":[{"raw_affiliation_string":"College of Engineering, Virginia Commonwealth University, Richmond, VA, USA","institution_ids":["https://openalex.org/I184840846"]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5049106181","display_name":"Preetha Chatterjee","orcid":"https://orcid.org/0000-0003-3057-7807"},"institutions":[{"id":"https://openalex.org/I72816309","display_name":"Drexel University","ror":"https://ror.org/04bdffz58","country_code":"US","type":"education","lineage":["https://openalex.org/I72816309"]}],"countries":["US"],"is_corresponding":false,"raw_author_name":"Preetha Chatterjee","raw_affiliation_strings":["College of Computing and Informatics, Drexel University, Philadelphia, PA, USA"],"affiliations":[{"raw_affiliation_string":"College of Computing and Informatics, Drexel University, Philadelphia, PA, USA","institution_ids":["https://openalex.org/I72816309"]}]}],"institutions":[],"countries_distinct_count":1,"institutions_distinct_count":5,"corresponding_author_ids":["https://openalex.org/A5102534201"],"corresponding_institution_ids":["https://openalex.org/I72816309"],"apc_list":{"value":2290,"currency":"EUR","value_usd":2890},"apc_paid":{"value":2290,"currency":"EUR","value_usd":2890},"fwci":11.4288,"has_fulltext":true,"cited_by_count":7,"citation_normalized_percentile":{"value":0.9869654,"is_in_top_1_percent":false,"is_in_top_10_percent":true},"cited_by_percentile_year":{"min":97,"max":99},"biblio":{"volume":"30","issue":"4","first_page":null,"last_page":null},"is_retracted":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T11241","display_name":"Advanced Malware Detection Techniques","score":0.9987999796867371,"subfield":{"id":"https://openalex.org/subfields/1711","display_name":"Signal Processing"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},"topics":[{"id":"https://openalex.org/T11241","display_name":"Advanced Malware Detection Techniques","score":0.9987999796867371,"subfield":{"id":"https://openalex.org/subfields/1711","display_name":"Signal Processing"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T10260","display_name":"Software Engineering Research","score":0.9970999956130981,"subfield":{"id":"https://openalex.org/subfields/1710","display_name":"Information Systems"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T10734","display_name":"Information and Cyber Security","score":0.996999979019165,"subfield":{"id":"https://openalex.org/subfields/1710","display_name":"Information Systems"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}}],"keywords":[{"id":"https://openalex.org/keywords/empirical-research","display_name":"Empirical research","score":0.509692907333374},{"id":"https://openalex.org/keywords/computer-science","display_name":"Computer science","score":0.4348723590373993},{"id":"https://openalex.org/keywords/computer-security","display_name":"Computer security","score":0.4177367389202118},{"id":"https://openalex.org/keywords/political-science","display_name":"Political science","score":0.33993738889694214},{"id":"https://openalex.org/keywords/statistics","display_name":"Statistics","score":0.13043445348739624},{"id":"https://openalex.org/keywords/mathematics","display_name":"Mathematics","score":0.12062704563140869}],"concepts":[{"id":"https://openalex.org/C120936955","wikidata":"https://www.wikidata.org/wiki/Q2155640","display_name":"Empirical research","level":2,"score":0.509692907333374},{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.4348723590373993},{"id":"https://openalex.org/C38652104","wikidata":"https://www.wikidata.org/wiki/Q3510521","display_name":"Computer security","level":1,"score":0.4177367389202118},{"id":"https://openalex.org/C17744445","wikidata":"https://www.wikidata.org/wiki/Q36442","display_name":"Political science","level":0,"score":0.33993738889694214},{"id":"https://openalex.org/C105795698","wikidata":"https://www.wikidata.org/wiki/Q12483","display_name":"Statistics","level":1,"score":0.13043445348739624},{"id":"https://openalex.org/C33923547","wikidata":"https://www.wikidata.org/wiki/Q395","display_name":"Mathematics","level":0,"score":0.12062704563140869}],"mesh":[],"locations_count":1,"locations":[{"id":"doi:10.1007/s10664-025-10658-6","is_oa":true,"landing_page_url":"https://doi.org/10.1007/s10664-025-10658-6","pdf_url":"https://link.springer.com/content/pdf/10.1007/s10664-025-10658-6.pdf","source":{"id":"https://openalex.org/S109852484","display_name":"Empirical Software Engineering","issn_l":"1382-3256","issn":["1382-3256","1573-7616"],"is_oa":false,"is_in_doaj":false,"is_core":true,"host_organization":"https://openalex.org/P4310319900","host_organization_name":"Springer Science+Business Media","host_organization_lineage":["https://openalex.org/P4310319900","https://openalex.org/P4310319965"],"host_organization_lineage_names":["Springer Science+Business Media","Springer Nature"],"type":"journal"},"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Empirical Software Engineering","raw_type":"journal-article"}],"best_oa_location":{"id":"doi:10.1007/s10664-025-10658-6","is_oa":true,"landing_page_url":"https://doi.org/10.1007/s10664-025-10658-6","pdf_url":"https://link.springer.com/content/pdf/10.1007/s10664-025-10658-6.pdf","source":{"id":"https://openalex.org/S109852484","display_name":"Empirical Software Engineering","issn_l":"1382-3256","issn":["1382-3256","1573-7616"],"is_oa":false,"is_in_doaj":false,"is_core":true,"host_organization":"https://openalex.org/P4310319900","host_organization_name":"Springer Science+Business Media","host_organization_lineage":["https://openalex.org/P4310319900","https://openalex.org/P4310319965"],"host_organization_lineage_names":["Springer Science+Business Media","Springer Nature"],"type":"journal"},"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Empirical Software Engineering","raw_type":"journal-article"},"sustainable_development_goals":[],"awards":[],"funders":[],"has_content":{"pdf":true,"grobid_xml":true},"content_urls":{"pdf":"https://content.openalex.org/works/W4409510011.pdf","grobid_xml":"https://content.openalex.org/works/W4409510011.grobid-xml"},"referenced_works_count":56,"referenced_works":["https://openalex.org/W2093400716","https://openalex.org/W2097696338","https://openalex.org/W2123246351","https://openalex.org/W2511548333","https://openalex.org/W2794992746","https://openalex.org/W2948226814","https://openalex.org/W2955411938","https://openalex.org/W2964144088","https://openalex.org/W2982364419","https://openalex.org/W3100341617","https://openalex.org/W4210817445","https://openalex.org/W4226023762","https://openalex.org/W4287448694","https://openalex.org/W4288057765","https://openalex.org/W4294214983","https://openalex.org/W4308627645","https://openalex.org/W4308731473","https://openalex.org/W4311165836","https://openalex.org/W4313466109","https://openalex.org/W4382653968","https://openalex.org/W4384304728","https://openalex.org/W4385187279","https://openalex.org/W4385507608","https://openalex.org/W4386982649","https://openalex.org/W4387143034","https://openalex.org/W4387432528","https://openalex.org/W4388212383","https://openalex.org/W4388858772","https://openalex.org/W4389158474","https://openalex.org/W4389672268","https://openalex.org/W4391307510","https://openalex.org/W4391558382","https://openalex.org/W4392353733","https://openalex.org/W4393029443","https://openalex.org/W4393208022","https://openalex.org/W4394745423","https://openalex.org/W4394769405","https://openalex.org/W4396832043","https://openalex.org/W4398785927","https://openalex.org/W4399668074","https://openalex.org/W4400315178","https://openalex.org/W4401543460","https://openalex.org/W4401543590","https://openalex.org/W4401543933","https://openalex.org/W4401544362","https://openalex.org/W4402264467","https://openalex.org/W4402810568","https://openalex.org/W4405796591","https://openalex.org/W6600062020","https://openalex.org/W6600137863","https://openalex.org/W6600195515","https://openalex.org/W6600299915","https://openalex.org/W6600344744","https://openalex.org/W6604820196","https://openalex.org/W6607775392","https://openalex.org/W6630224890"],"related_works":["https://openalex.org/W4391375266","https://openalex.org/W2899084033","https://openalex.org/W2748952813","https://openalex.org/W2390279801","https://openalex.org/W4391913857","https://openalex.org/W2358668433","https://openalex.org/W4396701345","https://openalex.org/W2376932109","https://openalex.org/W2001405890","https://openalex.org/W4396696052"],"abstract_inverted_index":{"Abstract":[0],"The":[1],"widespread":[2],"adoption":[3],"of":[4,18,50,100,119,147,166,189,212,228],"conversational":[5],"LLMs":[6,67,160,196],"for":[7],"software":[8],"development":[9],"has":[10],"raised":[11],"new":[12],"security":[13,51,101,199],"concerns":[14],"regarding":[15],"the":[16,32,48,84,93,112,116,120,159,207,226],"safety":[17],"LLM-generated":[19],"content.":[20],"Our":[21,127],"motivational":[22],"study":[23,45],"outlines":[24],"ChatGPT\u2019s":[25],"potential":[26,117],"in":[27],"volunteering":[28],"context-specific":[29],"information":[30,110,171,205],"to":[31,46,76,83,122,135,150,162,169,215,241],"developers,":[33],"promoting":[34],"safe":[35],"coding":[36],"practices.":[37],"Motivated":[38],"by":[39,54],"this":[40],"finding,":[41],"we":[42,104,220],"conduct":[43],"a":[44,98,144,233],"evaluate":[47,77],"degree":[49,99],"awareness":[52],"exhibited":[53],"three":[55,132],"prominent":[56],"LLMs:":[57],"Claude":[58],"3,":[59],"GPT-4,":[60],"and":[61,115,138,173,210,231],"Llama":[62],"3.":[63],"We":[64,155],"prompt":[65],"these":[66],"with":[68],"Stack":[69,216],"Overflow":[70,217],"questions":[71,85],"that":[72,130,158,237],"contain":[73],"vulnerable":[74],"code":[75],"whether":[78,106],"they":[79,88,201],"merely":[80],"provide":[81,109,203,221],"answers":[82],"or":[86,192],"if":[87],"also":[89,156],"warn":[90,139],"users":[91,140],"about":[92,111,141],"insecure":[94],"code,":[95],"thereby":[96],"demonstrating":[97],"awareness.":[102,126],"Further,":[103],"assess":[105],"LLM":[107,245],"responses":[108],"causes,":[113,208],"exploits,":[114,209],"fixes":[118,211],"vulnerability,":[121],"help":[123],"raise":[124],"users\u2019":[125],"findings":[128],"show":[129],"all":[131],"models":[133],"struggle":[134],"accurately":[136],"detect":[137],"vulnerabilities,":[142],"achieving":[143],"detection":[145],"rate":[146],"only":[148],"12.6%":[149],"40%":[151],"across":[152],"our":[153,229],"datasets.":[154],"observe":[157],"tend":[161],"identify":[163],"certain":[164],"types":[165],"vulnerabilities":[167,213],"related":[168],"sensitive":[170],"exposure":[172],"improper":[174],"input":[175],"neutralization":[176],"much":[177],"more":[178,204,243],"frequently":[179],"than":[180],"other":[181],"types,":[182],"such":[183],"as":[184],"those":[185],"involving":[186],"external":[187],"control":[188],"file":[190],"names":[191],"paths.":[193],"Furthermore,":[194],"when":[195],"do":[197],"issue":[198],"warnings,":[200],"often":[202],"on":[206,225],"compared":[214],"responses.":[218,246],"Finally,":[219],"an":[222],"in-depth":[223],"discussion":[224],"implications":[227],"findings,":[230],"demonstrated":[232],"CLI-based":[234],"prompting":[235],"tool":[236],"can":[238],"be":[239],"used":[240],"produce":[242],"secure":[244]},"counts_by_year":[{"year":2026,"cited_by_count":1},{"year":2025,"cited_by_count":6}],"updated_date":"2026-03-10T16:38:18.471706","created_date":"2025-10-10T00:00:00"}
