
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@1ziton/react-native-share-qr
Advanced tools
url生成二维码分享到微信
$ npm install @1ziton/react-native-share-qr --save
$ react-native link @1ziton/react-native-share-qr
Libraries
➜ Add Files to [your project's name]
node_modules
➜ react-native-share-qr
and add RNShareQr.xcodeproj
libRNShareQr.a
to your project's Build Phases
➜ Link Binary With Libraries
Cmd+R
)<android/app/src/main/java/[...]/MyApplication.java
import com.dashixiong.shareqrcode.ShareQrPackage;;
to the imports at the top of the filenew CameraPackage()
to the list returned by the getPackages()
methodandroid/settings.gradle
:
include ':@1ziton_react-native-share-qr'
project(':@1ziton_react-native-share-qr').projectDir = new File(rootProject.projectDir, '../node_modules/@1ziton/react-native-share-qr/android')
android/app/build.gradle
:
implementation project(':@1ziton_react-native-share-qr')
RNShareQr.sln
in node_modules/react-native-share-qr/windows/RNShareQr.sln
folder to their solution, reference from their app.MainPage.cs
appusing Share.Qr.RNShareQr;
to the usings at the top of the filenew RNShareQrPackage()
to the List<IReactPackage>
returned by the Packages
methodimport { NativeModules
} from 'react-native';
// TODO: What to do with the module?
const { ShareQrMoudle } = NativeModules;
//应用注册
ShareQrMoudle.setWxId('wx_id');
ShareQrMoudle.openNative('shareUrl');
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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.