
Research
/Security News
jscrambler npm Package Compromised in Supply Chain Attack
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.
react-native-alive-push
Advanced tools
react native 热更新,目前这个版本是基于react-native@0.44.0开发的,支持热加载.
react-native-alive-push-cli使用文档
$ npm install react-native-alive-push --save
alive-push安装好之后默认会进行link,如果link失败请手动link
$ react-native link react-native-alive-push
import React,{Component} from "react"
import {AppRegistry} from "react-native"
import alivepush from "react-native-alive-push"
class App extends Component{
...
}
const AlivePushApp=alivepush({
deployment:""
})(App)
AppRegistry.registerComponent('TestAlivePush', () => AlivePushApp);
需要重写
getJSBundleFile方法
@Nullable
@Override
protected String getJSBundleFile() {
return RNAlivePushModule.getJSBundleFile(MainApplication.this);
}
在AppDelegate.m中添加
#import "RNAlivePush.h"
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{
...
NSURL *jsCodeLocation = [RNAlivePush getJSBundleFile];
...
}
APPLICATION_DATA_DIR/INNER_VERSION调整为APPLICATION_DATA_DIR/VERSION_NAME/INNER_VERSION

FAQs
[react-native-alive-push-cli使用文档](./doc/cli.md)
The npm package react-native-alive-push receives a total of 12 weekly downloads. As such, react-native-alive-push popularity was classified as not popular.
We found that react-native-alive-push demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.

Security News
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.