
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
ag-crud-rethink
Advanced tools
A realtime REST layer plugin for SocketCluster using RethinkDB as the database
Realtime CRUD data management layer/plugin for SocketCluster using RethinkDB as the database.
See https://github.com/SocketCluster/ag-crud-sample for a full working sample.
See https://github.com/SocketCluster/ag-crud-sample for sample app which demonstrates this component in action.
This module is a plugin for SocketCluster, so you need to have SocketCluster installed: https://socketcluster.io/ Once SocketCluster is installed and you have created a new project, you should navigate to your project's main directory and run:
npm install ag-crud-rethink --save
Now you will need to attach the plugin to your SocketCluster server - So open server.js
and pass the agServer
instance to the attach
function exposed by this module.
As shown in the sample above, you will need to provide a schema for your data. In the example above, the Category, Product, and User keys represent tables/models within RethinkDB - Inside each of these, you need to declare what fields are allowed and optionally the views which are supported for each model type.
Simply put, a view is an ordered, filtered subset of all documents within a table. Views need to define a filter
and/or order
function
which will be used to construct the view for table's data.
FAQs
A realtime REST layer plugin for SocketCluster using RethinkDB as the database
The npm package ag-crud-rethink receives a total of 2 weekly downloads. As such, ag-crud-rethink popularity was classified as not popular.
We found that ag-crud-rethink demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.