Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@haskkor/react-native-recaptchav3
Advanced tools
React native component to use the invisible recaptcha v3 from Google
React native component to use the invisible reCAPTCHA v3 from Google
https://www.google.com/recaptcha/intro/v3.html
npm install --save @haskkor/react-native-recaptchav3
or
yarn add @haskkor/react-native-recaptchav3
Note: React Native Community Webview requires you to link the native dependencies (https://github.com/react-native-community/react-native-webview/blob/master/docs/Getting-Started.md)
Automatically get a captcha token:
import ReCaptchaV3 from '@haskkor/react-native-recaptchav3'
<ReCaptchaV3
captchaDomain={'https://yourowndomainname.co.nz'}
siteKey={'yourownsitekey'}
onReceiveToken={(token: string) => Alert.alert('CAPTCHA', token)}/>
One could also use a trigger to request a new token using the reference of the component:
import ReCaptchaV3 from '@haskkor/react-native-recaptchav3'
<ReCaptchaV3
ref={(ref: RecaptchaV3) => this._captchaRef = ref}
captchaDomain={'https://yourowndomainname.co.nz'}
siteKey={'yourownsitekey'}
onReceiveToken={(token: string) => Alert.alert('CAPTCHA', token)}/>
<TouchableOpacity onPress={() => this._captchaRef.refreshToken()}>
<Text>Retry</Text>
</TouchableOpacity>
Key | Description | Default | Required | Type |
---|---|---|---|---|
captchaDomain | Your url registered with Google reCAPTCHA | None | true | string |
onReceiveToken | The callback used to get the captcha token from the component | None | true | (captchaToken: string) => void |
siteKey | The site key provided by Google reCAPTCHA | None | true | string |
Pull requests are welcome.
[1.2.0] - 2020-03-23
FAQs
React native component to use the invisible recaptcha v3 from Google
The npm package @haskkor/react-native-recaptchav3 receives a total of 466 weekly downloads. As such, @haskkor/react-native-recaptchav3 popularity was classified as not popular.
We found that @haskkor/react-native-recaptchav3 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.