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-native-hunt-lib
Advanced tools
$ npm install react-native-native-hunt-lib --save
$ react-native link react-native-native-hunt-lib
Libraries
➜ Add Files to [your project's name]
node_modules
➜ react-native-native-hunt-lib
and add RNNativeHuntLib.xcodeproj
libRNNativeHuntLib.a
to your project's Build Phases
➜ Link Binary With Libraries
Cmd+R
)<android/app/src/main/java/[...]/MainActivity.java
import com.reactlibrary.RNNativeHuntLibPackage;
to the imports at the top of the filenew RNNativeHuntLibPackage()
to the list returned by the getPackages()
methodandroid/settings.gradle
:
include ':react-native-native-hunt-lib'
project(':react-native-native-hunt-lib').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-native-hunt-lib/android')
android/app/build.gradle
:
compile project(':react-native-native-hunt-lib')
RNNativeHuntLib.sln
in node_modules/react-native-native-hunt-lib/windows/RNNativeHuntLib.sln
folder to their solution, reference from their app.MainPage.cs
appusing Native.Hunt.Lib.RNNativeHuntLib;
to the usings at the top of the filenew RNNativeHuntLibPackage()
to the List<IReactPackage>
returned by the Packages
methodimport RNNativeHuntLib from 'react-native-native-hunt-lib';
// TODO: What to do with the module?
RNNativeHuntLib;
FAQs
shitty native module
The npm package react-native-native-hunt-lib receives a total of 0 weekly downloads. As such, react-native-native-hunt-lib popularity was classified as not popular.
We found that react-native-native-hunt-lib 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.