Anti-AIClone

Log date · Thu

Can Android app SDK dependencies be identified?

Static signatures can identify some SDKs, but a missing match is not proof of absence. We compare package names and show how to review a release.

Can Android app SDK dependencies be identified?

Some dependencies can be identified by code signatures, but the result depends on the rules and the build. A missing match is not proof of absence. In our own Java sample, the original package name matched one rule; the same example code under a different package name did not.

On 2 July 2026 at 13:19 UTC, “A large-scale dataset of Android applications and their SDK dependencies” (arXiv 2607.02627, v1) was submitted. The authors combined AndroZoo APKs and metadata with Exodus Privacy detection rules, matching code signatures statically. Their dataset contains 334,719 app-version observations for 99,722 apps and 246 SDKs, maps SDKs to operating companies, and releases its pipeline and data on GitHub and Zenodo. [1]

Results at a glance
QuestionFinding
Does the original package rule match?The original matched; the renamed sample did not.
Does no match mean the code is absent?No; both class methods contain the same example string.
Does the dataset size establish accuracy for one app?No; accuracy cannot be inferred from its size.

Testing one signature against two package names

We compiled two Tracker classes we wrote with OpenJDK 17.0.19 and packaged them as JARs. Both methods return demo tracker; the deliberate difference is the package name. We listed class entries with jar tf and matched paths beginning with com/example/analytics/. This toy illustration uses JDK tools to show dependence on names; it is not a replication of the paper or a test of APKs, Exodus rules or the paper’s accuracy.

Class paths and rule results, copied from the transcript.
== original class entries ==
com/example/analytics/Tracker.class
signature com/example/analytics/ | original | match
== relocated class entries ==
relocated/analytics/Tracker.class
signature com/example/analytics/ | relocated | no-match

Then javap showed the same string in both methods. This rule matches a path only: it does not establish the origin, SDK identity or version of the code, and unrelated code could use the same path. A match is a lead to verify, not proof of a vendor or version.

javap output from the two methods.
       0: ldc           #7                  // String demo tracker
       0: ldc           #7                  // String demo tracker

What the dependency graph and release artifact tell you

Gradle’s dependency report shows the direct and transitive dependencies resolved for a configuration; dependencyInsight helps explain why a dependency and version were selected. [2] This is the build-resolution view, useful for tracing who brought a library in. Record the release variant and resolved versions so a debug or different variant does not stand in for the shipped build.

The release artifact is another view. R8 can remove unreachable code, merge classes and shorten names. [3] A resolved dependency therefore need not appear unchanged in the final artifact, and a missing static signature does not establish that it was absent from the dependency graph. Review resources, native libraries and generated code separately too.

The paper covers SDK categories including advertising, analytics, authentication, crash reporting and location, but its observations are not an audit of your app’s current configuration. [1] A name alone does not establish which features are enabled, which data is collected or which version is installed. Check initialization, vendor documentation and actual configuration, then have the person responsible for privacy disclosures assess the use.

Recommendations by situation

These are engineering recommendations, not benefits measured by our experiment. Reconcile build dependencies, artifact clues and runtime configuration, and retain the source of each finding.

Recommendations: choose the next step
SituationRecommendation
Unexpected dependency in resolved graphTrace its path with dependencyInsight and decide whether it is needed.
Signature match but version unknownCheck build records and vendor metadata; do not guess the version from a package name.
No signature match but dependency is resolvedInspect optimization, renaming and final output; do not mark it absent.
SDK handles user dataReconcile enabled features, recipients and privacy disclosures.

Keep shared privileged credentials on a controlled server, and design client identifiers and packaged configuration on the assumption that they may be inspected. Restrict privileges, plan rotation and keep sensitive server rules and data within a trusted boundary.

Check your own Android project

Run these commands at your project root, replacing the module, configuration and dependency search term with your own. First use configurations or your build setup to identify the resolvable configuration for the release variant. Reports may expose internal dependency details; store them under your team’s policy.

Example tasks; adjust the configuration and dependency name to the project.
./gradlew :app:dependencies --configuration releaseRuntimeClasspath
./gradlew :app:dependencyInsight --dependency example-sdk --configuration releaseRuntimeClasspath
./gradlew :app:assembleRelease

Archive the resolved report, build identifier and lock information alongside the exact APK or AAB. Inspect that artifact with tools appropriate for DEX, resources and native libraries; the JAR example is not an APK scanner. Compare findings with the Play Console Data safety disclosure and privacy policy, and verify the SDK’s actual settings and recipients.

After a dependency, AGP or R8 upgrade, regenerate the records for the same variant and compare changes. Record the source, owner and disposition of each difference; test installation, initialization, critical functions and error handling. This helps distinguish a newly resolved transitive dependency from a change in the final artifact.

Your checklist

  • Record resolved dependencies and versions for the release variant.
  • Trace unexpected transitive dependencies with dependencyInsight.
  • Inspect the final artifact and verify signature matches.
  • Reconcile SDK settings and data recipients with disclosures.
  • Repeat the inventory and test critical flows after upgrades.

Primary sources

All sources and reproduction status ↗