
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
flowhub-registry
Advanced tools
This library provides easy access to the Flowhub runtime registry. It is intended to be used by Flow-Based Programming Protocol compatible clients to register themselves available for Flowhub users.
Usage:
const flowhub = require('flowhub-registry');
// Prepare runtime information
const rt = new flowhub.Runtime({
// Human-readable label for the runtime
label: 'My home NoFlo system',
// Unique identifier of the runtime instance (must be valid UUID)
id: '754c5dc0-97e9-11e3-a5e2-0800200c9a66',
// Flowhub user that should have access to the runtime (must be valid UUID)
user: '89454800-97e9-11e3-a5e2-0800200c9a66',
// Protocol to be used, eg. websocket, iframe, or webrtc
protocol: 'websocket',
// URL to the runtime
address: 'ws://some.server.address:3569',
// Type of the runtime, eg. noflo-nodejs or microflo
type: 'noflo-nodejs',
// Secret string for the user to utilize for communication (optional)
secret: 'C6sxubeP22u4'
});
// Register the Runtime with Flowhub
rt.register(function (err, ok) {
if (err) {
alert('Registration failed');
}
});
In addition to registering the runtime, it is a good idea to periodically ping Flowhub to let the user know that the runtime is still available.
setInterval(function () {
rt.ping();
}, 5 * 60 * 1000);
If you have access to the user's OAuth token you can also remove a registered runtime:
rt.del('nch9138ohf2892fhgf92g8f942fh2938gf3', function (err, ok) {
});
FAQs
Flowhub runtime registry API
We found that flowhub-registry demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.