
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
github.com/vonovak/react-native-radio-button-android
Native Android radio-button component, originally forked from here.
yarn add react-native-radio-button-android
// or with npm
npm i react-native-radio-button-android --save
// then link the native module, or use manual installation instructions
react-native link react-native-radio-button-android
// rebuild the project
react-native run-android
import RadioBtn from 'react-native-radio-button-android';
<Radio
value={this.state.isSelected}
disabled={this.state.isDisabled}
onChange={fullEvent => {
//do something
}}
onValueChange={isSelected => {
this.setState({
isSelected,
});
}}
/>;
android/settings.gradle
:: Add the following snippetinclude ':react-native-radio-button-android'
project(':react-native-radio-button-android').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-radio-button-android/android')
android/app/build.gradle
: Add in dependencies block.dependences {
...
compile project(':react-native-radio-button-android')
}
android/app/src/main/java/com/<your_app>/MainActivity.java
: Import package and add to react list of packages.import io.sichacvah.react.radio_button.RadioButtonPackage;
...
protected List<ReactPackage> getPackages() {
return Arrays.<ReactPackage>asList(
...
new RadioButtonPackage()
);
}
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.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.