
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@1ziton/react-native-carptures
Advanced tools
$ npm install @1ziton/react-native-carptures --save
$ react-native link @1ziton/react-native-carptures
Libraries
➜ Add Files to [your project's name]
node_modules
➜ react-native-carptures
and add RNcarptures.xcodeproj
libRNcarptures.a
to your project's Build Phases
➜ Link Binary With Libraries
Cmd+R
)<android/app/src/main/java/[...]/MainApplication.java
import com.king.zxing.CapturePackage;
to the imports at the top of the filenew CapturePackage()
to the list returned by the getPackages()
methodandroid/settings.gradle
:
include ':@1ziton_react-native-carptures'
project(':@1ziton_react-native-carptures').projectDir = new File(rootProject.projectDir, '../node_modules/@1ziton/react-native-carptures/android')
android/app/build.gradle
:
implementation project(':@1ziton_react-native-carptures')
import {
NativeModules
} from 'react-native';
const { CaptureMoudle } = NativeModules;
CaptureMoudle.openNative(0);//打开摄像头识别 let eventEmitter = new NativeEventEmitter(CaptureMoudle); this.listener = eventEmitter.addListener('code', (params) => { if (params) { console.log('收到的二维码数据为', params); } else { ToastUtil.center('扫描失败,请重试'); } });
FAQs
The npm package @1ziton/react-native-carptures receives a total of 5 weekly downloads. As such, @1ziton/react-native-carptures popularity was classified as not popular.
We found that @1ziton/react-native-carptures demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.