Skip to content

Add Safe keyboard detector for android #1

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

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

EveJulliard
Copy link
Contributor

@EveJulliard EveJulliard commented Dec 20, 2023

Why third-party keyboards are a threat:
Third-party keyboards might embed malicious keyloggers to record passwords and sensitive data.

Our proposition
We've established a whiteListedKeyboardList based on empirical tests + documentation.
The SafeKeyboardDetector object exposes 2 methods :

  • isCurrentKeyboardSafe : check if the currently used keyboard matches one of the whiteListed keyboards or not.
  • showInputMethodPicker: show Android native pop-up to change the selected keyboard.

README.md Outdated
```tsx
import { SafeKeyboardDetector } from '@bam.tech/react-native-app-security';

export default function App() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't bring much to be in a component here

@EveJulliard EveJulliard force-pushed the expo-module/safe-keyboard-detector branch from cc89f8f to 03828d7 Compare December 20, 2023 17:22
@matthieugicquel matthieugicquel force-pushed the expo-module/safe-keyboard-detector branch 2 times, most recently from 8b1f330 to a2da89d Compare December 21, 2023 13:39
@matthieugicquel matthieugicquel changed the title Expo module/safe keyboard detector Add Safe keyboard detector for android Dec 21, 2023
@matthieugicquel matthieugicquel force-pushed the expo-module/safe-keyboard-detector branch 2 times, most recently from c292cb8 to 89d96b2 Compare December 21, 2023 13:44
@matthieugicquel matthieugicquel force-pushed the expo-module/safe-keyboard-detector branch from 89d96b2 to ff34674 Compare December 21, 2023 13:47
@matthieugicquel matthieugicquel merged commit ced0c56 into main Dec 21, 2023
@matthieugicquel matthieugicquel deleted the expo-module/safe-keyboard-detector branch December 21, 2023 13:49
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.

3 participants