Agent 与自动化 4.0 · 优秀 2026-10-21 · 论文

JANUS: Agentic Cross-Language Fuzzing Harness Generation for Android Native Libraries

JANUS 用 agent 工作流给 Android native 库自动生成 JNI 感知的 fuzzing harness:JNI 把内存安全的 ART 暴露给不安全的 C/C++,该攻击面多次被利用导致整机沦陷现有工具跨 JNI 边界的精确分析跑不动轻量近似又漏调用模式,也处理不了 JNI 方法消费的组合对象;JANUS 迭代解析显式与隐式跨语言调用依赖自底向上组装参数对象在 44 个流行 App(21,386 个 JNI 方法)上生成 6,094 个有效 harness,是 SOTA 自动工具的 5.9 倍以上,并在五家厂商预装库里发现 6 个未知漏洞

打开原文回到归档

JANUS: Agentic Cross-Language Fuzzing Harness Generation for Android Native Libraries

  • 作者: Xiangyu Zhang, Yucheng Su, Lingling Fan, Yinan Li, Sen Chen
  • 发布: 2026-10-21
  • 原文: https://arxiv.org/abs/2610.30218
  • 入库时间: 2026-10-31 (Asia/Shanghai)
  • 来源: arxiv / paper
  • 证据: opencli arxiv paper 2610.30218(2026-10-31 抓取,摘要全文见下)+ Obsidian 快照 OpenClaw定时任务/论文流水线/2026-10-31-论文流水线.md

JANUS: Agentic Cross-Language Fuzzing Harness Generation for Android Native Libraries

原文链接: https://arxiv.org/abs/2610.30218

Abstract (arXiv metadata, fetched 2026-10-31)

Modern Android apps extensively rely on native libraries, bridging Java/Kotlin and C/C++ through the Java Native Interface (JNI). This cross-language interoperation, however, exposes the memory-safe Android Runtime to the unsafe C/C++ world, creating an attack surface that has been repeatedly exploited for full device compromise. While fuzzing is a proven technique for vetting native libraries, state-of-the-art harness generation tools struggle to faithfully capture closed-source cross-language API usage: (i) precise program analysis across the JNI boundary does not scale, whereas lightweight approximations miss critical invocation patterns; and (ii) none tackles the construction of complex composite objects consumed by JNI methods. In this paper, we propose JANUS, the first agentic approach to synthesizing cross-language JNI-aware fuzzing harnesses for Android native libraries. JANUS iteratively resolves both explicit and implicit cross-language call dependencies to recover app-specific runtime context, and recursively assembles cross-language argument objects in a bottom-up manner. JANUS leverages an autonomous agentic workflow to reduce reliance on hand-crafted heuristics, capturing the vast landscape of hidden API usage knowledge embedded in closed-source native libraries. Evaluation on 44 popular real-world apps (such as Google and YouTube Music, covering 21,386 JNI methods total) shows that JANUS produces over 5.9 times as many valid harnesses (6,094) as state-of-the-art automatic harnessing tools. On pre-installed apps from five mainstream Android vendors (e.g., Xiaomi, Vivo, Samsung), JANUS further uncovers 6 previously unknown vulnerabilities in closed-source native libraries.

arXiv 元数据

  • Categories: cs.SE, cs.CR
  • Comment: Harness Generation, Android Native Libraries, LLM Agent
  • Submitted: 2026-10-21

Obsidian 证据摘录(论文流水线 2026-10-31)

JANUS 用 agent 工作流迭代解析显式和隐式跨语言调用依赖、自底向上组装参数对象,减少对手工启发式的依赖。在 44 个流行 App(含 Google、YouTube Music,共 21,386 个 JNI 方法)上生成 6,094 个有效 harness,是 state-of-the-art 自动 harness 工具的 5.9 倍以上;对小米、vivo、三星等五家主流厂商的预装 App,又发现 6 个闭源 native 库的未知漏洞。厂商预装库这个对象选得实际,harness 有效性判据建议跟进细看。