
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
gn-api-sdk-node
Advanced tools
A nodejs module for integration of your backend with the payment services provided by Gerencianet.
:warning: This module is under development and is based on the new API that Gerencianet is about to release. It won't work in production by now.
$ npm install gn-api-sdk-node
Require the module:
var Gerencianet = require('gn-api-sdk-node');
Set your credentials and whether you want to use sandbox or not:
var options = {
client_id: 'your_client_id',
client_secret: 'your_client_secret',
sandbox: true
}
Instantiate the module passing your options:
var gerencianet = new Gerencianet(options);
Create a charge:
var chargeInput = {
items: [{
name: 'Product A',
value: 1000,
amount: 2
}]
}
gerencianet
.createCharge(chargeInput)
.then(console.log)
.catch(console.log)
.done();
To run the examples, clone this repo and install the dependencies:
$ git clone git@github.com:franciscotfmc/gn-api-sdk-node.git
$ cd gn-api-sdk-node/docs/examples
$ npm install
Set your oauth keys in credentials.js:
module.exports = {
client_id: 'your_client_id',
client_secret: 'your_client_secret'
}
Then run the example you want:
$ node createCharge.js
To run the test suite, first install the dependencies, then run npm test
:
$ cd gn-api-sdk-node/
$ npm install
$ npm test
0.0.8
FAQs
Module for integration with Gerencianet API
The npm package gn-api-sdk-node receives a total of 1,468 weekly downloads. As such, gn-api-sdk-node popularity was classified as popular.
We found that gn-api-sdk-node demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.