
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.
@inlang/cross-sell-sherlock
Advanced tools
.vscode/extensions.json
file..vscode/extensions.json
file if they are not already present.Put this one into your dependencies
in package.json
& install it with pnpm install
:
"@inlang/cross-sell-sherlock": "workspace:*"
The module exports two main asynchronous functions:
isAdopted(fs: NodeishFilesystem, workingDirectory?: string): Promise<boolean>
Checks whether the inlang.vs-code-extension
is recommended in the workspace.
fs
: A NodeishFilesystem
object to interact with the file system.workingDirectory
: (Optional) The working directory path.Promise<boolean>
: true
if the extension is recommended, false
otherwise.add(fs: NodeishFilesystem, workingDirectory?: string): Promise<void>
Adds the inlang.vs-code-extension
recommendation to the workspace if it's not already present.
fs
: A NodeishFilesystem
object to interact with the file system.workingDirectory
: (Optional) The working directory path.import { isAdopted, add } from '@inlang/cross-sell-sherlock';
import { NodeishFilesystem } from '@lix-js/fs';
async function addSherlock(fs: NodeishFilesystem) {
const isExtensionAdopted = await isAdopted(fs);
if (!isExtensionAdopted) {
// prompt for user confirmation
const userConfirmed = await promptUser();
if (userConfirmed) {
await add(fs);
console.log('Extension recommendation added.');
} else {
console.log('User declined to add extension recommendation.');
}
}
}
Contributions are welcome! If you have a feature request, bug report, or proposal, please open an issue or submit a pull request. Our Discord can be found here.
FAQs
A package to cross-sell Sherlock
The npm package @inlang/cross-sell-sherlock receives a total of 2 weekly downloads. As such, @inlang/cross-sell-sherlock popularity was classified as not popular.
We found that @inlang/cross-sell-sherlock demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
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.