KEVWire

Security intelligence, with context.

Response snapshot Oct 26, 2026, 22:09 UTC

Back to the wire
Permalink
Advisorygoogle-security-announcing-launch-of-vanir-open-source-cb78fd958b86

Announcing the launch of Vanir: Open-source Security Patch Validation

Posted by Hyunwook Baek, Duy Truong, Justin Dunlap and Lauren Stan from Android Security and Privacy, and Oliver Chang with the Google Open Source Security Team Today, we are announcing the availability of Vanir , a new open-source security patch validation tool.

At a glance

Sources
1 source

What to do

Read the exact official research article before applying its defensive techniques or drawing conclusions.

Read Google Security Research: Announcing the launch of Vanir: Open-source Security Patch Validation (opens a new tab)

What happened

Posted by Hyunwook Baek, Duy Truong, Justin Dunlap and Lauren Stan from Android Security and Privacy, and Oliver Chang with the Google Open Source Security Team

Today, we are announcing the availability of Vanir , a new open-source security patch validation tool. Introduced at Android Bootcamp in April, Vanir gives Android platform developers the power to quickly and efficiently scan their custom platform code for missing security patches and identify applicable available patches.

Vanir significantly accelerates patch validation by automating this process, allowing OEMs to ensure devices are protected with critical security updates much faster than traditional methods. This strengthens the security of the Android ecosystem, helping to keep Android users around the world safe.

By open-sourcing Vanir, we aim to empower the broader security community to contribute to and benefit from this tool, enabling wider adoption and ultimately improving security across various ecosystems. While initially designed for Android, Vanir can be easily adapted to other ecosystems with relatively small modifications, making it a versatile tool for enhancing software security across the board.

Continue reading

In collaboration with the Google Open Source Security Team, we have incorporated feedback from our early adopters to improve Vanir and make it more useful for security professionals. This tool is now available for you to start developing on top of, and integrating into, your systems.

The Android ecosystem relies on a multi-stage process for vulnerability mitigation. When a new vulnerability is discovered, upstream AOSP developers create and release upstream patches. The downstream device and chip manufacturers then assess the impact on their specific devices and backport the necessary fixes.

This process, while effective, can present scalability challenges, especially for manufacturers managing a diverse range of devices and old models with complex update histories. Managing patch coverage across diverse and customized devices often requires considerable effort due to the manual nature of backporting.

To streamline the vital security workflow, we developed Vanir. Vanir provides a scalable and sustainable solution for security patch adoption and validation, helping to ensure Android devices receive timely protection against potential threats.

The power of Vanir

Source-code-based static analysis

Vanir’s first-of-its-kind approach to Android security patch validation uses source-code-based static analysis to directly compare the target source code against known vulnerable code patterns. Vanir does not rely on traditional metadata-based validation mechanisms, such as version numbers, repository history and build configs, which can be prone to errors.

This unique approach enables Vanir to analyze entire codebases with full history, individual files, or even partial code snippets.

A main focus of Vanir is to automate the time consuming and costly process of identifying missing security patches in the open source software ecosystem. During the early development of Vanir, it became clear that manually identifying a high-volume of missing patches is not only labor intensive but also can leave user devices inadvertently exposed to known vulnerabilities for a period of time.

To address this, Vanir utilizes novel automatic signature refinement techniques and multiple pattern analysis algorithms, inspired by the vulnerable code clone detection algorithms proposed by Jang et al. [1] and Kim et al. [2]. These algorithms have low false-alarm rates and can effectively handle broad classes of code changes that might appear in code patch processes.

In fact, based on our 2-year operation of Vanir, only 2.72% of signatures triggered false alarms. This allows Vanir to efficiently find missing patches, even with code changes, while minimizing unnecessary alerts and manual review efforts.

Vanir's source-code-based approach also enables rapid scaling across any ecosystem. It can generate signatures for any source files written in supported languages. Vanir's signature generator automatically generates, tests, and refines these signatures, allowing users to quickly create signatures for new vulnerabilities in any ecosystem simply by providing source files with security patches.

