{"id":"https://openalex.org/W7123362423","doi":"https://doi.org/10.1109/tse.2026.3651566","title":"Identifying and Mitigating API Misuse in Large Language Models","display_name":"Identifying and Mitigating API Misuse in Large Language Models","publication_year":2026,"publication_date":"2026-01-12","ids":{"openalex":"https://openalex.org/W7123362423","doi":"https://doi.org/10.1109/tse.2026.3651566"},"language":null,"primary_location":{"id":"doi:10.1109/tse.2026.3651566","is_oa":false,"landing_page_url":"https://doi.org/10.1109/tse.2026.3651566","pdf_url":null,"source":{"id":"https://openalex.org/S8351582","display_name":"IEEE Transactions on Software Engineering","issn_l":"0098-5589","issn":["0098-5589","1939-3520","2326-3881"],"is_oa":false,"is_in_doaj":false,"is_core":true,"host_organization":"https://openalex.org/P4310320439","host_organization_name":"IEEE Computer Society","host_organization_lineage":["https://openalex.org/P4310320439","https://openalex.org/P4310319808"],"host_organization_lineage_names":["IEEE Computer Society","Institute of Electrical and Electronics Engineers"],"type":"journal"},"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"IEEE Transactions on Software Engineering","raw_type":"journal-article"},"type":"article","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/A5082624117","display_name":"Terry Yue Zhuo","orcid":"https://orcid.org/0000-0002-5760-5188"},"institutions":[{"id":"https://openalex.org/I56590836","display_name":"Monash University","ror":"https://ror.org/02bfwt286","country_code":"AU","type":"education","lineage":["https://openalex.org/I56590836"]}],"countries":["AU"],"is_corresponding":false,"raw_author_name":"Terry Yue Zhuo","raw_affiliation_strings":["Monash University, Melbourne, VIC, Australia"],"raw_orcid":"https://orcid.org/0000-0002-5760-5188","affiliations":[{"raw_affiliation_string":"Monash University, Melbourne, VIC, Australia","institution_ids":["https://openalex.org/I56590836"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5103075577","display_name":"Junda He","orcid":"https://orcid.org/0000-0003-3370-8585"},"institutions":[{"id":"https://openalex.org/I79891267","display_name":"Singapore Management University","ror":"https://ror.org/050qmg959","country_code":"SG","type":"education","lineage":["https://openalex.org/I79891267"]}],"countries":["SG"],"is_corresponding":false,"raw_author_name":"Junda He","raw_affiliation_strings":["Singapore Management University, Singapore"],"raw_orcid":"https://orcid.org/0000-0003-3370-8585","affiliations":[{"raw_affiliation_string":"Singapore Management University, Singapore","institution_ids":["https://openalex.org/I79891267"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5010290885","display_name":"Jiamou Sun","orcid":"https://orcid.org/0000-0002-5212-7068"},"institutions":[{"id":"https://openalex.org/I1292875679","display_name":"Commonwealth Scientific and Industrial Research Organisation","ror":"https://ror.org/03qn8fb07","country_code":"AU","type":"government","lineage":["https://openalex.org/I1292875679","https://openalex.org/I2801453606","https://openalex.org/I4387156119"]},{"id":"https://openalex.org/I42894916","display_name":"Data61","ror":"https://ror.org/03q397159","country_code":"AU","type":"other","lineage":["https://openalex.org/I1292875679","https://openalex.org/I2801453606","https://openalex.org/I42894916","https://openalex.org/I4387156119"]}],"countries":["AU"],"is_corresponding":false,"raw_author_name":"Jiamou Sun","raw_affiliation_strings":["CSIRO&#x2019;s Data61, Eveleigh, NSW, Australia"],"raw_orcid":"https://orcid.org/0000-0002-5212-7068","affiliations":[{"raw_affiliation_string":"CSIRO&#x2019;s Data61, Eveleigh, NSW, Australia","institution_ids":["https://openalex.org/I1292875679","https://openalex.org/I42894916"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5122861016","display_name":"Zhenchang Xing","orcid":null},"institutions":[{"id":"https://openalex.org/I1292875679","display_name":"Commonwealth Scientific and Industrial Research Organisation","ror":"https://ror.org/03qn8fb07","country_code":"AU","type":"government","lineage":["https://openalex.org/I1292875679","https://openalex.org/I2801453606","https://openalex.org/I4387156119"]},{"id":"https://openalex.org/I42894916","display_name":"Data61","ror":"https://ror.org/03q397159","country_code":"AU","type":"other","lineage":["https://openalex.org/I1292875679","https://openalex.org/I2801453606","https://openalex.org/I42894916","https://openalex.org/I4387156119"]}],"countries":["AU"],"is_corresponding":false,"raw_author_name":"Zhenchang Xing","raw_affiliation_strings":["CSIRO&#x2019;s Data61, Eveleigh, NSW, Australia"],"raw_orcid":"https://orcid.org/0000-0001-7663-1421","affiliations":[{"raw_affiliation_string":"CSIRO&#x2019;s Data61, Eveleigh, NSW, Australia","institution_ids":["https://openalex.org/I1292875679","https://openalex.org/I42894916"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5122900149","display_name":"David Lo","orcid":null},"institutions":[{"id":"https://openalex.org/I79891267","display_name":"Singapore Management University","ror":"https://ror.org/050qmg959","country_code":"SG","type":"education","lineage":["https://openalex.org/I79891267"]}],"countries":["SG"],"is_corresponding":false,"raw_author_name":"David Lo","raw_affiliation_strings":["Singapore Management University, Singapore"],"raw_orcid":"https://orcid.org/0000-0002-4367-7201","affiliations":[{"raw_affiliation_string":"Singapore Management University, Singapore","institution_ids":["https://openalex.org/I79891267"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5082913979","display_name":"John Grundy","orcid":"https://orcid.org/0000-0003-4928-7076"},"institutions":[{"id":"https://openalex.org/I56590836","display_name":"Monash University","ror":"https://ror.org/02bfwt286","country_code":"AU","type":"education","lineage":["https://openalex.org/I56590836"]}],"countries":["AU"],"is_corresponding":false,"raw_author_name":"John Grundy","raw_affiliation_strings":["Monash University, Melbourne, VIC, Australia"],"raw_orcid":"https://orcid.org/0000-0003-4928-7076","affiliations":[{"raw_affiliation_string":"Monash University, Melbourne, VIC, Australia","institution_ids":["https://openalex.org/I56590836"]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5102717874","display_name":"Xiaoning Du","orcid":"https://orcid.org/0000-0003-3728-9541"},"institutions":[{"id":"https://openalex.org/I56590836","display_name":"Monash University","ror":"https://ror.org/02bfwt286","country_code":"AU","type":"education","lineage":["https://openalex.org/I56590836"]}],"countries":["AU"],"is_corresponding":false,"raw_author_name":"Xiaoning Du","raw_affiliation_strings":["Monash University, Melbourne, VIC, Australia"],"raw_orcid":"https://orcid.org/0000-0003-3728-9541","affiliations":[{"raw_affiliation_string":"Monash University, Melbourne, VIC, Australia","institution_ids":["https://openalex.org/I56590836"]}]}],"institutions":[],"countries_distinct_count":2,"institutions_distinct_count":4,"corresponding_author_ids":[],"corresponding_institution_ids":[],"apc_list":null,"apc_paid":null,"fwci":23.8983,"has_fulltext":false,"cited_by_count":1,"citation_normalized_percentile":{"value":0.97888093,"is_in_top_1_percent":false,"is_in_top_10_percent":true},"cited_by_percentile_year":{"min":94,"max":97},"biblio":{"volume":"52","issue":"3","first_page":"855","last_page":"873"},"is_retracted":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T10260","display_name":"Software Engineering Research","score":0.590399980545044,"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"}},"topics":[{"id":"https://openalex.org/T10260","display_name":"Software Engineering Research","score":0.590399980545044,"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/T12127","display_name":"Software System Performance and Reliability","score":0.06360000371932983,"subfield":{"id":"https://openalex.org/subfields/1705","display_name":"Computer Networks and Communications"},"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/T10743","display_name":"Software Testing and Debugging Techniques","score":0.04780000075697899,"subfield":{"id":"https://openalex.org/subfields/1712","display_name":"Software"},"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/python","display_name":"Python (programming language)","score":0.6000000238418579},{"id":"https://openalex.org/keywords/annotation","display_name":"Annotation","score":0.570900022983551},{"id":"https://openalex.org/keywords/benchmark","display_name":"Benchmark (surveying)","score":0.5023000240325928},{"id":"https://openalex.org/keywords/software","display_name":"Software","score":0.49079999327659607},{"id":"https://openalex.org/keywords/language-model","display_name":"Language model","score":0.4027000069618225},{"id":"https://openalex.org/keywords/code","display_name":"Code (set theory)","score":0.36730000376701355},{"id":"https://openalex.org/keywords/source-code","display_name":"Source code","score":0.36000001430511475},{"id":"https://openalex.org/keywords/categorization","display_name":"Categorization","score":0.3589000105857849}],"concepts":[{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.8683000206947327},{"id":"https://openalex.org/C519991488","wikidata":"https://www.wikidata.org/wiki/Q28865","display_name":"Python (programming language)","level":2,"score":0.6000000238418579},{"id":"https://openalex.org/C2776321320","wikidata":"https://www.wikidata.org/wiki/Q857525","display_name":"Annotation","level":2,"score":0.570900022983551},{"id":"https://openalex.org/C185798385","wikidata":"https://www.wikidata.org/wiki/Q1161707","display_name":"Benchmark (surveying)","level":2,"score":0.5023000240325928},{"id":"https://openalex.org/C2777904410","wikidata":"https://www.wikidata.org/wiki/Q7397","display_name":"Software","level":2,"score":0.49079999327659607},{"id":"https://openalex.org/C115903868","wikidata":"https://www.wikidata.org/wiki/Q80993","display_name":"Software engineering","level":1,"score":0.4514999985694885},{"id":"https://openalex.org/C137293760","wikidata":"https://www.wikidata.org/wiki/Q3621696","display_name":"Language model","level":2,"score":0.4027000069618225},{"id":"https://openalex.org/C2522767166","wikidata":"https://www.wikidata.org/wiki/Q2374463","display_name":"Data science","level":1,"score":0.3837999999523163},{"id":"https://openalex.org/C2776760102","wikidata":"https://www.wikidata.org/wiki/Q5139990","display_name":"Code (set theory)","level":3,"score":0.36730000376701355},{"id":"https://openalex.org/C43126263","wikidata":"https://www.wikidata.org/wiki/Q128751","display_name":"Source code","level":2,"score":0.36000001430511475},{"id":"https://openalex.org/C94124525","wikidata":"https://www.wikidata.org/wiki/Q912550","display_name":"Categorization","level":2,"score":0.3589000105857849},{"id":"https://openalex.org/C81917197","wikidata":"https://www.wikidata.org/wiki/Q628760","display_name":"Selection (genetic algorithm)","level":2,"score":0.3456000089645386},{"id":"https://openalex.org/C136764020","wikidata":"https://www.wikidata.org/wiki/Q466","display_name":"World Wide Web","level":1,"score":0.3425000011920929},{"id":"https://openalex.org/C12725497","wikidata":"https://www.wikidata.org/wiki/Q810247","display_name":"Baseline (sea)","level":2,"score":0.3336000144481659},{"id":"https://openalex.org/C93518851","wikidata":"https://www.wikidata.org/wiki/Q180160","display_name":"Metadata","level":2,"score":0.3310000002384186},{"id":"https://openalex.org/C529173508","wikidata":"https://www.wikidata.org/wiki/Q638608","display_name":"Software development","level":3,"score":0.3118000030517578},{"id":"https://openalex.org/C99613125","wikidata":"https://www.wikidata.org/wiki/Q165194","display_name":"Application programming interface","level":2,"score":0.29809999465942383},{"id":"https://openalex.org/C38652104","wikidata":"https://www.wikidata.org/wiki/Q3510521","display_name":"Computer security","level":1,"score":0.2980000078678131},{"id":"https://openalex.org/C64869954","wikidata":"https://www.wikidata.org/wiki/Q1859747","display_name":"False positive paradox","level":2,"score":0.2768999934196472},{"id":"https://openalex.org/C119857082","wikidata":"https://www.wikidata.org/wiki/Q2539","display_name":"Machine learning","level":1,"score":0.2766000032424927},{"id":"https://openalex.org/C23123220","wikidata":"https://www.wikidata.org/wiki/Q816826","display_name":"Information retrieval","level":1,"score":0.27320000529289246},{"id":"https://openalex.org/C152752567","wikidata":"https://www.wikidata.org/wiki/Q116877","display_name":"Code refactoring","level":3,"score":0.2718999981880188},{"id":"https://openalex.org/C140547941","wikidata":"https://www.wikidata.org/wiki/Q7797194","display_name":"Threat model","level":2,"score":0.26429998874664307},{"id":"https://openalex.org/C26517878","wikidata":"https://www.wikidata.org/wiki/Q228039","display_name":"Key (lock)","level":2,"score":0.25850000977516174},{"id":"https://openalex.org/C154945302","wikidata":"https://www.wikidata.org/wiki/Q11660","display_name":"Artificial intelligence","level":1,"score":0.2563999891281128}],"mesh":[],"locations_count":1,"locations":[{"id":"doi:10.1109/tse.2026.3651566","is_oa":false,"landing_page_url":"https://doi.org/10.1109/tse.2026.3651566","pdf_url":null,"source":{"id":"https://openalex.org/S8351582","display_name":"IEEE Transactions on Software Engineering","issn_l":"0098-5589","issn":["0098-5589","1939-3520","2326-3881"],"is_oa":false,"is_in_doaj":false,"is_core":true,"host_organization":"https://openalex.org/P4310320439","host_organization_name":"IEEE Computer Society","host_organization_lineage":["https://openalex.org/P4310320439","https://openalex.org/P4310319808"],"host_organization_lineage_names":["IEEE Computer Society","Institute of Electrical and Electronics Engineers"],"type":"journal"},"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"IEEE Transactions on Software Engineering","raw_type":"journal-article"}],"best_oa_location":null,"sustainable_development_goals":[],"awards":[],"funders":[],"has_content":{"grobid_xml":false,"pdf":false},"content_urls":null,"referenced_works_count":58,"referenced_works":["https://openalex.org/W1966668613","https://openalex.org/W2084974764","https://openalex.org/W2101105183","https://openalex.org/W2143861926","https://openalex.org/W2405678927","https://openalex.org/W2773151081","https://openalex.org/W2850992922","https://openalex.org/W2907705732","https://openalex.org/W2956307842","https://openalex.org/W2963900765","https://openalex.org/W2968594320","https://openalex.org/W3008335582","https://openalex.org/W3089601380","https://openalex.org/W3108032709","https://openalex.org/W3123221944","https://openalex.org/W3134686229","https://openalex.org/W3137004499","https://openalex.org/W3140063056","https://openalex.org/W3141181691","https://openalex.org/W3147785239","https://openalex.org/W3153103063","https://openalex.org/W3193682477","https://openalex.org/W3198685994","https://openalex.org/W3204578495","https://openalex.org/W4243227753","https://openalex.org/W4281479826","https://openalex.org/W4286331399","https://openalex.org/W4294214983","https://openalex.org/W4308643152","https://openalex.org/W4308643319","https://openalex.org/W4313547562","https://openalex.org/W4313547604","https://openalex.org/W4319999924","https://openalex.org/W4376606810","https://openalex.org/W4385562549","https://openalex.org/W4388483263","https://openalex.org/W4388502417","https://openalex.org/W4389518953","https://openalex.org/W4389519352","https://openalex.org/W4389524159","https://openalex.org/W4389524484","https://openalex.org/W4390244836","https://openalex.org/W4391282616","https://openalex.org/W4392739326","https://openalex.org/W4393152795","https://openalex.org/W4394744510","https://openalex.org/W4394745299","https://openalex.org/W4400121384","https://openalex.org/W4401042338","https://openalex.org/W4401208776","https://openalex.org/W4401880482","https://openalex.org/W4402706083","https://openalex.org/W4407551092","https://openalex.org/W4411119518","https://openalex.org/W4411523078","https://openalex.org/W4413360205","https://openalex.org/W7123341831","https://openalex.org/W7126383469"],"related_works":[],"abstract_inverted_index":{"API":[0,51,103,122,184],"misuse":[1,52,95,104,199],"in":[2,16,54,121,166,183,201],"code":[3,23,202],"generated":[4],"by":[5,97,142],"large":[6],"language":[7],"models":[8],"(LLMs)":[9],"presents":[10],"a":[11,47],"serious":[12],"and":[13,40,61,66,74,85,91,100,115,126,153,164,186,192],"growing":[14],"challenge":[15],"software":[17,38],"development.":[18],"While":[19],"LLMs":[20,71,182],"demonstrate":[21],"impressive":[22],"generation":[24,203],"capabilities,":[25],"their":[26],"interactions":[27],"with":[28,157],"complex":[29],"library":[30],"APIs":[31],"are":[32],"often":[33],"error-prone,":[34],"potentially":[35],"leading":[36],"to":[37,150,161,194],"failures":[39],"vulnerabilities.":[41],"In":[42],"this":[43],"paper,":[44],"we":[45,89,133],"conduct":[46],"large-scale":[48],"study":[49],"of":[50,82,108,159,181],"patterns":[53],"LLM-generated":[55],"code,":[56],"analyzing":[57],"both":[58],"method":[59],"selection":[60],"parameter":[62],"usage":[63,185],"across":[64],"Python":[65],"Java,":[67],"using":[68],"three":[69,109],"representative":[70],"(StarCoder-7B,":[72],"Qwen2.5-Coder-7B,":[73,114],"GitHub":[75,116],"Copilot).":[76],"Based":[77],"on":[78,99,169],"extensive":[79],"manual":[80],"annotation":[81],"3,209":[83],"method-level":[84],"3,492":[86],"parameter-level":[87],"misuses,":[88],"identify":[90],"categorize":[92],"four":[93],"recurring":[94],"types":[96],"building":[98],"refining":[101],"prior":[102],"taxonomies.":[105],"Our":[106],"evaluation":[107],"widely":[110],"used":[111],"LLMs,":[112],"StarCoder-7B,":[113],"Copilot,":[117],"reveals":[118],"persistent":[119],"challenges":[120],"usage,":[123],"particularly":[124],"hallucination":[125],"intent":[127],"misalignment.":[128],"To":[129],"address":[130],"these":[131],"issues,":[132],"propose":[134],"Dr.Fix,":[135],"an":[136],"LLM-based":[137],"automatic":[138],"repair":[139,147,155,200],"approach":[140],"guided":[141],"our":[143],"taxonomy.":[144],"Dr.Fix":[145],"improves":[146],"accuracy":[148],"compared":[149],"baseline":[151],"prompting":[152],"existing":[154],"methods,":[156],"gains":[158],"up":[160],"38.4":[162],"BLEU":[163],"40%":[165],"exact":[167],"match":[168],"benchmark":[170],"datasets.":[171],"This":[172],"work":[173],"offers":[174],"important":[175],"insights":[176,188],"into":[177,189],"the":[178],"current":[179,190],"limitations":[180,191],"provides":[187],"points":[193],"directions":[195],"for":[196],"improving":[197],"automated":[198],"systems.":[204]},"counts_by_year":[{"year":2026,"cited_by_count":1}],"updated_date":"2026-07-22T07:51:19.307946","created_date":"2026-01-14T00:00:00"}
