{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,5,14]],"date-time":"2026-05-14T03:09:29Z","timestamp":1778728169980,"version":"3.51.4"},"reference-count":62,"publisher":"Association for Computing Machinery (ACM)","issue":"6","funder":[{"name":"National Key Research and Development Program of China","award":["2023YFB2704703"],"award-info":[{"award-number":["2023YFB2704703"]}]},{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"crossref","award":["62032025"],"award-info":[{"award-number":["62032025"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"crossref"}]},{"name":"NSFC\/RGC Collaborative Research","award":["62461160332"],"award-info":[{"award-number":["62461160332"]}]},{"name":"Guangdong Zhujiang Talent Program","award":["2023QN10X561"],"award-info":[{"award-number":["2023QN10X561"]}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Softw. Eng. Methodol."],"published-print":{"date-parts":[[2026,6,30]]},"abstract":"<jats:p>Solidity is the primary programming language for writing smart contracts. As a lightweight language, Solidity does not have a unified way to manage third-party library (TPL) dependencies. Instead, the copy-and-paste pattern and other dependency managers such as NPM and Git submodules have become alternatives. However, these mechanisms significantly increase the complexity of TPL usage with security concerns. Similar to other programming language ecosystems, incorrect TPL usage can influence the reliability of contracts and even introduce vulnerabilities from outdated versions. Therefore, there is an urgent need to understand and comprehend Solidity TPL dependencies.<\/jats:p>\n                  <jats:p>\n                    In this work, we conduct a comprehensive study on TPL dependency usage in Solidity. To achieve this, we first present\n                    <jats:italic toggle=\"yes\">SPADE<\/jats:italic>\n                    , which leverages additional metadata (e.g., package and remapping configurations) to infer fine-grained TPL dependencies with version and contract details in various Solidity projects. With\n                    <jats:italic toggle=\"yes\">SPADE<\/jats:italic>\n                    , we investigate a broad spectrum of 5,242 Solidity repositories to understand the TPL dependencies, including their landscape and version-level usage. Our research reveals a set of interesting and important findings that can be beneficial to the Solidity ecosystem. In particular, TPL dependencies are prevalent in Solidity, but the version management remains inadequate. The propagation of vulnerability is severe, affecting 8.87% of the repositories. Finally, we use on-chain contracts to validate the findings and provide suggestions for future research and development on Solidity TPL dependencies.\n                  <\/jats:p>","DOI":"10.1145\/3765755","type":"journal-article","created":{"date-parts":[[2025,9,4]],"date-time":"2025-09-04T15:36:30Z","timestamp":1757000190000},"page":"1-30","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":0,"title":["Detecting and Analyzing Fine-grained Third-party Library Dependencies in Solidity Smart Contracts"],"prefix":"10.1145","volume":"35","author":[{"ORCID":"https:\/\/orcid.org\/0009-0009-5747-1093","authenticated-orcid":false,"given":"Sicheng","family":"Hao","sequence":"first","affiliation":[{"name":"Sun Yat-sen University, Zhuhai, China   and Guangdong Engineering Technology Research Center of Blockchain, Zhuhai, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9597-9888","authenticated-orcid":false,"given":"Yuhong","family":"Nan","sequence":"additional","affiliation":[{"name":"Sun Yat-sen University, Zhuhai, China   and Guangdong Engineering Technology Research Center of Blockchain, Zhuhai, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-0306-7465","authenticated-orcid":false,"given":"Zeqin","family":"Liao","sequence":"additional","affiliation":[{"name":"Sun Yat-sen University, Zhuhai, China   and Guangdong Engineering Technology Research Center of Blockchain, Zhuhai, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5017-8016","authenticated-orcid":false,"given":"Juan","family":"Zhai","sequence":"additional","affiliation":[{"name":"University of Massachusetts, Amherst,  Massachusetts, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7878-4330","authenticated-orcid":false,"given":"Zibin","family":"Zheng","sequence":"additional","affiliation":[{"name":"Sun Yat-sen University, Zhuhai, China   and Guangdong Engineering Technology Research Center of Blockchain, Zhuhai, China"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2026,5,13]]},"reference":[{"key":"e_1_3_2_2_2","unstructured":"Alchemy. 2024. 2023 Web3 Development Report. Retrieved May 1 2025 from https:\/\/www.alchemy.com\/blog\/web3-developer-report-2023"},{"key":"e_1_3_2_3_2","unstructured":"Python Packaging Authority. 2024. Pip Documentation. Retrieved May 1 2025 from https:\/\/pip.pypa.io\/en\/latest\/development"},{"key":"e_1_3_2_4_2","unstructured":"The Authors. 2025. Tool and Dataset for SPADE. Retrieved May 1 2025 from https:\/\/github.com\/0x0FOG\/SPADE"},{"key":"e_1_3_2_5_2","volume-title":"Proceedings of the 32nd USENIX Security Symposium (USENIX Security \u201923)","author":"Bodell William Edward","year":"2023","unstructured":"William Edward Bodell, III, Sajad Meisami, and Yue Duan. 2023. Proxy hunting: Understanding and characterizing proxy-based upgradeable smart contracts in blockchains. In Proceedings of the 32nd USENIX Security Symposium (USENIX Security \u201923)."},{"key":"e_1_3_2_6_2","doi-asserted-by":"publisher","DOI":"10.1109\/SP46214.2022.9833721"},{"key":"e_1_3_2_7_2","unstructured":"Brownie. 2024. Brownie. Retrieved May 1 2025 from https:\/\/eth-brownie.readthedocs.io\/"},{"key":"e_1_3_2_8_2","doi-asserted-by":"publisher","DOI":"10.1145\/3563328"},{"key":"e_1_3_2_9_2","doi-asserted-by":"publisher","DOI":"10.14722\/ndss.2020.24449"},{"key":"e_1_3_2_10_2","doi-asserted-by":"publisher","DOI":"10.1145\/3366423.3380215"},{"key":"e_1_3_2_11_2","doi-asserted-by":"publisher","DOI":"10.1109\/SANER50967.2021.00050"},{"key":"e_1_3_2_12_2","doi-asserted-by":"publisher","DOI":"10.1109\/TIFS.2023.3318961"},{"key":"e_1_3_2_13_2","unstructured":"Ethereum. 2024. Ethereum Improvement Proposals. Retrieved May 1 2025 from https:\/\/eips.ethereum.org\/erc"},{"key":"e_1_3_2_14_2","unstructured":"Etherscan. 2024. Etherscan. Retrieved May 1 2025 from https:\/\/etherscan.io\/"},{"key":"e_1_3_2_15_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2022.3207428"},{"key":"e_1_3_2_16_2","unstructured":"Foundry. 2024. Foundry. Retrieved May 1 2025 from https:\/\/book.getfoundry.sh\/"},{"key":"e_1_3_2_17_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSME.2019.00067"},{"key":"e_1_3_2_18_2","unstructured":"GitHub. 2024. Dependabot. Retrieved May 1 2025 from https:\/\/docs.github.com\/en\/code-security\/dependabot\/dependabot-alerts\/about-dependabot-alerts"},{"key":"e_1_3_2_19_2","unstructured":"Hardhat. 2024. Hardhat. Retrieved May 1 2025 from https:\/\/hardhat.org\/"},{"key":"e_1_3_2_20_2","unstructured":"Mengting He Shihao Xia Boqin Qin Nobuko Yoshida Tingting Yu Linhai Song and Yiying Zhang. 2024. How to save my gas fees: Understanding and detecting real-world gas issues in solidity programs. arXiv:2403.02661. Retrieved from https:\/\/arxiv.org\/abs\/2403.02661"},{"key":"e_1_3_2_21_2","doi-asserted-by":"publisher","DOI":"10.1145\/3597503.3623335"},{"key":"e_1_3_2_22_2","doi-asserted-by":"publisher","unstructured":"Qing Huang Dianshu Liao Zhenchang Xing Zhengkang Zuo Changjing Wang and Xin Xia. 2023. Semantic-enriched code knowledge graph to reveal unknowns in smart contract code reuse. ACM Transactions on Software Engineering and Methodology 32 6 Article 147 (Nov. 2023) 1\u201337. DOI: 10.1145\/3597206","DOI":"10.1145\/3597206"},{"key":"e_1_3_2_23_2","doi-asserted-by":"publisher","DOI":"10.1145\/3597926.3598143"},{"key":"e_1_3_2_24_2","doi-asserted-by":"publisher","DOI":"10.1145\/3558535.3559794"},{"key":"e_1_3_2_25_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-020-09852-5"},{"key":"e_1_3_2_26_2","doi-asserted-by":"publisher","DOI":"10.1145\/3611643.3616342"},{"key":"e_1_3_2_27_2","doi-asserted-by":"publisher","DOI":"10.1145\/3597926.3598111"},{"key":"e_1_3_2_28_2","doi-asserted-by":"publisher","DOI":"10.1145\/3510003.3510142"},{"key":"e_1_3_2_29_2","volume-title":"Proceedings of the 33rd USENIX Security Symposium (USENIX Security \u201924)","author":"Liu Han","year":"2024","unstructured":"Han Liu, Daoyuan Wu, Yuqiang Sun, Haijun Wang, Kaixuan Li, Yang Liu, and Yixiang Chen. 2024. Using my functions should follow my checks: Understanding and detecting insecure OpenZeppelin code in smart contracts. In Proceedings of the 33rd USENIX Security Symposium (USENIX Security \u201924)."},{"key":"e_1_3_2_30_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICPC.2019.00024"},{"key":"e_1_3_2_31_2","doi-asserted-by":"publisher","DOI":"10.1145\/2976749.2978309"},{"key":"e_1_3_2_32_2","doi-asserted-by":"publisher","DOI":"10.1145\/3671016.3671402"},{"key":"e_1_3_2_33_2","doi-asserted-by":"publisher","DOI":"10.1145\/3597503.3639209"},{"key":"e_1_3_2_34_2","doi-asserted-by":"publisher","DOI":"10.1145\/3377811.3380334"},{"key":"e_1_3_2_35_2","unstructured":"NVD. 2022. CVE-2022-31170. Retrieved May 1 2025 from https:\/\/nvd.nist.gov\/vuln\/detail\/CVE-2022-31170"},{"key":"e_1_3_2_36_2","unstructured":"NVD. 2022. CVE-2022-35961. Retrieved May 1 2025 from https:\/\/nvd.nist.gov\/vuln\/detail\/CVE-2022-35961"},{"key":"e_1_3_2_37_2","unstructured":"OpenZeppelin. 2024. OpenZeppelin. Retrieved May 1 2025 from https:\/\/docs.openzeppelin.com\/openzeppelin\/"},{"key":"e_1_3_2_38_2","unstructured":"OpenZeppelin. 2024. OpenZeppelin-Contracts Pull 5069. Retrieved May 1 2025 from https:\/\/github.com\/OpenZeppelin\/openzeppelin-contracts\/pull\/5069"},{"key":"e_1_3_2_39_2","unstructured":"OWASP. 2024. OWASP Dependency-Track. Retrieved May 1 2025 from https:\/\/owasp.org\/www-project-dependency-track\/"},{"key":"e_1_3_2_40_2","doi-asserted-by":"publisher","DOI":"10.1109\/SANER50967.2021.00089"},{"key":"e_1_3_2_41_2","unstructured":"Remix. 2024. Remix IDE. Retrieved May 1 2025 from https:\/\/remix-ide.readthedocs.io\/en\/latest\/"},{"key":"e_1_3_2_42_2","unstructured":"Coin Rivet. 2021. ChainSwap Hackers Steal $8m and Crash Token Prices. Retrieved May 1 2025 from https:\/\/coinrivet.com\/chainswap-hackers-steal-8m-and-crash-token-prices\/"},{"key":"e_1_3_2_43_2","unstructured":"rust lang. 2024. The Cargo Book. Retrieved May 1 2025 from https:\/\/doc.rust-lang.org\/cargo\/#the-cargo-book"},{"key":"e_1_3_2_44_2","unstructured":"sherlock audit. 2022. 2022-11-Buffer. Retrieved May 1 2025 from https:\/\/github.com\/sherlock-audit\/2022-11-buffer\/tree\/main\/contracts"},{"key":"e_1_3_2_45_2","doi-asserted-by":"publisher","DOI":"10.1145\/3597926.3598059"},{"key":"e_1_3_2_46_2","unstructured":"Soldeer. 2024. Soldeer. Retrieved May 1 2025 from https:\/\/github.com\/mario-eth\/soldeer"},{"key":"e_1_3_2_47_2","unstructured":"Solidity. 2024. Solidity. Retrieved May 1 2025 from http:\/\/solidity.readthedocs.io\/"},{"key":"e_1_3_2_48_2","doi-asserted-by":"publisher","DOI":"10.1145\/3551349.3560429"},{"key":"e_1_3_2_49_2","doi-asserted-by":"publisher","DOI":"10.1145\/3611643.3616270"},{"key":"e_1_3_2_50_2","doi-asserted-by":"publisher","DOI":"10.1145\/3551349.3560432"},{"key":"e_1_3_2_51_2","unstructured":"tintinweb. 2024. Smart-Contract-Sanctuary. Retrieved May 1 2025 from https:\/\/github.com\/tintinweb\/smart-contract-sanctuary"},{"key":"e_1_3_2_52_2","unstructured":"Tree-sitter. 2024. Tree-Sitter. Retrieved May 1 2025 from https:\/\/github.com\/tree-sitter\/tree-sitter"},{"key":"e_1_3_2_53_2","unstructured":"Truffle. 2024. Truffle. Retrieved May 1 2025 from https:\/\/archive.trufflesuite.com\/"},{"key":"e_1_3_2_54_2","unstructured":"Waffle. 2024. Waffle. Retrieved May 1 2025 from https:\/\/getwaffle.io\/"},{"key":"e_1_3_2_55_2","first-page":"6541","volume-title":"Proceedings of the 32nd USENIX Security Symposium (USENIX Security \u201923)","author":"Woo Seunghoon","year":"2023","unstructured":"Seunghoon Woo, Eunjin Choi, Heejo Lee, and Hakjoo Oh. 2023. V1SCAN: Discovering 1-day vulnerabilities in reused C\/C++ open-source software components using code classification techniques. In Proceedings of the 32nd USENIX Security Symposium (USENIX Security \u201923), 6541\u20136556."},{"key":"e_1_3_2_56_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE43902.2021.00083"},{"key":"e_1_3_2_57_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE48619.2023.00034"},{"key":"e_1_3_2_58_2","first-page":"3385","volume-title":"Proceedings of the 32nd USENIX Security Symposium (USENIX Security \u201923)","author":"Wu Yafei","year":"2023","unstructured":"Yafei Wu, Cong Sun, Dongrui Zeng, Gang Tan, Siqi Ma, and Peicheng Wang. 2023. LibScan: Towards more precise third-party library identification for Android applications. In Proceedings of the 32nd USENIX Security Symposium (USENIX Security \u201923), 3385\u20133402."},{"key":"e_1_3_2_59_2","doi-asserted-by":"publisher","DOI":"10.1145\/3510003.3510168"},{"key":"e_1_3_2_60_2","doi-asserted-by":"publisher","unstructured":"Jiahua Xu Krzysztof Paruch Simon Cousaert and Yebo Feng. 2023. SoK: Decentralized exchanges (DEX) with automated market maker (AMM) protocols. ACM Computing Surveys 55 11 Article 238 (Nov. 2023) 1\u201350. DOI: 10.1145\/3570639","DOI":"10.1145\/3570639"},{"key":"e_1_3_2_61_2","doi-asserted-by":"publisher","DOI":"10.1145\/3510003.3510627"},{"key":"e_1_3_2_62_2","first-page":"2775","volume-title":"Proceedings of the 29th USENIX Security Symposium (USENIX Security \u201920)","author":"Zhang Mengya","year":"2020","unstructured":"Mengya Zhang, Xiaokuan Zhang, Yinqian Zhang, and Zhiqiang Lin. 2020. TXSPECTOR: Uncovering attacks in Ethereum from transactions. In Proceedings of the 29th USENIX Security Symposium (USENIX Security \u201920), 2775\u20132792."},{"key":"e_1_3_2_63_2","doi-asserted-by":"publisher","unstructured":"Peilin Zheng Zibin Zheng Jiajing Wu and Hong-Ning Dai. 2020. XBlock-ETH: Extracting and exploring blockchain data from Ethereum. IEEE Open Journal of the Computer Society 1 (2020) 95\u2013106. DOI: 10.1109\/OJCS.2020.2990458","DOI":"10.1109\/OJCS.2020.2990458"}],"container-title":["ACM Transactions on Software Engineering and Methodology"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3765755","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,5,14]],"date-time":"2026-05-14T02:34:15Z","timestamp":1778726055000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3765755"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,5,13]]},"references-count":62,"journal-issue":{"issue":"6","published-print":{"date-parts":[[2026,6,30]]}},"alternative-id":["10.1145\/3765755"],"URL":"https:\/\/doi.org\/10.1145\/3765755","relation":{},"ISSN":["1049-331X","1557-7392"],"issn-type":[{"value":"1049-331X","type":"print"},{"value":"1557-7392","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,5,13]]},"assertion":[{"value":"2025-01-21","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-07-30","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-05-13","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}