Android’s successful use of Vanir highlights its efficiency compared to traditional patch verification methods. A single engineer used Vanir to generate signatures for over 150 vulnerabilities and verify missing security patches across its downstream branches – all within just five days.

Vanir for Android

Currently Vanir supports C/C++ and Java targets and covers 95% of Android kernel and userspace CVEs with public security patches. Google Android Security team consistently incorporates the latest CVEs into Vanir’s coverage to provide a complete picture of the Android ecosystem’s patch adoption risk profile.

The Vanir signatures for Android vulnerabilities are published through the Open Source Vulnerabilities (OSV) database. This allows Vanir users to seamlessly protect their codebases against latest Android vulnerabilities without any additional updates. Currently, there are over 2,000 Android vulnerabilities in OSV , and finishing scanning an entire Android source tree can take 10-20 minutes with a modern PC.

<img height="273" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABkAAAAKACAYAAADEq7QAAAAAAXNSR0IArs4c6QAAIABJREFUeF7s3Qd4VFX6BvB3anpPIKQBIQFCb1LtoKCgK64oCuraK4hrL4gFsCCKvaFgBQEXsWFFFBCU3ktCCSQhCek9k8zM//+dKSSQkAAJmUne+zysMLnlnN+9Qfe++c6nATcKUIACFKAABShAAQpQgAIUoAAFKEABClCAAhSgAAUo0MwENM1sPpwOBShAAQpQgAIUoAAFKEABClCAAhSgAAUoQAEKUIACFAADED4EFKAABShAAQpQgAIUoAAFKEABClCAAhSgAAUoQAEKNDsBBiDN7pZyQhSgAAUoQAEKUIACFKAABShAAQpQgAIUoAAFKEABCjAA4TNAAQpQgAIUoAAFKEABClCAAhSgAAUoQAEKUIACFKBAsxNgANLsbiknRAEKUIACFKAABShAAQpQgAIUoAAFKEABClCAAhSgAAMQPgMUoAAFKEABClCAAhSgAAUoQAEKuIpAOwADAXQFEAUgAIDVVQbHcVCAAhSgAAUocEoCZgB5APYB2ATgLwAFp3SmkzyIAchJgnF3ClCAAhSgAAUoQAEKUIACFKAABRpMQAKOeACXAbgHQEiDnZknogAFKEABClDAlQX2AJgJYDmAVADFjTFYBiCNocpzUoACFKAABShAAQpQgAIUoAAFKHAiAQk+LgRw3f//FOjFAPxjYmIwePBgdOjQAREREQgKCoKnpyf0ej0lKUABClCAAhRwYwGTyYSSkhJkZWXh0KFD2L17N3744QfHjFIAyB++BLAKQHlDTpUBSENq8lwUoAAFKEABClCAAhSgAAUoQAEK1CUgFR8PARgJIKJXr16444470KdPH0RGRsLb2xteXl7w8PCARsPXFnVh8usUoAAFKEABdxCwWCwoKytTQUhBQYEKQtauXYuHHpL/JFBbMoDPALwLQEKRBtn4XxINwsiTUIACFKAABShAAQpQgAIUoAAFKFAPgYsAzJXgQ/ZduHAhRo4cCYPBwEqPeuBxFwpQgAIUoEBzEqioqEB2djY+/vhjPProozI16fslVSC3A9jZEHNlANIQijwHBShAAQpQgAIUoAAFKEABClCAAicSMAIYA2AOAMM999yDSZMmIS4ujmoUoAAFKEABClAA69evx4wZM/Dll7ISFg4D+DeA1adLwwDkdAV5PAUoQAEKUIACFKA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g27EJoNBos/+MPzJgxExMn3Ivhwy+uUaC8vBzz5s3H51/Mw9tvvYH4+Ph6S/3+++94/sUZeH3WK+jcuXO9jzudHa1WK3bt3o0nnpiMdes2KC9/P1/cccetuPmm/6BVq1anc/rTOnbr1m2Y/NQUJCR0xvPTp53Wudz54A8++AC33367NEB/7f/7oz8FoKS+82EAUl8p7kcBClCAAhSgAAUoQAEKUIACFKBAfQTaA1gNoPX

