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.
@capitual/react-native-store-review
Advanced tools
npm install @capitual/react-native-store-review
import * as React from 'react';
import {
openCustomReview,
openNativeReview,
} from '@capitual/react-native-store-review';
import { StyleSheet, View, Text, Alert, TouchableOpacity } from 'react-native';
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
paddingHorizontal: 20,
},
button: {
width: '100%',
height: 64,
borderRadius: 8,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: 'black',
marginVertical: 10,
},
text: {
textAlign: 'center',
fontSize: 24,
color: 'white',
},
});
export default function App() {
const handleOpenCustomReview = () => {
try {
openCustomReview('IOS_APP_ID', 'ANDROID_APP_ID');
} catch (e) {
Alert.alert('Error on open Custom Review');
}
};
const handleOpenNativeReview = async () => {
try {
openNativeReview();
} catch (e) {
Alert.alert('Error on open Native Review');
}
};
return (
<View style={styles.container}>
<TouchableOpacity style={styles.button} onPress={handleOpenCustomReview}>
<Text style={styles.text}>Open Custom Review</Text>
</TouchableOpacity>
<TouchableOpacity style={styles.button} onPress={handleOpenNativeReview}>
<Text style={styles.text}>Open Native Review</Text>
</TouchableOpacity>
</View>
);
}
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT License. 🙂
Made with create-react-native-library. 😊
FAQs
App in review adapter to React Native.
We found that @capitual/react-native-store-review demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 18 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.
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.