
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
rib-client
Advanced tools
Rib-Client is a client library to access the Rib backend framework. This should be coupled with rib-server to create a simple real-time application. Rib-Client allows you to call server-side functions directly from the client.
For the official github, please click here.
let RibClient = require("rib-client").default // or import using the CDN https://unpkg.com/rib-client@[VERSION#]/lib/cdn.js
let myRib = new RibClient()
myRib.onConnect(async () => {
myRib.serverFunctions.logMessage("Runs the logMessage function server side 👨🏻💻")
console.log(await myRib.add(1, 2))
})
function sendMSG(msg) {
console.log(msg)
}
myRib.exposeFunctions([sendMSG]) // allows us to call sendMSG from the server
The default constructor takes two parameters:
1) urlNamespace // The server that you are connecting to
2) isSinglton // If true, the default value, each instentiation of RibClient will yeild the same object
onConnect: Function
Call a function after client connects to the server
onDisconnect: Function
Call a function when a client disconnects from the server
exposeFunction: Function
Expose a client side function that can be called from the rib server instance
exposeFunctions: Function
Expose an array of client side functions that can be called with a rib server instance
concealFunction: Function
Conceal a client side function where it can no longer be accessed from the server
concealFunctions: Function
Conceal client side functions where they can no longer be accessed from the server
concealFunctionsByKey: Function
Conceal client side functions by key to which they were exposed where they can no longer be accessed from the server
close: Function
Close the Rib client instance manually
FAQs
Client library to access the rib-server framework
The npm package rib-client receives a total of 38 weekly downloads. As such, rib-client popularity was classified as not popular.
We found that rib-client 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.