[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-733142-105":59,"doc-detail-733142-en":130,"doc-similar-733142":162},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","pyfex-uncovering-evasive-python-based-threats-via-resilient-and-exhaustive-path-exploration","PyFEX: Uncovering Evasive Python-based Threats via Resilient and Exhaustive Path Exploration","","Rapid expansion of the Python ecosystem enables two converging attacks: adversaries compromise the PyPI software supply chain and also generate evasive cross-platform malicious binaries compiled from Python source. Existing analysis struggles because static tools are defeated by runtime obfuscation and compiled bytecode, while dynamic tools are fragile, evade-prone, and often stop early due to missing dependencies. PyFEX presents resilient forced execution with conditional-branch exploration, synthetic-object crash recovery, and path merging to reduce explosion.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/pyfex-uncovering-evasive-python-based-threats-via-resilient-and-exhaustive-path-exploration/733142/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/pyfex-uncovering-evasive-python-based-threats-via-resilient-and-exhaustive-path-exploration/733142.png","ImageObject",300,407,{"name":92,"@type":93},"aboduw","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-26","2026-11-22",true,{"@type":102,"interactionType":103,"userInteractionCount":14},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What two main threats does the paper focus on for Python-based attacks?","Question",{"text":112,"@type":113},"It focuses on (1) attackers targeting the PyPI software supply chain by publishing malicious Python packages, and (2) attackers building evasive cross-platform malicious binaries compiled from Python source code.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"Why do current static and dynamic analysis techniques fail against these threats?",{"text":117,"@type":113},"Static analysis lacks runtime information and is blinded by obfuscation techniques such as dynamic code generation and encoded or remote-fetched payloads. Dynamic analysis is fragile, can be evaded by environmental guardrails, and may terminate prematurely when dependencies are missing.",{"name":119,"@type":110,"acceptedAnswer":120},"How does PyFEX improve program analysis to overcome evasion and crashes?",{"text":121,"@type":113},"PyFEX forces execution across conditional branches to bypass evasion checks, uses a resilient crash recovery mechanism that creates synthetic objects to continue after failed operations, and merges paths to mitigate path explosion.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},733142,1795383903,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":14,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":19,"preview_urls":145},3985747862266,"https://ap-avatar.wpscdn.com/davatar_085a072bc5b1113ac321206ff7593b45","PyFEX: Uncovering Evasive Python-based Threats via Resilient  \nand Exhaustive Path Exploration  \narXiv :2606 .02 196v 1 [ cs .CR] 1 Jun 2026  \nMeng Wang  \nCISPA Helmholtz Center for Information Security Saarbrücken, Germany  \nWenting Fan  \nShanghai Jiao Tong University Shanghai, China  \nYue Ma  \nUniversity of Electronic Science and Technology Chengdu, China  \nLiwei Guo  \nUniversity of Electronic Science and Technology Chengdu, China  \nMajid Garoosi  \nCISPA Helmholtz Center for Information Security Saarbrücken, Germany  \nJianqiang Wang  \nMax Planck Institute for Security and Privacy Bochum, Germany  \nAli Abbasi  \nCISPA Helmholtz Center for Information Security Saarbrücken, Germany  \nAbstract  \nThe rapid expansion of the Python ecosystem has fueled two distinct but converging threats: adversaries increasingly target the software supply chain via the Python Package Index (PyPI), while also building evasive, cross-platform malicious binaries compiled from source code written in Python. Current program analysis techniques struggle to address this dual threat. Static analysis based tools are often blinded by runtime obfuscation and compiled bytecode, while dynamic analysis based ones are fragile, prone to evasion by environmental guardrails, and often terminate prematurely due to unsatisfied dependencies.  \nTo overcome these limitations, we present PyFEX, a resilient forced-execution engine. PyFEX explores a program’s behavioral space systematically by forcing execution across all conditional branches to bypass evasion checks. To address the fragility of dynamic execution, it introduces a novel resilient crash recovery mechanism that creates synthetic objects to satisfy failed operations at runtime, allowing analysis to proceed past fatal errors, and employs path merging to mitigate path explosion. PyFEX further incorporates an automated entry identification mechanism that proactively discovers and invokes dormant functions, exposing malicious logic hidden within uncalled APIs. To demonstrate the efficacy of this engine, we built PyFEXScan, a proof-of-concept malware detector built on top of PyFEX. Evaluated against both known malicious PyPI packages and real-world compiled binaries, PyFEX exposes critical behaviors missed by the existing state-of-the-art tools. Ina live deployment on PyPI, PyFEXScan discovered 212 previously  \nPermission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission [and/or a fee. Request permissions from permissions@acm.org](and/or a fee. Request permissions from permissions@acm.org).  \nConference acronym ’XX, Woodstock, NY  \n© 2018 Copyright held by the owner/author(s) . Publication rights licensed to ACM. ACM ISBN 978-1-4503-XXXX-X/2018/06  \n[https://doi.org/XXXXXXX.XXXXXXX](https://doi.org/XXXXXXX.XXXXXXX)  \nunknown malicious packages accounting for over 91,648 downloads, underscoring the necessity of resilient, exhaustive analysis for securing the Python ecosystem.  \nCCS Concepts  \n• Security and privacy → Malware and its mitigation.  \nKeywords  \nSoftware supply chain security, PyPI, Dynamic Analysis, Forced Execution  \nACM Reference Format:  \nMeng Wang, Yue Ma, Majid Garoosi, Wenting Fan, Liwei Guo, Jianqiang Wang, and Ali Abbasi. 2018. PyFEX: Uncovering Evasive Python-based Threats via Resilient and Exhaustive Path Exploration. In Proceedings of Make sure to enter the correct conference title from your rights confirmation email (Conference acronym ’XX). ACM, New York, NY, USA, 18 pages. [https:](https:)//[doi.org/XXXXXXX.XXXXXXX](doi.org/XXXXXXX.XX","cbCaicSjxegU9zAx","https://ap.wps.com/l/cbCaicSjxegU9zAx","pdf",840175,18,"English","# Abstract\n# CCS Concepts\n# Keywords\n# 1 Introduction","[{\"question\":\"What two main threats does the paper focus on for Python-based attacks?\",\"answer\":\"It focuses on (1) attackers targeting the PyPI software supply chain by publishing malicious Python packages, and (2) attackers building evasive cross-platform malicious binaries compiled from Python source code.\"},{\"question\":\"Why do current static and dynamic analysis techniques fail against these threats?\",\"answer\":\"Static analysis lacks runtime information and is blinded by obfuscation techniques such as dynamic code generation and encoded or remote-fetched payloads. Dynamic analysis is fragile, can be evaded by environmental guardrails, and may terminate prematurely when dependencies are missing.\"},{\"question\":\"How does PyFEX improve program analysis to overcome evasion and crashes?\",\"answer\":\"PyFEX forces execution across conditional branches to bypass evasion checks, uses a resilient crash recovery mechanism that creates synthetic objects to continue after failed operations, and merges paths to mitigate path explosion.\"}]","PyFEX: Uncovering Evasive Python-based Threats via Resilient and Exhaustive Path Exploration | PDF",45,[146,150,154,158],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/c8ef500746334880e59790a0b16b0500.webp",983,1272,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/84817449713975026abd4be90740eef5.webp",982,1270,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/5a43d053ce33b56b5f495a337715532a.webp",981,1269,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/ba1727eb2de5fbaf31358b5575e1a13e.webp",980,1268,{"list":163,"token":66},[164,170,177,183,189,196,203,210,217,224],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":81,"category_name":40,"create_tm":169},726364,"You Cannot Escape Me - Detecting Evasions of SIEM Rules in Enterprise Networks","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230028540597/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796166539&Signature=XdSBpNxePDhgr9Clr1zpBAKoOKQ%3D","you-cannot-escape-me-detecting-evasions-of-siem-rules-in-enterprise-networks",1795212317,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":175,"category_name":40,"create_tm":176},31114,"ML-Based Fileless Malware Threats Analysis for the Detection of Cybersecurity Attack based on Memory Forensics: A Survey","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229729073934/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796166539&Signature=qxjfY8F7whyXzKVFrm%2F5y%2BXoN08%3D","ml-based-fileless-malware-threats-analysis-for-the-detection-of-cybersecurity-attack-based-on-memory-forensics-a-survey",65,1778619742,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":44,"category_name":40,"create_tm":182},657471,"Obfuscation of function block diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975489475/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796166539&Signature=iRN3RBDvadukLQuk946uywTHGAA%3D","obfuscation-of-function-block-diagrams",1792980401,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":19,"category_name":40,"create_tm":188},692402,"Rethinking Penetration Testing for AI-Enabled Systems - From Resource Compromise to Behavioral Objective Violation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003649846/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796166539&Signature=V7V2nfERFUdpHSPQx1LtN2uiatU%3D","rethinking-penetration-testing-for-ai-enabled-systems-from-resource-compromise-to-behavioral-objective-violation",1794201119,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":194,"category_name":40,"create_tm":195},118226,"A comparative study of machine learning tools for detecting Trojan horse infections in cloud computing environments","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229834745533/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796166539&Signature=HkoifgR8BMAWBTipOJ%2FN4ds2ATU%3D","a-comparative-study-of-machine-learning-tools-for-detecting-trojan-horse-infections-in-cloud-computing-environments",17,1785682409,{"doc_id":197,"doc_title":198,"file_type":137,"home_preview_img_url":199,"slug":200,"view_count":201,"category_name":40,"create_tm":202},234,"XNX Gas Detector Calibration Guide 2023","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693727733/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796166539&Signature=cj6zIOEmmcVNpZzxm2VUeget5Es%3D","xnx-gas-detector-calibration-2023",7946,1776136863,{"doc_id":204,"doc_title":205,"file_type":137,"home_preview_img_url":206,"slug":207,"view_count":208,"category_name":40,"create_tm":209},227,"Sridevi Matka Chart Full Guide to Panel, Jodi & Pana Records","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693727553/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796166539&Signature=s4khPcA0NEYJCnNXeI2JenxRFCg%3D","sridevi-matka-chart-full-guide-to-panel-jodi-pana-records",6962,1776136851,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":215,"category_name":40,"create_tm":216},167314,"Linear Algebra and Its Applications 6th edition Textbook by david c. lay","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229876163444/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796166539&Signature=N9j8a0iqJ4oholFV5Qt48qTWYJY%3D","linear-algebra-and-its-applications-sixth-edition-david-c-lay-steven-r-lay-judi-j-mcdonald",5918,1788211707,{"doc_id":218,"doc_title":219,"file_type":137,"home_preview_img_url":220,"slug":221,"view_count":222,"category_name":40,"create_tm":223},32070,"Blueprint Pengelolaan Sumber Daya Manusia Kesehatan (SDMK) Tahun 2025–2029","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229758685683/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796166539&Signature=bq6V0qhX%2FkgDWFQepxjlt3HpEt4%3D","healthcare-human-resources-management-blueprint-sdmk-20252029",1294,1780779716,{"doc_id":225,"doc_title":226,"file_type":137,"home_preview_img_url":227,"slug":228,"view_count":229,"category_name":40,"create_tm":230},148514,"Developmental Biology - Twelfth Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229868853261/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796166539&Signature=ClwtvsyCvhxQKUqJtTr4M9zRkdQ%3D","developmental-biology-twelfth-edition",1258,1787780705]