
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@embrace-io/react-native-redux
Advanced tools
[!IMPORTANT]
This module requires both the React Native Embrace SDK and the React Native Embrace Tracer Provider.
This package uses Embrace's React Native SDK and OpenTelemetry Tracer Provider to collect telemetry around dispatching actions with Redux. It provides a custom middleware that can be configured with your Redux store.
npm:
npm install @embrace-io/react-native-redux
yarn:
yarn add @embrace-io/react-native-redux
import {useEffect, useState} from "react";
import {EnhancedStore, configureStore, Tuple} from "@reduxjs/toolkit";
import {useEmbrace} from "@embrace-io/react-native";
import {useEmbraceNativeTracerProvider} from "@embrace-io/react-native-tracer-provider";
import {useEmbraceMiddleware} from "@embrace-io/react-native-redux";
const MyApp = () => {
const {isStarted} = useEmbrace({ios: {appId: "MYAPP"}});
const {tracerProvider} = useEmbraceNativeTracerProvider({}, isStarted);
const {middleware} = useEmbraceMiddleware(tracerProvider);
const [store, setStore] = useState<EnhancedStore>();
useEffect(() => {
if (middleware && !store) {
setStore(
configureStore({
reducer: rootReducer,
middleware: () => new Tuple(middleware),
}),
);
}
}, [middleware, store]);
...
};
import {configureStore, Tuple} from "@reduxjs/toolkit";
import {initialize} from "@embrace-io/react-native";
import {EmbraceNativeTracerProvider} from "@embrace-io/react-native-tracer-provider";
import {createEmbraceMiddleware} from "@embrace-io/react-native-redux";
const setupStore = async () => {
await initialize({sdkConfig: {ios: {appId: "abc123"}}});
const tracerProvider = new EmbraceNativeTracerProvider();
return configureStore({
reducer: rootReducer,
middleware: () => new Tuple(createEmbraceMiddleware(tracerProvider)),
});
};
FAQs
Collects telemetry from dispatching actions with Redux
We found that @embrace-io/react-native-redux demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.