
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
Payment npm module from MiTec to help chatbots developers to implement a payment gateway
( You will need production credentials to make valid payments, contact us https://www.mitec.com.mx/ )
npm install pgs --save
demo.js
var pgs = require('pgs');
try{
/*Set the endpoint (OPTIONAL) - Use to change between production (default) and sandbox*/
pgs.setEndpoint("https://sandbox.mit.com.mx/");
/* Cipher config for communication between the app and the gateway (REQUIRED)*/
pgs.setCipher({
"id":"0000000001",
"key":"82A15AEEBFFCCC911F798BB6CFCCE7E2"
});
/* Your credentials (REQUIRED)*/
pgs.setBussiness({
"id_company":"0001",
"id_branch":"1000",
"user":"DEMO",
"pwd":"DEMO01"
});
/* Description/label of the payment (REQUIRED)*/
pgs.setReference('AAA123');
/* Amount of the payment (REQUIRED)*/
pgs.setAmount('25.00');
/*Set debug flag (OPTIONAL), default: false*/
pgs.setDebug(true);
pgs.callAPI(function(url){
/* Result URL */
console.log( url );
});
} catch (err) {
console.error("Error:", err );
}
FAQs
Pay with PGS - Mitec
We found that pgs 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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.