Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More robust jailbreak detection #1000

Merged
merged 1 commit into from
Feb 16, 2021
Merged

More robust jailbreak detection #1000

merged 1 commit into from
Feb 16, 2021

Conversation

kstenerud
Copy link
Contributor

@kstenerud kstenerud commented Feb 15, 2021

Goal & Design

https://bugsnag.atlassian.net/wiki/spaces/EN/pages/1946321640/ROAD-989+Improve+Jailbroken+Detection+iOS

Changeset

Added BSG_Jailbreak.h, and modified BSG_KSSystemInfo to use it.

Although the high level isJailbreak functionality is still susceptible to attack, the code that generates the JSON for the report is not, and that's the part we care about because it's what gets sent to the backend.

Testing

Manual testing on jailbroken and non-jailbroken devices.

@kstenerud kstenerud changed the base branch from master to next February 15, 2021 09:49
@kstenerud kstenerud force-pushed the 5969-jailbreak-detection branch 4 times, most recently from 3559ecb to 7755e58 Compare February 15, 2021 10:07
@github-actions
Copy link

github-actions bot commented Feb 15, 2021

Infer: No issues found 🎉

OCLint: No issues found 🎉

Bugsnag.framework binary size increased by 432 bytes from 1,060,400 to 1,060,832

Generated by 🚫 Danger

@kstenerud kstenerud force-pushed the 5969-jailbreak-detection branch 3 times, most recently from 212f05e to 30a3ec4 Compare February 15, 2021 10:46
@kstenerud kstenerud force-pushed the 5969-jailbreak-detection branch from 30a3ec4 to 951a23d Compare February 15, 2021 16:10
@kstenerud kstenerud force-pushed the 5969-jailbreak-detection branch from 951a23d to 0ed6194 Compare February 15, 2021 16:11
@kstenerud kstenerud requested a review from nickdowell February 15, 2021 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants