Check a build's integrity
get_version_securityWhat one build actually IS: its SHA-256, the anti-malware verdict, the certificates that signed it, and every Android permission it declares with a plain-English gloss. Defaults to the newest build, so you do not need list_versions first. findings is the part to read first: it applies our rules to the manifest and native facts on the same response and names what they imply — a debuggable build, a version that disagrees with the listing, cleartext traffic, components any app on the device can start, a packer. Two severities, warning and notice, and NEITHER is a verdict; an empty findings is not an all-clear, because a manifest nobody read produces no findings either. Read this BEFORE recommending an install, and read the nulls carefully — scanned: false and virusTotal: null mean nobody has looked, which is not the same as clean, and permissions: null means the manifest was never read, which is not the same as an app that asks for nothing.
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_version_security"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apkId | No | A specific build from list_versions. Omit for the newest one. | |
| packageName | Yes | Android package id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| md5 | No | MD5 of the artifact, computed at ingest. Null on builds ingested before it was computed — never a claim the file has no MD5. | |
| sha1 | No | SHA-1 of the artifact, when one was reported. Computed at ingest where available, else taken from the VirusTotal report. An identifier for matching a published IOC — sha256 is the integrity check. | |
| apkId | Yes | The build this describes — the one asked for, or the newest held. | |
| pairip | No | Google PairIP licence protection, which breaks a plain sideload. The same signal reaches natives.protectors as the id 'pairip' when the native walk ran; this field is the scan's own boolean and answers even when natives is null. | |
| sha256 | Yes | SHA-256 of the artifact. The same value the version list and the download call publish. | |
| natives | No | Native libraries the artifact ships: abis, libs (name, largest uncompressed size, the ABIs carrying it) and protectors. NULL means the archive's directory could not be read; empty lists are the factual 'ships no native libraries', which is ordinary for a split bundle's base APK. A protector is NOT a malware signal — anti-piracy and anti-tamper are what they are sold for — but it does mean the app's own code was not open to inspection, so treat other analysis of the same artifact as partial. | |
| scanned | Yes | Something has analysed this artifact. When false, every field below is null or zero and NONE of it means 'clean'. | |
| verdict | Yes | Our overall reading of the artifact. | |
| findings | No | What manifest and natives already imply, read for a caller who should not have to know Android to notice it. EMPTY IS NOT AN ALL-CLEAR: absence is never a finding, so an empty array also covers the case where the manifest was never read — manifest: null beside it is how you tell those apart. Warnings first. | |
| manifest | No | What the artifact's own AndroidManifest.xml declares beyond the permissions it requests: targetSdk, compileSdk, debuggable, usesCleartextTraffic, allowBackup, sharedUserId, installLocation, the permissions it DEFINES, uses-feature, uses-library, components exported without a permission guard, and its own versionCode/versionName. NULL means nobody read the manifest. A key ABSENT inside the object means the manifest does not declare that attribute — never that it declares the platform default. Its versionCode against the versionCode above is the only check there is on what the store claimed: they disagreeing means the file is not the build the listing describes. | |
| scannedAt | No | When the analysis ran, ISO 8601. | |
| signature | No | Signature validation. Null when that stage did not run. | |
| virusTotal | No | Anti-malware analysis for this hash. NULL means nobody has looked — only a non-null object with flagged: 0 is an all-clear. | |
| packageName | Yes | The package asked for. | |
| permissions | No | NULL means the manifest was never read — not that the app declares none. An empty array is the genuine 'declares none'. | |
| versionCode | Yes | Its build number. | |
| versionName | Yes | Version name of that build. | |
| permissionSummary | No | '24 declared · 5 sensitive'. Null whenever `permissions` is. |