
Research
Malicious npm Package Brand-Squats TanStack to Exfiltrate Environment Variables
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.
expo-device
Advanced tools
A universal module that gets physical information about the device running the application
Provides specific information about the device running the application.
For managed Expo projects, please follow the installation instructions in the API documentation for the latest stable release.
For bare React Native projects, you must ensure that you have installed and configured the expo package before continuing.
npx expo install expo-device
Contributions are very welcome! Please refer to guidelines described in the contributing guide.
The react-native-device-info package provides similar functionalities to expo-device, such as retrieving device information like model, manufacturer, and OS. It also offers additional features like battery level, device ID, and more. It is a more comprehensive solution but requires linking and additional setup compared to expo-device.
The device package is a lightweight library that provides basic device information such as the device type and operating system. It is less comprehensive than expo-device and react-native-device-info but can be a good choice for simple use cases.
FAQs
A universal module that gets physical information about the device running the application
The npm package expo-device receives a total of 1,357,677 weekly downloads. As such, expo-device popularity was classified as popular.
We found that expo-device demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Ā It has 34 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.

Research
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.

Research
Compromised SAP CAP npm packages download and execute unverified binaries, creating urgent supply chain risk for affected developers and CI/CD environments.

Company News
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.