{"id":"https://openalex.org/W4411552835","doi":"https://doi.org/10.1109/icse55347.2025.00247","title":"Show Me Your Code! Kill Code Poisoning: A Lightweight Method Based on Code Naturalness","display_name":"Show Me Your Code! Kill Code Poisoning: A Lightweight Method Based on Code Naturalness","publication_year":2025,"publication_date":"2025-04-26","ids":{"openalex":"https://openalex.org/W4411552835","doi":"https://doi.org/10.1109/icse55347.2025.00247"},"language":"en","primary_location":{"id":"doi:10.1109/icse55347.2025.00247","is_oa":false,"landing_page_url":"https://doi.org/10.1109/icse55347.2025.00247","pdf_url":null,"source":null,"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"2025 IEEE/ACM 47th International Conference on Software Engineering (ICSE)","raw_type":"proceedings-article"},"type":"conference-paper","indexed_in":["crossref"],"open_access":{"is_oa":false,"oa_status":"closed","oa_url":null,"any_repository_has_fulltext":false},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5013856385","display_name":"Weisong Sun","orcid":"https://orcid.org/0000-0001-9236-8264"},"institutions":[{"id":"https://openalex.org/I172675005","display_name":"Nanyang Technological University","ror":"https://ror.org/02e7b5302","country_code":"SG","type":"education","lineage":["https://openalex.org/I172675005"]}],"countries":["SG"],"is_corresponding":false,"raw_author_name":"Weisong Sun","raw_affiliation_strings":["College of Computing and Data Science, Nanyang Technological University,Singapore"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"College of Computing and Data Science, Nanyang Technological University,Singapore","institution_ids":["https://openalex.org/I172675005"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5100663395","display_name":"Yuchen Chen","orcid":"https://orcid.org/0009-0001-7046-0542"},"institutions":[{"id":"https://openalex.org/I881766915","display_name":"Nanjing University","ror":"https://ror.org/01rxvg760","country_code":"CN","type":"education","lineage":["https://openalex.org/I881766915"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Yuchen Chen","raw_affiliation_strings":["Nanjing University,State Key Laboratory for Novel Software Technology,Nanjing,China"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Nanjing University,State Key Laboratory for Novel Software Technology,Nanjing,China","institution_ids":["https://openalex.org/I881766915"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5101275213","display_name":"Mengzhe Yuan","orcid":null},"institutions":[{"id":"https://openalex.org/I881766915","display_name":"Nanjing University","ror":"https://ror.org/01rxvg760","country_code":"CN","type":"education","lineage":["https://openalex.org/I881766915"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Mengzhe Yuan","raw_affiliation_strings":["Nanjing University,State Key Laboratory for Novel Software Technology,Nanjing,China"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Nanjing University,State Key Laboratory for Novel Software Technology,Nanjing,China","institution_ids":["https://openalex.org/I881766915"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5075174750","display_name":"Chunrong Fang","orcid":"https://orcid.org/0000-0002-9930-7111"},"institutions":[{"id":"https://openalex.org/I881766915","display_name":"Nanjing University","ror":"https://ror.org/01rxvg760","country_code":"CN","type":"education","lineage":["https://openalex.org/I881766915"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Chunrong Fang","raw_affiliation_strings":["Nanjing University,State Key Laboratory for Novel Software Technology,Nanjing,China"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Nanjing University,State Key Laboratory for Novel Software Technology,Nanjing,China","institution_ids":["https://openalex.org/I881766915"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5031457464","display_name":"Zhenpeng Chen","orcid":"https://orcid.org/0000-0002-4765-1893"},"institutions":[{"id":"https://openalex.org/I172675005","display_name":"Nanyang Technological University","ror":"https://ror.org/02e7b5302","country_code":"SG","type":"education","lineage":["https://openalex.org/I172675005"]},{"id":"https://openalex.org/I881766915","display_name":"Nanjing University","ror":"https://ror.org/01rxvg760","country_code":"CN","type":"education","lineage":["https://openalex.org/I881766915"]}],"countries":["CN","SG"],"is_corresponding":false,"raw_author_name":"Zhenpeng Chen","raw_affiliation_strings":["College of Computing and Data Science, Nanyang Technological University,Singapore","Nanjing University,State Key Laboratory for Novel Software Technology,Nanjing,China"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"College of Computing and Data Science, Nanyang Technological University,Singapore","institution_ids":["https://openalex.org/I172675005"]},{"raw_affiliation_string":"Nanjing University,State Key Laboratory for Novel Software Technology,Nanjing,China","institution_ids":["https://openalex.org/I881766915"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5100329466","display_name":"Chong Wang","orcid":"https://orcid.org/0000-0003-1424-6290"},"institutions":[{"id":"https://openalex.org/I172675005","display_name":"Nanyang Technological University","ror":"https://ror.org/02e7b5302","country_code":"SG","type":"education","lineage":["https://openalex.org/I172675005"]}],"countries":["SG"],"is_corresponding":false,"raw_author_name":"Chong Wang","raw_affiliation_strings":["College of Computing and Data Science, Nanyang Technological University,Singapore"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"College of Computing and Data Science, Nanyang Technological University,Singapore","institution_ids":["https://openalex.org/I172675005"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5100356221","display_name":"Yang Liu","orcid":"https://orcid.org/0009-0004-5057-435X"},"institutions":[{"id":"https://openalex.org/I172675005","display_name":"Nanyang Technological University","ror":"https://ror.org/02e7b5302","country_code":"SG","type":"education","lineage":["https://openalex.org/I172675005"]}],"countries":["SG"],"is_corresponding":false,"raw_author_name":"Yang Liu","raw_affiliation_strings":["College of Computing and Data Science, Nanyang Technological University,Singapore"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"College of Computing and Data Science, Nanyang Technological University,Singapore","institution_ids":["https://openalex.org/I172675005"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5100331400","display_name":"Baowen Xu","orcid":"https://orcid.org/0000-0001-7743-1296"},"institutions":[{"id":"https://openalex.org/I881766915","display_name":"Nanjing University","ror":"https://ror.org/01rxvg760","country_code":"CN","type":"education","lineage":["https://openalex.org/I881766915"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Baowen Xu","raw_affiliation_strings":["Nanjing University,State Key Laboratory for Novel Software Technology,Nanjing,China"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Nanjing University,State Key Laboratory for Novel Software Technology,Nanjing,China","institution_ids":["https://openalex.org/I881766915"]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5018445253","display_name":"Zhenyu Chen","orcid":"https://orcid.org/0000-0003-4026-3385"},"institutions":[{"id":"https://openalex.org/I172675005","display_name":"Nanyang Technological University","ror":"https://ror.org/02e7b5302","country_code":"SG","type":"education","lineage":["https://openalex.org/I172675005"]},{"id":"https://openalex.org/I881766915","display_name":"Nanjing University","ror":"https://ror.org/01rxvg760","country_code":"CN","type":"education","lineage":["https://openalex.org/I881766915"]}],"countries":["CN","SG"],"is_corresponding":false,"raw_author_name":"Zhenyu Chen","raw_affiliation_strings":["College of Computing and Data Science, Nanyang Technological University,Singapore","Nanjing University,State Key Laboratory for Novel Software Technology,Nanjing,China"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"College of Computing and Data Science, Nanyang Technological University,Singapore","institution_ids":["https://openalex.org/I172675005"]},{"raw_affiliation_string":"Nanjing University,State Key Laboratory for Novel Software Technology,Nanjing,China","institution_ids":["https://openalex.org/I881766915"]}]}],"institutions":[],"countries_distinct_count":2,"institutions_distinct_count":2,"corresponding_author_ids":[],"corresponding_institution_ids":[],"apc_list":null,"apc_paid":null,"fwci":6.6282,"has_fulltext":false,"cited_by_count":4,"citation_normalized_percentile":{"value":0.96804579,"is_in_top_1_percent":false,"is_in_top_10_percent":true},"cited_by_percentile_year":{"min":95,"max":98},"biblio":{"volume":null,"issue":null,"first_page":"2663","last_page":"2675"},"is_retracted":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T12262","display_name":"Hate Speech and Cyberbullying Detection","score":0.8306999802589417,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"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/T12262","display_name":"Hate Speech and Cyberbullying Detection","score":0.8306999802589417,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"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/naturalness","display_name":"Naturalness","score":0.8317107558250427},{"id":"https://openalex.org/keywords/computer-science","display_name":"Computer science","score":0.7335470914840698},{"id":"https://openalex.org/keywords/code","display_name":"Code (set theory)","score":0.6433579325675964},{"id":"https://openalex.org/keywords/programming-language","display_name":"Programming language","score":0.5670337677001953},{"id":"https://openalex.org/keywords/physics","display_name":"Physics","score":0.053513020277023315}],"concepts":[{"id":"https://openalex.org/C134537474","wikidata":"https://www.wikidata.org/wiki/Q17144832","display_name":"Naturalness","level":2,"score":0.8317107558250427},{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.7335470914840698},{"id":"https://openalex.org/C2776760102","wikidata":"https://www.wikidata.org/wiki/Q5139990","display_name":"Code (set theory)","level":3,"score":0.6433579325675964},{"id":"https://openalex.org/C199360897","wikidata":"https://www.wikidata.org/wiki/Q9143","display_name":"Programming language","level":1,"score":0.5670337677001953},{"id":"https://openalex.org/C121332964","wikidata":"https://www.wikidata.org/wiki/Q413","display_name":"Physics","level":0,"score":0.053513020277023315},{"id":"https://openalex.org/C177264268","wikidata":"https://www.wikidata.org/wiki/Q1514741","display_name":"Set (abstract data type)","level":2,"score":0.0},{"id":"https://openalex.org/C62520636","wikidata":"https://www.wikidata.org/wiki/Q944","display_name":"Quantum mechanics","level":1,"score":0.0}],"mesh":[],"locations_count":1,"locations":[{"id":"doi:10.1109/icse55347.2025.00247","is_oa":false,"landing_page_url":"https://doi.org/10.1109/icse55347.2025.00247","pdf_url":null,"source":null,"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"2025 IEEE/ACM 47th International Conference on Software Engineering (ICSE)","raw_type":"proceedings-article"}],"best_oa_location":null,"sustainable_development_goals":[{"display_name":"Zero hunger","score":0.5,"id":"https://metadata.un.org/sdg/2"}],"awards":[{"id":"https://openalex.org/G3894403112","display_name":null,"funder_award_id":"14380029","funder_id":"https://openalex.org/F4320335787","funder_display_name":"Fundamental Research Funds for the Central Universities"},{"id":"https://openalex.org/G4713093480","display_name":null,"funder_award_id":"61932012, 62372228, U24A20337","funder_id":"https://openalex.org/F4320321001","funder_display_name":"National Natural Science Foundation of China"},{"id":"https://openalex.org/G5165950977","display_name":null,"funder_award_id":"CJGJZD20200617103001003, 2021Szvup057","funder_id":"https://openalex.org/F4320326705","funder_display_name":"Science, Technology and Innovation Commission of Shenzhen Municipality"}],"funders":[{"id":"https://openalex.org/F4320320671","display_name":"National Research Foundation","ror":"https://ror.org/05s0g1g46"},{"id":"https://openalex.org/F4320321001","display_name":"National Natural Science Foundation of China","ror":"https://ror.org/01h0zpd94"},{"id":"https://openalex.org/F4320326705","display_name":"Science, Technology and Innovation Commission of Shenzhen Municipality","ror":null},{"id":"https://openalex.org/F4320335787","display_name":"Fundamental Research Funds for the Central Universities","ror":null}],"has_content":{"pdf":false,"grobid_xml":false},"content_urls":null,"referenced_works_count":22,"referenced_works":["https://openalex.org/W1771830246","https://openalex.org/W2065053490","https://openalex.org/W2344444819","https://openalex.org/W2360967250","https://openalex.org/W2884276923","https://openalex.org/W2888557792","https://openalex.org/W2972082064","https://openalex.org/W3098605233","https://openalex.org/W3109409894","https://openalex.org/W3146720657","https://openalex.org/W3198685994","https://openalex.org/W3204619801","https://openalex.org/W4225791314","https://openalex.org/W4308627220","https://openalex.org/W4312044266","https://openalex.org/W4384158954","https://openalex.org/W4385564894","https://openalex.org/W4387869031","https://openalex.org/W4388229767","https://openalex.org/W4388631682","https://openalex.org/W4391696889","https://openalex.org/W4402263641"],"related_works":["https://openalex.org/W4391375266","https://openalex.org/W2899084033","https://openalex.org/W2748952813","https://openalex.org/W2029561777","https://openalex.org/W172797710","https://openalex.org/W3165080709","https://openalex.org/W2945105049","https://openalex.org/W2626699140","https://openalex.org/W2909357361","https://openalex.org/W4387098302"],"abstract_inverted_index":{"Neural":[0],"code":[1,9,59,100,114,127,139,161,167,192,246,260,270],"models":[2],"(NCMs)":[3],"have":[4],"demonstrated":[5],"extraordinary":[6],"capabilities":[7],"in":[8,74,159,185],"intelligence":[10,261],"tasks.":[11,262],"Meanwhile,":[12],"the":[13,40,50,130,166,179,204,216,225,235,314],"security":[14,85],"of":[15,54,93,132,181,207,239,244,251,279,286,304],"NCMs":[16,26,75],"and":[17,76,110,237,255,282,308],"NCMs-based":[18],"systems":[19],"has":[20],"garnered":[21],"increasing":[22],"attention.":[23],"In":[24,103],"particular,":[25],"are":[27],"often":[28],"trained":[29],"on":[30,123,143,317],"large-scale":[31],"data":[32,218],"from":[33,257],"potentially":[34],"untrustworthy":[35],"sources,":[36],"providing":[37],"attackers":[38,70],"with":[39,299],"opportunity":[41],"to":[42,71,155,195,233],"manipulate":[43],"them":[44],"by":[45,219],"inserting":[46],"crafted":[47],"samples":[48,223],"into":[49],"data.":[51],"This":[52],"type":[53],"attack":[55,61],"is":[56,89,120,296,309],"called":[57],"a":[58,65,83,91,138,144,186,196,300],"poisoning":[60,101,115,128,247,253,271],"(also":[62],"known":[63],"as":[64,174],"backdoor":[66],"attack).":[67],"It":[68],"allows":[69],"implant":[72],"backdoors":[73],"thus":[77],"control":[78],"model":[79,141],"behavior,":[80],"which":[81],"poses":[82],"significant":[84],"threat.":[86],"However,":[87],"there":[88],"still":[90],"lack":[92],"effective":[94],"techniques":[95],"for":[96,113],"detecting":[97],"various":[98],"complex":[99],"attacks.":[102],"this":[104],"paper,":[105],"we":[106,202],"propose":[107],"an":[108,276,283],"innovative":[109],"lightweight":[111],"technique":[112],"detection":[116,272],"named":[117],"KillbadCode.":[118],"KillbadCode":[119,152,214,274],"designed":[121],"based":[122],"our":[124],"insight":[125],"that":[126,163,178,267],"disrupts":[129],"naturalness":[131],"code.":[133],"Specifically,":[134],"KillBADCODE":[135],"first":[136],"builds":[137],"language":[140,146],"(CodeLM)":[142],"lightweight$n$-gram":[145],"model.":[147],"Then,":[148],"given":[149],"poisoned":[150,217,222],"data,":[151],"utilizes":[153],"CodeLM":[154],"identify":[156],"those":[157],"tokens":[158,184],"(poisoned)":[160],"snippets":[162,168],"will":[164],"make":[165],"more":[169],"natural":[170],"after":[171],"being":[172],"deleted":[173],"trigger":[175,227],"tokens.":[176,228],"Considering":[177],"removal":[180],"some":[182],"normal":[183],"single":[187],"sample":[188],"might":[189],"also":[190],"enhance":[191],"naturalness,":[193],"leading":[194],"high":[197],"false":[198],"positive":[199],"rate":[200],"(FPR),":[201],"aggregate":[203],"cumulative":[205],"improvement":[206],"each":[208],"token":[209],"across":[210,268],"all":[211,221],"samples.":[212],"Finally,":[213],"purifies":[215],"removing":[220],"containing":[224],"identified":[226],"We":[229],"conduct":[230],"extensive":[231],"experiments":[232],"evaluate":[234],"effectiveness":[236],"efficiency":[238],"KillbadCode,":[240],"involving":[241],"two":[242],"types":[243],"advanced":[245],"attacks":[248],"(a":[249],"total":[250],"five":[252],"strategies)":[254],"datasets":[256],"four":[258,291],"representative":[259],"The":[263],"experimental":[264],"results":[265],"demonstrate":[266],"20":[269],"scenarios,":[273],"achieves":[275],"average":[277,284],"FPR":[278],"8.30":[280],"%":[281],"Recall":[285],"100":[287],"%,":[288],"significantly":[289],"outperforming":[290],"baselines.":[292],"More":[293],"importantly,":[294],"KillBadCode":[295],"very":[297],"efficient,":[298],"minimum":[301],"time":[302],"consumption":[303],"only":[305],"5":[306],"minutes,":[307],"25":[310],"times":[311],"faster":[312],"than":[313],"best":[315],"baseline":[316],"average.":[318]},"counts_by_year":[{"year":2026,"cited_by_count":2},{"year":2025,"cited_by_count":2}],"updated_date":"2026-08-01T09:00:35.917206","created_date":"2025-10-10T00:00:00"}
