
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@iota/client
Advanced tools
Node.js binding to the iota.rs client library.
$ npm i @iota/client
$ yarn add @iota/client
One of the following Node.js version: '14.x', '16.x', '18.x'
If there is no prebuilt binary available for your system you need Rust
and Cargo
, to build it yourself. Install them here.
Also for Linux libudev
is needed and can be installed with apt install libudev-dev
.
After you linked the library, you can create a Client
instance and interface with it.
const { Client, initLogger } = require('@iota/client');
async function run() {
initLogger();
const client = new Client({
nodes: ['https://api.testnet.shimmer.network'],
localPow: true,
});
try {
const nodeInfo = await client.getInfo();
console.log('Node info: ', nodeInfo);
} catch (error) {
console.error('Error: ', error);
}
}
run().then(() => process.exit());
FAQs
Node.js binding to the client library
The npm package @iota/client receives a total of 34 weekly downloads. As such, @iota/client popularity was classified as not popular.
We found that @iota/client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 12 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 uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.