The Mobile Application Security Testing Guide (MASTG) is a comprehensive manual for mobile app security testing and reverse engineering. It describes the technical processes for verifying the controls listed in the OWASP Mobile Application Security Verification Standard (MASVS).
Originally posted by **sohsatoh** February 9, 2023
The "Finding Sensitive Data in the Keyboard Cache" section of MSTG-STORAGE-5 describes the following.
```
Several options for simplifying keyboard input are available to users. These options include autocorrection and spell checking. cached by default, in /private/var/mobile/Library/Keyboard/dynamic-text.dat.
```
However, in iOS14 and iOS16, I confirmed that the keyboard cache is stored in `/private/var/mobile/Library/Keyboard/-dynamic.lm/dynamic-lexicon.dat`, and the information written in MSTG-STORAGE-5 is already outdated.
Suggestion: let's try to keep it timeless
Several options, such as autocorrect and spell check, are available to users to simplify keyboard input and are cached by default in `.dat' files in /private/var/mobile/Library/Keyboard/ and its subdirectories.
Discussed in https://github.com/OWASP/owasp-mastg/discussions/2367
Suggestion: let's try to keep it timeless