
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.
@owlnext/heimdall-js
Advanced tools
Heimdall API client & utils for javascript technologies.
To use this client, you must first have an admin user on the Heimdall API.
npm -i --save @owlnext/heimdall-js
import Heimdall from '@owlnext/heimdall-js'
// first, authenticate your Heimdall client
const heimdall: Heimdall = new Heimdall();
heimdall.authenticate({
login: '<your login>',
password: '<your password>',
application_uuid: '<your application UUID>'
});
// check if the client is authenticated
if(true === heimdall.isAuthenticated()) {
// ...
}
// check the user connected
if('my_user_login' === heimdall.api.getCurrentLoggedIn()) {
// ...
}
// encrypt a file with a new key
let encrypted: string;
heimdall.createKey(['<a group iri>']).then(key => {
heimdall.getCipherKey(key.id).then(cipher => {
encrypted = heimdall.encrypt('<your message>', cipher.cipherKey);
});
});
// decrypt a file
let decrypted: string;
heimdall.getCipherKey('<key id>').then(cipher => {
decrypted = heimdall.decrypt('<your encrypted message>', cipher.cipherKey);
});
Note: You also have access to the full API implementation with the
api
getter from theHeimdall
object.
FAQs
Heimdall API client & utils for javascript technologies
The npm package @owlnext/heimdall-js receives a total of 1 weekly downloads. As such, @owlnext/heimdall-js popularity was classified as not popular.
We found that @owlnext/heimdall-js demonstrated a not healthy version release cadence and project activity because the last version was released 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.