Sources

  1. Primary source

    Google Security Research: Announcing the launch of Vanir: Open-source Security Patch Validation (opens a new tab)

    Exact official article/advisory identified by the feed; title, source dates, and any supplied article excerpt.

    Published Checked

  2. Primary source

    Google Security Research syndication feed (opens a new tab)

    The RSS/Atom/RDF entry supplied this exact link and any available title, date, and excerpt.

    Published Date not suppliedChecked

Cite this record

For factual claims, cite the primary sources above; cite KEVWire for its compilation, dates, and classifications.

APA

KEVWire. (2024, December 12). Announcing the launch of Vanir: Open-source Security Patch Validation. https://kevwire.com/record/google-security-announcing-launch-of-vanir-open-source-cb78fd958b86

MLA

"Announcing the launch of Vanir: Open-source Security Patch Validation." KEVWire, 12 Dec. 2024, kevwire.com/record/google-security-announcing-launch-of-vanir-open-source-cb78fd958b86.

Chicago

KEVWire. "Announcing the launch of Vanir: Open-source Security Patch Validation." Last modified December 12, 2024. https://kevwire.com/record/google-security-announcing-launch-of-vanir-open-source-cb78fd958b86.

Evidence summary (plain text)

Announcing the launch of Vanir: Open-source Security Patch Validation (Dec 5, 2024).
Posted by Hyunwook Baek, Duy Truong, Justin Dunlap and Lauren Stan from Android Security and Privacy, and Oliver Chang with the Google Open Source Security Team 

 Today, we are announcing the availability of Vanir , a new open-source security patch validation tool. Introduced at Android Bootcamp in April, Vanir gives Android platform developers the power to quickly and efficiently scan their custom platform code for missing security patches and identify applicable available patches. Vanir significantly accelerates patch validation by automating this process, allowing OEMs to ensure devices are protected with critical security updates much faster than traditional methods. This strengthens the security of the Android ecosystem, helping to keep Android users around the world safe. 

 By open-sourcing Vanir, we aim to empower the broader security community to contribute to and benefit from this tool, enabling wider adoption and ultimately improving security across various ecosystems. While initially designed for Android, Vanir can be easily adapted to other ecosystems with relatively small modifications, making it a versatile tool for enhancing software security across the board. In collaboration with the Google Open Source Security Team, we have incorporated feedback from our early adopters to improve Vanir and make it more useful for security professionals. This tool is now available for you to start developing on top of, and integrating into, your systems. 

 The Android ecosystem relies on a multi-stage process for vulnerability mitigation. When a new vulnerability is discovered, upstream AOSP developers create and release upstream patches. The downstream device and chip manufacturers then assess the impact on their specific devices and backport the necessary fixes. This process, while effective, can present scalability challenges, especially for manufacturers managing a diverse range of devices and old models with complex update histories. Managing patch coverage
Sources:
Google Security Research: Announcing the launch of Vanir: Open-source Security Patch Validation: https://security.googleblog.com/2024/12/announcing-launch-of-vanir-open-source.html
Google Security Research syndication feed: https://security.googleblog.com/feeds/posts/default?alt=rss&redirect=false&max-results=50
Record ID: google-security-announcing-launch-of-vanir-open-source-cb78fd958b86.
Record origin: Ingested record.
AI evidence: Not assessed.
About this data

This record was ingested from a data source. Retrieved: Oct 26, 2026, 21:35 UTC. Ingestion is not an independent editorial investigation.

Technology tags indicate possible relevance, not verified exposure. Confirm the affected product, version, and configuration against your own inventory; KEVWire does not scan your systems.

A personal reading checklist on this device, not verified remediation.

Record JSON

Your account

Email alerts

Email alerts are not available yet. To follow your stack today, use its RSS feed, which honors your filters, or connect an AI agent through the API.

Suggest an improvement

Ideas, missing sources, corrections, and bugs are all welcome. No account needed. Suggestions are reviewed by a person before anything changes.

Record details

Record detail