Mobile App Third-Party SDKs

This endpoint gives access to the list of third-party SDKs found within an app during scanning.

See the Introduction for an overview of the API and information relevant to all API operations.

List Third-Party SDKs in Mobile Apps

This endpoint returns a JSON object with sdks_in_mobile_apps and pagination_information keys. sdks_in_mobile_apps provides a paginated list of SDKs that are contained within particular mobile apps. It may return a given SDK multiple times: once for each app it is contained within.

It also returns pagination_information, which provides details about the total number of entries for the current query, and the cursor for accessing the next page of results for the current query.

The endpoint supports the following query parameters:

  • cursor - Retrieve a page of SDKs-in-mobile-apps, starting the page at the specified cursor.
  • mobile_app_id - Filter the list of SDKs-in-mobile-apps to only those entries representing SDKs in the specified mobile app.
  • sdk_id - Filter the list of SDKs-in-mobile-apps based on the (non-app-specific) SDK ID. If used on its own, it will return one entry for each mobile app that contains the specified SDK.
  • currently_present - Filters the list of third-party SDKs based on the presence of the SDK during the most recent scan. This endpoint normally returns SDKs-in-mobile-apps that are currently in an app, as well as entries that represent an SDK that was previously included in an app (but currently removed or not present). Use this query parameter to limit the response to just those SDKs that are currently present, or SDKs that are no longer present. It can be set to:
    • true
    • false

Sample Request

1
GET https://api.securetheorem.com/apis/mobile_security/results/v2/sdks_in_mobile_apps?mobile_app_id=4567

Sample Response

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"sdks_in_mobile_apps": [
{
"id": "4567-005432",
"sdk_id": "44d15a7a-e0b5-5a21-94b6-a61d5e427dc7",
"mobile_app_id": "4567",
"date_created": "2016-11-02T19:25:16.664990-00:00",
"currently_present": true,
"title": "FirebaseAnalytics",
"description": "Insights on app usage.",
"associated_domains": ["https://firebase.google.com"],
"associated_security_finding_target_ids": ["001234", "56789"],
"portal_url": "https://securetheorem.com/app/1234/sdks",
"license_information": [
{
"detail": "Apache-2.0",
"license": "APACHE"
}
],
"history": [
{
"date": "2020-04-01T19:25:16.664990-00:00",
"present": false
},
{
"date": "2020-03-23T19:25:16.664990-00:00",
"present": true
},
{
"date": "2020-02-13T19:25:16.664990-00:00",
"present": true
}
],
"links": [
{
"href": "sdks_in_mobile_apps?mobile_app_id=4567&sdk_id=44d15a7a-e0b5-5a21-94b6-a61d5e427dc7",
"rel": "self",
"type": "GET"
},
{
"href": "mobile_apps/4567",
"rel": "mobile_app",
"type": "GET"
}
]
}
],
"pagination_information": {
"total_count": "1",
"next_cursor": "kEgkIjrCzvdns0QISRmoRc35kaXNjby1vcmRlci03"
}
}

For any SDK response within the sdks_in_mobile_app object, it may include the following fields:

  • associated_security_finding_target_ids

  • associated_domains

    • A list of domains which are related to the SDK.
  • license_information

    • A list of licenses the SDK is released under.
      • license: States the license type.
      • detail: States details such as version or if the license has been modified.

Mobile App Third-Party SDKs Across All Apps

This endpoint gives general information about SDKs, independent of any particular mobile app. Each SDK will report the apps it is included in, and any security findings that relate to it across those apps.

Sample Request

1
GET https://api.securetheorem.com/apis/mobile_security/results/v2/sdks

Sample Response

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"pagination_information": {
"next_cursor": "ahflid6kebr5tpdjgfqo9",
"total_count": "141"
},
"sdks": [
{
"category": "ANALYTICS",
"description": "Tag management that’s simple, reliable, and integrates easily with existing systems.",
"id": "3d75708f-3de7-53ef-95ce-d7bff8dd57f6",
"license_information": [],
"logo_url": "https://disco-order-721.firebaseapp.com/images/4d2a5c24a79f3eeb843775c1473dbac6c44402e7.jpeg",
"mobile_app_ids_curently_with_this_sdk": [
"1044910002"
],
"related_open_security_finding_beyond_subscription_level_count": "0",
"related_open_security_finding_count": "0",
"sdk_finding_ids": [
"005536",
"372061"
],
"title": "Google Tag Manager",
"url": "https://www.google.com/analytics/tag-manager/"
},
...
]
}

Mobile Apps In SDK

This endpoint returns information about the mobile apps that use this SDK.

Sample Request

1
GET https://api.securetheorem.com/apis/mobile_security/results/v2/sdks/:sdk_id/mobile_apps

Sample Response

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"mobile_apps": [
{
"bundle_id": "com.myorg.myapp",
"date_added": "2022-01-19T03:57:57.849154+00:00",
"has_data_firewall_enabled": true,
"id": "406630001",
"name": "MyApp - PreProd",
"open_findings_count": "3",
"platform": "ANDROID",
"top_three_findings": [
{
"id": "005536",
"title": "App Data Exposed on External Storage"
},
{
"id": "002985",
"title": "Google Play Warning: Leaked Facebook OAuth App Secret"
},
{
"id": "009544",
"title": "Data Dumped to 3rd Party OSS/SDK - Facebook"
}
],
"version": "1.1.0"
},
{
"bundle_id": "com.myorg.oldapp",
"date_removed": "2022-10-21T15:34:06.589684+00:00",
"has_data_firewall_enabled": true,
"id": "830770001",
"name": "OldApp - PreProd",
"open_findings_count": "1",
"platform": "IOS",
"top_three_findings": [
{
"id": "007560",
"title": "Intrusive IDFA Collected from User Devices"
}
],
"version": "1.0.0"
}
],
"pagination_information": {
"total_count": "2"
}
}