Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@sphereon/ssi-sdk.data-store
Advanced tools
Warning: This package still is in very early development. Breaking changes without notice will happen at this point!
SSI-SDK data storage based on TypeORM. This package provides several plugins that relate to data storage.
A store that exposes simple store/get methods for contacts and identities.
A store that exposes simple store/get methods for issuer and credential branding.
A store that exposes simple store/get methods for event payloads.
yarn add @sphereon/ssi-sdk.data-store
yarn build
We use TypeORM migrations to support database changes over time. As soon as you need to update, add or delete information from entities, ensure that migration files are being created to reflect the updates.
Currently, we support migrations for sqlite databases, typically used during development and on mobile platforms. Next to that we also support Postgres. Obviously you need to have a Postgresql database at hand when working with Postgres.
yarn run typeorm-postgres:migration:generate NameOfYourMigration
yarn run typeorm-sqlite:migration:generate NameOfYourMigration
There is an example sqlite file in the root called migration.sqlite. We use the sqlite file to keep track of changes we made and to ensure there are no incidental changes by a developer changing an entity,
This file is kept up to date by applying the command: yarn typeorm-sqlite:migration:run
The same can be done for a local Postgres database using the command typeorm-postgres:migration:run
You can look at package.json or https://typeorm.io/migrations to apply migrations to your own database(s)
FAQs
Unknown package
We found that @sphereon/ssi-sdk.data-store 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.