
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
This repository contain abstraction layer for easy work with OCPP and validate input and output requests. Currently implemented only version 1.6 JSON. Whereas OCPP2.0 will support only JSON have no plans to implement SOAP.
npm install --save ocpp-eliftech
Open Charge Point Protocol (OCPP, http://www.openchargealliance.org/) is a communication protocol between multiple charging stations ("charge points") and a single management software ("central system").
Server
import { OCPPServer, OCPPCommands } from 'ocpp-eliftech';
const server = new OCPPServer();
server.listen(9220);
server.onRequest = async function(command) {
// Handle different commands
if (command instanceof OCPPCommands.BootNotification) {
return {
status: 'Accepted',
currentTime: new Date().toISOString(),
interval: 60
};
}
}
Client
import { OCPPClient, OCPPCommands } from 'ocpp-eliftech';
const client = new OCPPClient({
serverUrl: 'http://localhost:9220/webServices/ocpp/CP1111'
});
await client.connect();
const boot = new OCPPCommands.BootNotification({
chargePointVendor: 'BrandX',
chargeBoxSerialNumber: 'AQ1234VB5678',
chargePointSerialNumber: '123',
chargePointModel: '12'
});
let answer = await client.send(boot);
console.info(answer);
If you need professional support with your IOT projects contact us http://www.eliftech.com/.
FAQs
OCPP 1.6: Open Charge Point Protocol, Forked from ocpp-elifTech
The npm package ocpp-1.6j receives a total of 2 weekly downloads. As such, ocpp-1.6j popularity was classified as not popular.
We found that ocpp-1.6j 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
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.