
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.
@aller/external-id
Advanced tools
Library for creating an ID from an URL.
Code:
import { getExternalId } from '@aller/external-id';
const id = getExternalId(
'https://www.dagbladet.no/nyheter/sjokkerte-allierte-pa-flyet-til-singapore---kim-ma-ikke-fa-se-noen-amerikansk-svakhet/69887776',
);
console.log(id);
Output:
dagbladet.no/69887776
getStrippedHost
import getStrippedHost from '@aller/external-id';
const host = getStrippedHost(
'https://www.somedomain.com/some-url/sub-url?query-parameter=123',
);
console.log(id);
Output:
somedomain.com
yarn test
Runs unit and e2e tests, linting and formattingyarn build
You need to make sure your user is correctly authorized to publish to our NPM org, and set up with 2fa
Increment version with npm version [semver-version]
, documentation from NPM:
npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git]
You can also use yarn version
npm publish
FAQs
Library for creating an ID from an URL.
The npm package @aller/external-id receives a total of 151 weekly downloads. As such, @aller/external-id popularity was classified as not popular.
We found that @aller/external-id 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
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.