
Research
Namastex.ai npm Packages Hit with TeamPCP-Style CanisterWorm Malware
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.
@wuye/react-native-photo-picker
Advanced tools
react native 照片选择库 android使用 PictureSelector(#https://github.com/LuckSiege/PictureSelector) ios使用 HXPhotoPicker(https://github.com/SilenceLove/HXPhotoPicker)
npm install react-native-photo-picker
import PhotoPicker from "react-native-photo-picker";
// ...
const result = await PhotoPicker.openPicker({ maxNum: 3 });
AndroidManifest.xml添加
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
proguard-rules.pro添加
#PictureSelector 2.0
-keep class com.luck.picture.lib.** { *; }
#Ucrop
-dontwarn com.yalantis.ucrop**
-keep class com.yalantis.ucrop** { *; }
-keep interface com.yalantis.ucrop** { *; }
pod install
info.plist添加
<key>NSCameraUsageDescription</key>
<string>是否允许此App使用你的相机进行拍照?</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>是否允许此App访问您的地址位置,以获取数据</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>是否允许此App访问您的地址位置,以获取数据</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>是否允许此App访问您的地址位置,以获取数据</string>
<key>NSMicrophoneUsageDescription</key>
<string>是否允许此App使用你的麦克风进行录像?</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>请允许访问相册以选取照片</string>
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
FAQs
react native photo picker
We found that @wuye/react-native-photo-picker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.