
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
cordova-plugin-userbase
Advanced tools
Userbase is the easiest way to add user accounts and user data persistence to your static site Cordova mobile app. All Userbase features are accessible through a very simple JavaScript SDK. No backend necessary.
Cordova is a tool to create mobile apps with JavaScript, HTML, and CSS. Use it to turn your web app into a mobile app.
Follow the quick start instructions below, or check out this sample ugly to-do Cordova app. To create a Cordova app, follow these instructions, and then head back over here to install this plugin.
First, you need to create a free Userbase admin account. No credit card required.
The plugin can be installed via the Cordova command line interface:
cordova plugin add cordova-plugin-userbase
Userbase will then be available globally at window.userbase
.
In your admin account, you will find a Trial app. Get its App ID, and initialize the Userbase SDK with it.
userbase.init({ appId: 'YOUR_APP_ID' })
And you're all set. You can now proceed to the SDK section of the docs.
If you try to use Userbase in a Cordova app without the plugin, you'll notice that signing up and signing in are extraordinarily slow. This is because Userbase uses scrypt to hash passwords, and pure JS Scrypt implementations happen to be extraordinarily slow in Cordova apps. This plugin forked the cordova-plugin-scrypt, which uses native C to run Scrypt, thus enabling a more normal sign up/sign in time in Cordova apps.
This project is released under the MIT License.
FAQs
A Userbase plugin for cordova apps in iOS and Android.
The npm package cordova-plugin-userbase receives a total of 3 weekly downloads. As such, cordova-plugin-userbase popularity was classified as not popular.
We found that cordova-plugin-userbase demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.