{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,16]],"date-time":"2026-10-16T06:46:55Z","timestamp":1792133215368,"version":"4.4.0"},"reference-count":37,"publisher":"MDPI AG","issue":"6","license":[{"start":{"date-parts":[[2024,6,19]],"date-time":"2024-06-19T00:00:00Z","timestamp":1718755200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"Graduate Program in Electrical Engineering (PPGEE) from the Polytechnic School of the University of S\u00e3o Paulo","award":["001"],"award-info":[{"award-number":["001"]}]},{"name":"Coordena\u00e7\u00e3o de Aperfei\u00e7oamento de Pessoal de N\u00edvel Superior \u2013 Brasil (CAPES)","award":["001"],"award-info":[{"award-number":["001"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Data"],"abstract":"<jats:p>Although hardware trojans impose a relevant threat to the hardware security of RISC-V and Web3 applications, existing datasets have a limited set of examples, as the most famous hardware trojan dataset TrustHub has 106 different trojans. RISC-V specifically has study cases of three and four different hardware trojans, and no research was found regarding Web3 hardware trojans in modules such as a hardware wallet. This research presents a dataset of 290 Verilog examples generated with ChatGPT-4 Large Language Model (LLM) based on 29 golden models and the TrustHub taxonomy. It is expected that this dataset supports future research endeavors regarding defense mechanisms against hardware trojans in RISC-V, hardware wallet, and hardware Proof of Work (PoW) miner.<\/jats:p>","DOI":"10.3390\/data9060082","type":"journal-article","created":{"date-parts":[[2024,6,20]],"date-time":"2024-06-20T05:27:19Z","timestamp":1718861239000},"page":"82","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":8,"title":["Hardware Trojan Dataset of RISC-V and Web3 Generated with ChatGPT-4"],"prefix":"10.3390","volume":"9","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-6672-4296","authenticated-orcid":false,"given":"Victor Takashi","family":"Hayashi","sequence":"first","affiliation":[{"name":"Polytechnic School, University of S\u00e3o Paulo, Sao Paulo 05508-010, Brazil"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-3612-3937","authenticated-orcid":false,"given":"Wilson Vicente","family":"Ruggiero","sequence":"additional","affiliation":[{"name":"Polytechnic School, University of S\u00e3o Paulo, Sao Paulo 05508-010, Brazil"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2024,6,19]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","unstructured":"Pearce, J.M. (2022). Strategic investment in open hardware for national security. Technologies, 10.","DOI":"10.20944\/preprints202203.0217.v1"},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Baehr, J., Hepp, A., Brunner, M., Malenko, M., and Sigl, G. (September, January 31). Open source hardware design and hardware reverse engineering: A security analysis. Proceedings of the 2022 25th Euromicro Conference on Digital System Design (DSD), Maspalomas, Spain.","DOI":"10.1109\/DSD57027.2022.00073"},{"key":"ref_3","unstructured":"Lu, T. (2021). A survey on risc-v security: Hardware and architecture. arXiv."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"879","DOI":"10.1016\/j.net.2020.08.021","article-title":"A novel approach for analyzing the nuclear supply chain cyber-attack surface","volume":"53","author":"Eggers","year":"2021","journal-title":"Nucl. Eng. Technol."},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Hepp, A., and Sigl, G. (2021, January 11\u201313). Tapeout of a RISC-V crypto chip with hardware trojans: A case-study on trojan design and pre-silicon detectability. Proceedings of the 18th ACM International Conference on Computing Frontiers, Virtual Conference, Italy.","DOI":"10.1145\/3457388.3458869"},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Parvin, S., Goli, M., Torres, F.S., and Drechsler, R. (2023, January 16\u201319). Trojan-D2: Post-layout design and detection of stealthy hardware trojans-a RISC-V case study. Proceedings of the 28th Asia and South Pacific Design Automation Conference, Tokyo, Japan.","DOI":"10.1145\/3566097.3567919"},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Hayashi, V.T., de Almeida, F.V., and Komo, A.E. (2021, January 4\u20137). LabBitcoin: FPGA IoT Testbed for Bitcoin Experiment with Energy Consumption. Proceedings of the Anais Estendidos do XXI Simp\u00f3sio Brasileiro em Seguran\u00e7a da Informa\u00e7\u00e3o e de Sistemas Computacionais. SBC, Bel\u00e9m-PA, Brazil.","DOI":"10.5753\/sbseg_estendido.2021.17344"},{"key":"ref_8","unstructured":"Nakamoto, S. (2022, July 31). Bitcoin: A Peer-to-Peer Electronic Cash System. Available online: https:\/\/bitcoin.org\/bitcoin.pdf."},{"key":"ref_9","unstructured":"Oliveira, S., Soares, F., Flach, G., Johann, M., and Reis, R. (2012, January 13\u201316). Building a bitcoin miner on an FPGA. Proceedings of the South Symposium on Microelectronics, Nis, Serbia."},{"key":"ref_10","unstructured":"Buterin, V. (2022, July 31). Ethereum: A Next-Generation Smart Contract and Decentralized Application Platform. Available online: https:\/\/ethereum.org\/669c9e2e2027310b6b3cdce6e1c52962\/Ethereum_Whitepaper_-_Buterin_2014.pdf."},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Blossey, G., Eisenhardt, J., and Hahn, G.J. (2019, January 8\u201311). Blockchain Technology in Supply Chain Management: An Application Perspective. Proceedings of the HICSS, Maui, HI, USA.","DOI":"10.24251\/HICSS.2019.824"},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Alharby, M., and van Moorsel, A. (2017). Blockchain-based Smart Contracts: A Systematic Mapping Study. arXiv.","DOI":"10.5121\/csit.2017.71011"},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Duy, P.T., Hien, D.T.T., Hien, D.H., and Pham, V.H. (2018, January 6\u20137). A Survey on Opportunities and Challenges of Blockchain Technology Adoption for Revolutionary Innovation. Proceedings of the Ninth International Symposium on Information and Communication Technology\u2014SoICT, New York, NY, USA.","DOI":"10.1145\/3287921.3287978"},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"183","DOI":"10.1007\/s12599-017-0467-3","article-title":"Blockchain","volume":"59","author":"Nofer","year":"2017","journal-title":"Bus. Inf. Syst. Eng."},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"1432","DOI":"10.1109\/COMST.2020.2969706","article-title":"A Survey of Distributed Consensus Protocols for Blockchain Networks","volume":"22","author":"Xiao","year":"2020","journal-title":"IEEE Commun. Surv. Tutor."},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Rodrigues, C.K.d.S., and Rocha, V.E. (2020, January 13\u201316). Uma Avalia\u00e7 ao da Tecnologia Blockchain considerando Efici\u00eancia e Seguran\u00e7a de Aplica\u00e7 oes do Ecossistema IoT. Proceedings of the SBSEG 2020, Petr\u00f3polis, Brazil.","DOI":"10.5753\/sbseg.2020.19232"},{"key":"ref_17","unstructured":"Torres, C.F., Willi, F., and Shinde, S. (2023, January 9\u201311). Is your wallet snitching on you? An analysis on the privacy implications of web3. Proceedings of the 32nd USENIX Security Symposium (USENIX Security 23), Anaheim, CA, USA."},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Salmani, H., Tehranipoor, M., and Karri, R. (2013, January 6\u20139). On design vulnerability analysis and trust benchmarks development. Proceedings of the 2013 IEEE 31st International Conference on Computer Design (ICCD), Asheville, NC, USA.","DOI":"10.1109\/ICCD.2013.6657085"},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"85","DOI":"10.1007\/s41635-017-0001-6","article-title":"Benchmarking of hardware trojans and maliciously affected circuits","volume":"1","author":"Shakya","year":"2017","journal-title":"J. Hardw. Syst. Secur."},{"key":"ref_20","first-page":"2697","article-title":"Hardware Trojan Power & EM Side-Channel dataset","volume":"6","author":"Yasaei","year":"2021","journal-title":"IEEE Trans. Inf. Forensics Secur."},{"key":"ref_21","first-page":"46","article-title":"Trust-hub trojan benchmark for hardware trojan detection model creation using machine learning","volume":"22","author":"Salmani","year":"2022","journal-title":"Acm Trans. Embed. Comput. Syst."},{"key":"ref_22","unstructured":"Yasaei, R., Yu, S.Y., Zhou, Q., and Al Faruque, M.A. (2021). Hardware Design Dataset for Circuit Graph Analysis. IEEE DataPort."},{"key":"ref_23","unstructured":"Chao, P., Robey, A., Dobriban, E., Hassani, H., Pappas, G.J., and Wong, E. (2023). Jailbreaking black box large language models in twenty queries. arXiv."},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"5207","DOI":"10.1109\/TCAD.2022.3166675","article-title":"Eigencircuit: Divergent synthetic benchmark generation for hardware security using pca and linear programming","volume":"41","author":"Amir","year":"2022","journal-title":"IEEE Trans.-Comput.-Aided Des. Integr. Circuits Syst."},{"key":"ref_25","unstructured":"Cruz, J., Gaikwad, P., Nair, A., Chakraborty, P., and Bhunia, S. (2022). Automatic hardware trojan insertion using machine learning. arXiv."},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Meka, J.K., Marupureddy, S.A., and Vemuri, R. (2024, January 6\u201310). Pattern Based Synthetic Benchmark Generation for Hardware Security Applications. Proceedings of the 2024 37th International Conference on VLSI Design and 2024 23rd International Conference on Embedded Systems (VLSID), West Bengal, India.","DOI":"10.1109\/VLSID60093.2024.00083"},{"key":"ref_27","unstructured":"Zou, A., Wang, Z., Kolter, J.Z., and Fredrikson, M. (2023). Universal and transferable adversarial attacks on aligned language models. arXiv."},{"key":"ref_28","unstructured":"Snyder, W. (2018, January 21\u201323). Verilator 4.0: Open simulation goes multithreaded. Proceedings of the Open Source Digital Design Conference (ORConf), Gdansk, Poland."},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Takamaeda-Yamazaki, S. (2015, January 13\u201317). Pyverilog: A python-based hardware design processing toolkit for verilog hdl. Proceedings of the Applied Reconfigurable Computing: 11th International Symposium, ARC 2015, Bochum, Germany. Proceedings 11.","DOI":"10.1007\/978-3-319-16214-0_42"},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"505","DOI":"10.1109\/TC.2019.2953752","article-title":"Graph similarity and its applications to hardware security","volume":"69","author":"Fyrbiak","year":"2019","journal-title":"IEEE Trans. Comput."},{"key":"ref_31","unstructured":"Peixoto, T.P. (2024, April 22). The Graph-Tool Python Library. Figshare. Available online: https:\/\/figshare.com\/articles\/dataset\/graph_tool\/1164194."},{"key":"ref_32","doi-asserted-by":"crossref","unstructured":"Shah, D., Hung, E., Wolf, C., Bazanski, S., Gisselquist, D., and Milanovic, M. (May, January 28). Yosys+ nextpnr: An open source framework from verilog to bitstream for commercial fpgas. Proceedings of the 2019 IEEE 27th Annual International Symposium on Field-Programmable Custom Computing Machines (FCCM), San Diego, CA, USA.","DOI":"10.1109\/FCCM.2019.00010"},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1145\/3643681","article-title":"Verigen: A large language model for verilog code generation","volume":"29","author":"Thakur","year":"2024","journal-title":"Acm Trans. Des. Autom. Electron. Syst."},{"key":"ref_34","unstructured":"Gao, Y., Xiong, Y., Gao, X., Jia, K., Pan, J., Bi, Y., Dai, Y., Sun, J., and Wang, H. (2023). Retrieval-augmented generation for large language models: A survey. arXiv."},{"key":"ref_35","doi-asserted-by":"crossref","unstructured":"Hicks, M., Finnicum, M., King, S.T., Martin, M.M., and Smith, J.M. (2010, January 16\u201319). Overcoming an untrusted computing base: Detecting and removing malicious hardware automatically. Proceedings of the 2010 IEEE Symposium on Security and Privacy, Berkeley, CA, USA.","DOI":"10.1109\/SP.2010.18"},{"key":"ref_36","doi-asserted-by":"crossref","unstructured":"Waksman, A., Suozzo, M., and Sethumadhavan, S. (2013, January 4\u20138). FANCI: Identification of stealthy malicious logic using boolean functional analysis. Proceedings of the 2013 ACM SIGSAC Conference on Computer & Communications Security, Berlin, Germany.","DOI":"10.1145\/2508859.2516654"},{"key":"ref_37","doi-asserted-by":"crossref","first-page":"498","DOI":"10.1109\/TDSC.2018.2812183","article-title":"Hal\u2014The missing piece of the puzzle for hardware reverse engineering, trojan detection and insertion","volume":"16","author":"Fyrbiak","year":"2018","journal-title":"IEEE Trans. Dependable Secur. Comput."}],"container-title":["Data"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2306-5729\/9\/6\/82\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T15:01:24Z","timestamp":1760108484000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2306-5729\/9\/6\/82"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,6,19]]},"references-count":37,"journal-issue":{"issue":"6","published-online":{"date-parts":[[2024,6]]}},"alternative-id":["data9060082"],"URL":"https:\/\/doi.org\/10.3390\/data9060082","relation":{},"ISSN":["2306-5729"],"issn-type":[{"value":"2306-5729","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,6,19]]}}}