
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.
Define a schema for your JSON API resources and your relational database... at the same time!
Pairs nicely with @twuni/pg.
$ npm install jarm
$ yarn add jarm
import { Pool } from 'pg';
import PostgreSQL from '@twuni/pg';
import { Store } from 'jarm';
const schema = {
columns: [
{
attribute: 'favoriteColor',
column: 'favorite_color',
type: 'text'
}
],
id: {
column: 'id',
type: 'text'
},
relationships: [
{
columns: [
{
attribute: 'id',
column: 'related_id',
type: 'text'
},
{
attribute: 'type',
column: 'related_type',
type: 'text'
}
],
name: 'owner',
table: 'r_widgets_owner'
}
],
resource: 'widget',
table: 'widgets'
};
const store = new Store(schema);
new PostgreSQL(Pool).connect().then(({ disconnect, write }) => {
write(async (query) => {
await store.createSchema()(query);
const resource = {
attributes: {
favoriteColor: 'blue'
},
id: 'Cba...987',
relationships: {
owner: {
data: {
id: 'Abc...789',
type: 'user'
}
}
},
type: 'widget'
};
await store.createResource(resource)(query);
});
});
FAQs
Jarm is JSON-API Relational Mapping -- an ORM layer for Node.js apps.
The npm package jarm receives a total of 0 weekly downloads. As such, jarm popularity was classified as not popular.
We found that jarm 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.