
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
An tool for maintaining the versioned schemas in a postgresql database.
Version DB creates a single table (versiondb.version
) in the target database
that tracks which version of each product's database schema resides in the
database. Every time it is run, it checks what version of a product's database
schema is on the database, checks the schema file, and runs all of the scripts
required to bring the database schema up to the latest version.
If a product does not exist in the database, all of the scripts will be run on the database to create a schema that is the latest version.
npm install -g versiondb
To check what schemas are currently installed on a database
versiondb ls
To run upgrade scripts for a product
versiondb run path/to/my/awesome/product/schema.yaml
Schema files are written in YAML.
product: my-product
versions:
- version: "1.0"
tasks:
- name: Create tables
script: 1.0/tables.sql
- name: Create functions
script: 1.0/functions.sql
- name: Create users
script: 1.0/users.sql
- version: "1.1"
tasks:
- name: Tables and functions that support the new wizbang feature
script: 1.1/wizbang.sql
- name: Tables and functions that support the new foobar feature
script: 1.1/foobar.sql
The scripts are referenced relative the schema file. Versions are considered
ordered by the order that they are in the schema file. (E.g., versiondb
does
not do semver ordering or alphabetical ordering. It considers one version to be
after another version if it appears lower in the schema file.)
FAQs
A tool to version database schemas, upgrades, and migrations
We found that versiondb 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.