
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.
@yiheyang/jshare-react-native
Advanced tools
npm install jshare-react-native --save
npm install jcore-react-native --save
react-native link
Add the JShareRN pod to your list of application pods in your Podfile, using the path from the Podfile to the installed module:
pod 'JShareRN', :path => '../node_modules/jshare-react-native'
pod 'JCoreRN', :path => '../node_modules/jcore-react-native'
Install pods as usual::
pod install
That's it.
Import JShareModule:
your component.js
...
import JShareModule from 'jshare-react-native';
JShareModule.setup(param) // iOS 调用该方法才能正常使用, param 参考 API 文档
Use JShareModule call APIs, API Document
FAQs
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.