Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@energyweb/ddhub-client
Advanced tools
Used to communicate with Energyweb DDHUB messaging server
yarn add @energyweb/greenproof-ddhub-client
const client = new DDHubClient({
config: [
{
channelName: 'receive_input',
channelType: 'sub',
conditions: { roles: ['provider.roles.247.apps.energyweb.iam.ewc'], dids: [] },
encrypted: true,
topicName: 'data_provider',
topicVersion: '1.0.0',
},
{
channelName: 'send_results',
channelType: 'upload',
conditions: { roles: ['cache.roles.247.apps.energyweb.iam.ewc'], dids: [] },
encrypted: true,
topicName: 'result_provider',
topicVersion: '1.0.0',
},
],
ownerNamespace: '247.apps.energyweb.iam.ewc',
privateKey: 'fd055324f73...2ea45bc8114839e0703e185d',
ddhubUrl: 'https://client-gateway.energyweb.org/api/v2/',
});
await client.setup();
const [message] = await client.getMessages({
fqcn: 'receive_input',
amount: 1
})
const result = await someLogic(message);
await client.sendMessage({
fqcn: 'send_results',
payload: JSON.stringify(result),
transactionId: '1'
})
For questions and support please use Energy Web's Discord channel
Or reach out to us via email: 247enquiries@energyweb.org
The Energy Web Decentralized Operating System is a blockchain-based, multi-layer digital infrastructure.
The purpose of EW-DOS is to develop and deploy an open and decentralized digital operating system for the energy sector in support of a low-carbon, customer-centric energy future.
We develop blockchain technology, full-stack applications and middleware packages that facilitate participation of Distributed Energy Resources on the grid and create open market places for transparent and efficient renewable energy trading.
To learn about more about the EW-DOS tech stack, see our documentation.
For an overview of the energy-sector challenges our use cases address, go here.
For a deep-dive into the motivation and methodology behind our technical solutions, we encourage you to read our White Papers:
FAQs
Used to communicate with Energyweb DDHUB messaging server
The npm package @energyweb/ddhub-client receives a total of 0 weekly downloads. As such, @energyweb/ddhub-client popularity was classified as not popular.
We found that @energyweb/ddhub-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.