Trace the signing key
get_signing_historyWhich certificate signed which releases of a package, and where the key moved. Android will only install an update signed by the key that signed what is already on the device, so a hasKeyReplacement: true means the newer build is not an update of the older one — it is a different app under the same package name, which is what a repackaged app looks like. unreadVersions lists releases whose signature we never read; those are gaps, not agreement.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"packageName": "<packageName>"
},
"name": "get_signing_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| packageName | Yes | Android package id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eras | Yes | Newest era first. | |
| signers | No | Certificates on record for the package. | |
| summary | Yes | One sentence naming what the timeline shows. | |
| packageName | Yes | The package this timeline covers. | |
| unreadVersions | Yes | Releases whose signing block was never read, by version name, with the build number in brackets (`1.0.0 (5)`) when the developer shipped that name more than once. A gap in coverage, published as a gap so it is not mistaken for agreement. | |
| hasKeyReplacement | Yes | At least one era shares no key with the era before it. Android will not install such a build over the existing app, and a key that changed without a rotation is the strongest repackaging signal there is. |