Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
@releai/rb-node-sdk
Advanced tools
RELE.AI Node SDK provides a simple interface to manage integrated applications
RELE.AI Node SDK provides an easy interface to manage, create, and integrate applications to Clara.
Please visit: https://github.com/rele-ai/cli
const { RBC } = require("@releai/rb-node-sdk")
// Initiate new releai bot client.
const rbc = new RBC({
appId,
appHash,
})
// send notification to endpoint
const response = await rbc.notify(
// send the operation key
"new_contact",
// send the payload
{
"foo": {
"bar": 1
}
},
// send additional headers
{
"example-header-key": "value"
}
)
// handle output - JSON
console.log(response)
const { format } = require("@releai/rb-node-sdk")
// format payload to gRPC struct format
const payload = format({
// payload
})
const { RBS } = require("@releai/rb-node-sdk")
// initiate the bot server
const rbs = new RBS({
appId,
appHash,
})
// Register operation handler for a given operation
rbs.registerOperation("record_note", async (req, res) => {
// do some logic here...
// reply with the payload data
res.send(200, {
// response payload
})
})
// run server
rbs.listen(50003)
FAQs
RELE.AI Node SDK provides a simple interface to manage integrated applications
The npm package @releai/rb-node-sdk receives a total of 5 weekly downloads. As such, @releai/rb-node-sdk popularity was classified as not popular.
We found that @releai/rb-node-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.