Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
react-native-bugsnag
Advanced tools
Community-created Bugsnag package for React Native. It consumes the Bugsnag API to report errors from both the React Native (Javascript) environment AND the native (Obj-C or Java) environment.
Easily add Bugsnag exception monitoring support to your React Native application.
This is a third party library and we are NOT affiliated with Bugsnag.._
This library works with iOS and Android, and what it actually does is, it helps you poor folk get reports from crashes/exceptions right into the bugsnag dashboard. You can then go ahead and repair the bug yourself without having to ask your team members or your client a zillion questions just to be able to reproduce the error. Now you know where the crash happened and why remotely and instantaneously. Isn't that neat? You're so cool!
Start with:
rnpm install react-native-bugsnag
Theres a quick guide over to our wiki.
##Sample code:
import RNBugsnag from 'react-native-bugsnag';
class AnExampleClass {
/**
* ## Constructor
*/
constructor( props ) {
let bugsnag = new RNBugsnag({suppressDevErrors:false, identifier:{userId: "aUserId", userEmail:"anEmail@domain.com", userFullname:"aFullName"}});
setTimeout(function(){
bugsnag.notify("WhateverError", "This error was just meant to be.", "error");
}, 3000);
}
};
We now use new Bugsnag()
instead of directly calling Bugsnag()
.
Note that even though we use the new
keyword we're still receiving a singleton instance and thus it will only be used as a constructor the first time you call it.
Checklist:
FAQs
Community-created Bugsnag package for React Native. It consumes the Bugsnag API to report errors from both the React Native (Javascript) environment AND the native (Obj-C or Java) environment.
We found that react-native-bugsnag 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.