Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@bufgix/react-native-secure-window
Advanced tools
Hide/Prevent react native views with an overlay when capturing screen
Hide react native views with an overlay when capturing screen
iOS | Android |
---|---|
For managed Expo projects, please follow the installation instructions in the API documentation for the latest stable release. If you follow the link and there is no documentation available then this library is not yet usable within managed projects — it is likely to be included in an upcoming Expo SDK release.
For bare React Native projects, you must ensure that you have installed and configured the expo
package before continuing.
## You must install expo-screen-capture first
yarn add expo-screen-capture
yarn add @bufgix/react-native-secure-window
Run npx pod-install
after installing the npm package.
No additional set up necessary.
import { Text, View } from "react-native";
import { SecureWindow } from "react-native-secure-window";
export default function App() {
return (
<View style={styles.container}>
<SecureWindow>
<Text>This text is protected by the SecureWindow</Text>
</SecureWindow>
<Text>This text is not protected by the SecureWindow</Text>
</View>
);
}
for Android, <SecureWindow />
component prevent whole screen from capturing due to Android limitation.
Contributions are very welcome! Please refer to guidelines described in the contributing guide.
FAQs
Hide/Prevent react native views with an overlay when capturing screen
The npm package @bufgix/react-native-secure-window receives a total of 274 weekly downloads. As such, @bufgix/react-native-secure-window popularity was classified as not popular.
We found that @bufgix/react-native-secure-window 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.