Skip to content
Skillpedia
Mobile apps6.4k · #14222

find-refs

What it does

It explains how to search an Android app for references to text, types, methods or fields. It is for security reviewers and developers checking what an app uses.

When to use it

  • ✓When a reviewer wants to find every web address an Android app contacts.
  • ✓When a developer wants to see where a specific method is used in their app.
  • ✓When an analyst needs to trace a suspicious string to the code that uses it.

Skill link

https://github.com/androguard/androguard/blob/master/.claude/skills/find-refs/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/androguard/androguard/blob/master/.claude/skills/find-refs/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Find every place in this Android app that uses a web address starting with https.”

5 new skills a week. 1 minute to read.

How it works

The skill runs a reference search by kind and value, then tells the AI to inspect each interesting hit by reading the class or method and recording the evidence.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

/find-refs — Cross-reference search

Input

$ARGUMENTS:

  1. APK path
  2. Kind: string | type | method | field
  3. Needle (substring / descriptor / name)

Examples:

  • app.apk string password
  • app.apk type Landroid/app/Activity;
  • app.apk method onCreate
  • app.apk field API_KEY

CLI

androguard -i "$1" --findrefs "$2" --findrefs-value "$3"

Python

from androguard import Application
app = Application("app.apk")
print(app.findrefs("string", "https://"))
print(app.findrefs("type", "Lokhttp3/OkHttpClient;"))

Follow-up

For each interesting hit:

  1. --getclass or --decompile-method the declaring class/method
  2. Note callers if the findrefs output includes them
  3. Record evidence in workspace/reports/

If decompiler extra is missing, still try findrefs — it comes from the same [decompile] stack; install if needed.

FAQ

What can it search for?

The skill lists string, type, method and field searches.

What happens after a search?

The skill says to read the matching class or method and note where it is called.

Does it need the decompiler?

The skill says the search can still run without it, though the same setup is recommended.

Details

Original description by the author

Find string/type/method/field references in an APK via Androguard ASC findrefs

repo: androguard/androguard

Popularity

GitHub stars
6.4k
Ranking position
#14222
License
Apache-2.0
Updated
10/25/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills