
Research
npm Malware Targets Telegram Bot Developers with Persistent SSH Backdoors
Malicious npm packages posing as Telegram bot libraries install SSH backdoors and exfiltrate data from Linux developer machines.
eslint-plugin-expo
Advanced tools
ESLint rules for Expo apps
You'll first need to install ESLint:
npx expo install eslint --save-dev
Next, install eslint-plugin-expo
:
npx expo install eslint-plugin-expo --save-dev
Add expo
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"expo"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"expo/no-env-var-destructuring": "error",
"expo/no-dynamic-env-var": "error"
}
}
Name | Description |
---|---|
no-dynamic-env-var | Prevents process.env from being accessed dynamically |
no-env-var-destructuring | Disallow desctructuring of environment variables |
FAQs
ESLint rules for Expo apps
The npm package eslint-plugin-expo receives a total of 94,513 weekly downloads. As such, eslint-plugin-expo popularity was classified as popular.
We found that eslint-plugin-expo demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Malicious npm packages posing as Telegram bot libraries install SSH backdoors and exfiltrate data from Linux developer machines.
Security News
pip, PDM, pip-audit, and the packaging library are already adding support for Python’s new lock file format.
Product
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.