
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.
@identity.com/dids
Advanced tools
This library is a simple client library for generating DIDs for use with Solana applications.
This library is a simple client library for generating DIDs for use with Solana applications.
It supports two DID methods:
To register a DID from a Solana public key:
const DIDs = require('@identity.com/dids');
const dids = new DIDs({ payer: payerAccount.secretKey });
const owner = new Account().publicKey;
const keyIdentifier = await dids.register('key', owner);
const solIdentifier = await dids.register('sol', owner);
To retrieve a DID document:
const identifier = 'did:key:z6MkszyYuyjZ31XZKXT4qdb5HqsWjAZGZoVvGzsoX1Tnno9s';
const document = await dids.get(identifier);
For more examples, see tests/index.test.ts
Note: Before contributing to this project, please check out the code of conduct and contributing guidelines.
nvm i
yarn
DIDS uses the mocha and chai test libraries
Run the tests using:
yarn test
Note: DIDS was bootstrapped and is packaged using TSDX, which includes Jest. Jest has a bug when importing some dependencies of this project, so mocha is used instead.
To test using the repl, run
yarn repl
Then try:
await dids.register('sol', new Account().publicKey)
await dids.register('key', new Account().publicKey)
await dids.get('<YOUR IDENTIFIER HERE>')
FAQs
This library is a simple client library for generating DIDs for use with Solana applications.
The npm package @identity.com/dids receives a total of 1 weekly downloads. As such, @identity.com/dids popularity was classified as not popular.
We found that @identity.com/dids demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.