
Research
/Security News
10 npm Typosquatted Packages Deploy Multi-Stage Credential Harvester
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.
react-native-screenshotcatch-dsg
Advanced tools
$ npm install react-native-screenshotcatch --save
RN version >= 0.60
autolink
RN Version < 0.60
pod 'RNScreenshotcatch', :path => '../node_modules/react-native-screenshotcatch'
android/app/src/main/java/[...]/MainActivity.javaimport com.dreamser.screenshotcatch.RNScreenshotcatchPackage; to the imports at the top of the filenew RNScreenshotcatchPackage() to the list returned by the getPackages() methodandroid/settings.gradle:
include ':react-native-screenshotcatch'
project(':react-native-screenshotcatch').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-screenshotcatch/android')
android/app/build.gradle:
compile project(':react-native-screenshotcatch')
// MainActivity.java
import com.dreamser.screenshotcatch.RNScreenshotcatchModule;
public class MainActivity extends ReactActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
ScreenShotShareModule.initScreenShotShareSDK(this); // here
}
// ...other code
}
add
import RNScreenshotcatchUtil from 'react-native-screenshotcatch';
export default class Root extends React.Component{
componentWillMount(){
ScreenShotShareUtil.startListener(res => {
if(res && res.code === 200){
// success
}else{
// fail
}
})
}
componentWillUnmount(){
ScreenShotShareUtil.stopListener()
}
}
Judge Android phone has NavigationBar
const hasBar = await ScreenShotShareUtil.hasNavigationBar()
FAQs
A ReactNative Tool for catch Screen Shot Event
The npm package react-native-screenshotcatch-dsg receives a total of 1 weekly downloads. As such, react-native-screenshotcatch-dsg popularity was classified as not popular.
We found that react-native-screenshotcatch-dsg 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
/Security News
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.