
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
@apolitical/auth
Advanced tools
Browser (and Node.js) library to manage authentication using Auth0
Requires the following to run:
Install with yarn
:
yarn add @apolitical/auth
In the project directory, you can run:
yarn run test
Runs the test (and the interactive mode can be enabled with --watchAll
).
yarn build
Builds the library for production to the build
folder.
It correctly bundles the code on production mode and optimizes the build for the best performance.
yarn publish
Publishes the library to NPM.
The recommended way to use @apolitical/auth
is to set the context with the appropriate parameters:
const { setContext, runExample } = require('@apolitical/auth');
setContext({ origin: 'some-url' });
And then, you can query Contentful as you like:
runExample();
package.json
(effectively requiring the calling project to provide this dependency)package.json
. By default, only the library code is published, meaning that the Contentful library needs to be installed separatelyFAQs
Browser (and Node.js) library to manage authentication using Auth0
The npm package @apolitical/auth receives a total of 1 weekly downloads. As such, @apolitical/auth popularity was classified as not popular.
We found that @apolitical/auth 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
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.