Skip to content

Add Androidmeda Tool - #3624

Closed
In3tinct wants to merge 1 commit into
OWASP:masterfrom
In3tinct:In3tinct-add_tool_Androidmeda_MASTG-TOOL-0145
Closed

Add Androidmeda Tool#3624
In3tinct wants to merge 1 commit into
OWASP:masterfrom
In3tinct:In3tinct-add_tool_Androidmeda_MASTG-TOOL-0145

Conversation

@In3tinct

Copy link
Copy Markdown

Description

This PR adds a new tool, Androidmeda, to the MASTG tools collection.

Androidmeda is an AI tool designed to deobfuscate Android application code and also find potential vulnerabilities by leveraging the power of Large Language Models (LLMs). It analyzes decompiled Android source code to identify obfuscated patterns and suggests more readable names for variables, methods, and classes to provide a clearer understanding of an application's logic.

It supports both LLM APIs (OpenAI, Gemini, Anthropic) and local LLM inference via Ollama.

Details

Checklist

  • Tool added to tools/android
  • File follows the MASTG-TOOL-XXXX naming convention
  • Metadata (title, platform, source) is correct
  • Description is accurate and follows the guidelines

AI Tool Disclosure

  • My contribution does not include any AI-generated content
  • My contribution includes AI-generated content, as disclosed below:
    • AI Tools: [e.g. GitHub CoPilot, ChatGPT, JetBrains Junie etc.]
    • LLMs and versions: [e.g. GPT-4.1, Claude Haiku 4.5, Gemini 2.5 Pro etc.]
    • Prompts: [Summarize the key prompts or instructions given to the AI tools]

[x] I have read the contributing guidelines.

Guidelines for Pull Requests (you can delete this section after reading):

  • Please ensure that your content follows the style guide.
  • If you are working on Porting MASTG v1 Tests to v2, refer to this document.
  • If you are working on new MASWE, tests, or demos, refer to this document.

🚫 If you do not check one of the AI Tool Disclosure or contributing guidelines boxes, your PR will not be merged. If you used AI tools to assist you in writing code or text, but fail to provide the required disclosure, your PR will not be merged.

## Description

This PR adds a new tool, **Androidmeda**, to the MASTG tools collection.

**Androidmeda** is an AI tool designed to deobfuscate Android application code and find vulnerabilities by leveraging the power of Large Language Models (LLMs). It analyzes decompiled Android source code to identify obfuscated patterns and suggests more readable names for variables, methods, and classes to provide a clearer understanding of an application's logic.

It supports both LLM APIs (OpenAI, Gemini, Anthropic) and local LLM inference via Ollama.

## Details

- **Tool ID:** `MASTG-TOOL-0145`
- **Platform:** Android
- **Source:** https://github.com/In3tinct/Androidmeda

## Checklist

- [x] Tool added to `tools/android`
- [x] File follows the `MASTG-TOOL-XXXX` naming convention
- [x] Metadata (title, platform, source) is correct
- [x] Description is accurate and follows the guidelines
@In3tinct

In3tinct commented Jan 16, 2026

Copy link
Copy Markdown
Author

Hi @cpholguera @sushi2k

Requesting review and merge for Androidmeda, to the MASTG tools collection as MASTG-TOOL-0145.

Thank you.

@In3tinct

Copy link
Copy Markdown
Author

It seems another PR is introducing "MASTG-TOOL-0145", but not merged yet. #3597

Should i wait for it and then increment it?

@cpholguera

Copy link
Copy Markdown
Collaborator

No worries about the IDs, we fix them right before merging (if the PR can be merged). However, you should have opened an issue first so we evaluate first if the tool can be added to the MASTG. Please remember this for further contributions.

See https://mas.owasp.org/contributing/1_How_Can_You_Contribute/

@cpholguera cpholguera changed the title Add Androidmeda tool as MASTG-TOOL-0145 Add Androidmeda Tool Jan 18, 2026
@In3tinct

Copy link
Copy Markdown
Author

Got it! Thank you.

@bernhste

bernhste commented Jan 20, 2026

Copy link
Copy Markdown
Collaborator

Hey, I'm running the app now on the Android UnCrackable L4.

Do you have experiences with larger apps, its performance or did you run it on these apps before? Because my M1 with llama3.2 is very slow :)

Then, do you have experiences with the issues like hallucinations during the deobfuscation and possible changes to the code?

The second prompt which looks for vulnerabilities looks a bit too generic for mobile app security and does not reflect the mentioned current OWASP Mobile Top 10. For example there is no mentioning of network related issues, local authentication or insecure cypto.

So my first impression is that we should have some more data and examples for the practical use. Unfortunately I don't find much information such as blogs etc., which are not obviously AI generated.

I will let it run over the night with my local model because I am curious how it will rate the Crackme.

@In3tinct

In3tinct commented Jan 20, 2026

Copy link
Copy Markdown
Author

Thank you for taking a look.

Regarding,

  1. Latency - It depends on how powerful the machine is (i may be stating the obvious here). :) i also have that mentioned on my readme page as "Important - Don't send the entire package at once which would contain libraries etc. Otherwise It may take forever to scan." but rather app specific directories. May be i should make it a warning.

I ran it with infosecadventures "allsafe" app and other production apps too. And found it very useful in reviewing code.

  1. Hallucinations - At worst it just adds back the obfuscated code, if it can't deobfuscate. but i have not seen it make things up (with my limited testing).

  2. There are 2 public blogs which has gone in more details, both of them looks manual review to me. please take a look, it also helped in deobfuscating an android malware in both cases -

  1. https://fuzzinglabs.com/llm-assisted-android-deobfuscation-benchmark/ (this is a great benchmarking)
  2. https://www.mobile-hacker.com/2025/07/22/deobfuscating-android-apps-with-androidmeda-a-smarter-way-to-read-obfuscated-code/

I think the primary purpose of my tool is for deobfuscation/making the decompiled android code more readable, but in the future, i can make it better for vulnerabilities, right now its generic prompt.

@bernhste

bernhste commented Jan 20, 2026

Copy link
Copy Markdown
Collaborator

Thank you for the tips and the links. I think though the benchmarks are a bit weighted, because the source code and write-ups of the vulnerabilities may be part of the training data 😅

I will try it out in my next prod test.

@cpholguera

Copy link
Copy Markdown
Collaborator

Since this has bypassed out contribution flow we're going to reset and start over with a discussion:

#3652

If this gets approved and turned into and issue we can reopen the PR.

See:

https://mas.owasp.org/contributing/1_How_Can_You_Contribute/

https://mas.owasp.org/contributing/

@cpholguera cpholguera closed this Jan 26, 2026
@In3tinct

Copy link
Copy Markdown
Author

Thank you, will keep an eye on the discussion and remember the contribtion flow for future contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants