Metraipolis › archive › dc_647562a4e9b8
MalTotal: Cost-Effective and Language-Agnostic Malicious Code Poisoning Detection for Millions of Repositories — arXiv:2608.03232
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.03232
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-31T12:34:26.049Z
- SHA-256 of the archived text
0dd5d3f7d418680bb30d49a8c6ce8adca99777a5cc77624cb011a4a3b79e4902- Stable URL of this page
https://metraipolis.com/documento/dc_647562a4e9b8
How to cite
MalTotal: Cost-Effective and Language-Agnostic Malicious Code Poisoning Detection for Millions of Repositories — arXiv:2608.03232 — arXiv (en), https://arxiv.org/abs/2608.03232 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_647562a4e9b8 (Metraipolis archive dc_647562a4e9b8, sha256 0dd5d3f7d418680bb30d49a8c6ce8adca99777a5cc77624cb011a4a3b79e4902)
BibTeX
@misc{dc647562a4e9b8,
title = {MalTotal: Cost-Effective and Language-Agnostic Malicious Code Poisoning Detection for Millions of Repositories — arXiv:2608.03232},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.03232},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_647562a4e9b8; sha256 0dd5d3f7d418680bb30d49a8c6ce8adca99777a5cc77624cb011a4a3b79e4902},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.03232. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
The widespread adoption of open source software (OSS) has introduced significant security risks, with malicious code poisoning attacks increasingly targeting public package registries and open-source platforms. Existing detection approaches, including heuristic-, learning-, and LLM-based methods, suffer from language-specific designs, limited generalization, and high analysis costs, making them unsuitable for large-scale multi-language analysis. To address these challenges, we propose MalTotal, a scalable and cost-effective framework for language-agnostic malicious code detection. MalTotal leverages LLM-assisted semantic reasoning to identify sensitive APIs, perform hybrid semantic slicing, and reconstruct malicious behavior contexts while reducing analysis overhead. Our evaluations show that MalTotal outperforms 8 state-of-the-art baselines, achieving an average F1-score of 93.1% across 5 mainstream languages. Its hybrid slicing reduces LLM token consumption by 94.0%, lowering the analysis cost from \$86.25 to \$5.19 on 2,168 repositories. In a large-scale study of 120K GitHub repositories containing over 7.3 million files, MalTotal discovered 564 previously unknown malicious repositories across multiple languages at a total cost of \$338. These results demonstrate the effectiveness, scalability, and cost-efficiency of MalTotal in mitigating large-scale code poisoning attacks. Tema degli esploratori: fiducia digitale e crittografia (retro-catalogo arXiv: annunci del 2026-08-05 in cs.CR). Categorie arXiv: Cryptography and Security (cs.CR). Pagina del lavoro: https://arxiv.org/abs/2608.03232 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-31T12:21:50.557Z dalla pagina https://arxiv.org/catchup/cs.CR/2026-08-05?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).