
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
@octetstream/eslint-config
Advanced tools
AirBnb-based ESlint config, tweaked for my needs.
pnpm add -D @octetstream/eslint-config eslint
Create an .eslintrc.json
at the root of your project and add the following content:
{
"extends": [
"@octetstream"
]
}
This section contains the list of rules that I changed comparad to AirBnb config.
semi
// Good 👍
const string = "On Soviet Moon landscape see binoculars through you!"
const doSomething = () => {}; // Good, because the next expression starts with an array declaration, but does not have an assignment
["SIGTERM", "SIGINT"].forEach(signal => process.on(signal, () => { process.exitCode = 0 }))
// Bad 👎
const number = 42;
const person = {
firstName: "Luke",
lastName: "Skywalker"
};
quotes
// Good 👍
const firstString = "Just a string with double quotes."
const secondString = "This string contains \"escaped quotes\" in it."
const thirdString = 'This string also contains "quotes" in it.'
const fourthString = `Use template literal only if you need ${interpolation}.`
// Bad 👎
const fifthString = 'Do not use signle quotes for strings.'
const sixthString = `Do not use template literal without interpolation.`
const
over let
if assigned value is not meant to be changed. Avoid var
. Use const
in destructuring only if none of values are meant to be changed. prefer-const
// Good 👍
const number = 42
let string = "Initial string value"
string = "Updated string value"
// Bad 👎
var someVariable = 451
FAQs
AirBnb-based ESlint config, tweaked for my needs.
The npm package @octetstream/eslint-config receives a total of 28,810 weekly downloads. As such, @octetstream/eslint-config popularity was classified as popular.
We found that @octetstream/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than 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 uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.