
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
Yocto module to make payment with Atos - Wrapper for Sips Office Json Interface
This module is a part of yocto node modules for NodeJS.
Please see our NPM repository for complete list of available tools (completed day after day).
An utility tool to provide payment via Atos API
After each development, conclusion is the same : we need to create an utility tools with all our utility method to be able to reuse them in other program. That's why we create this utility tools.
Although this module was completed day after day.
All methods returned promise for success of fail
This wrapper use the two mode of Atos : 'sandbox' and 'live' The module must be loaded like this :
var atos = require('yocto-atos')();
atos.loadConfig({
// "sandbox" or "live"
mode : 'sandbox',
secretKey : '484GEF87A45AEAA87842634A684A354A643541AA',
config : {
currencyCode : '978',
keyVersion : 1,
}
}).then(function (config) {
console.log('success')
}).catch(function (error) {
console.log('error : ', error)
});
An Atos authorization payment permit you to capture payment during in period of 29 days. NB : Atos will honor the funds for a 6-day period after the basic authorization
To create payment with an credit card
var paymentData = {
amount : 123,
cardNumber : '559955995599559955',
cardExpiryDate : '201905',
cardCSCValue : '985',
merchantId : '1',
orderId : '57358b7fea9d4398641209e5', // optional
transactionReference : '57358b7fea9d4398641209e5', // optional
s10TransactionReference : { // optional
s10TransactionId : '777888899445566112233',
s10TransactionIdDate : '20050606'
}
};
atos.modules.creditCard.createAuthorization(paymentData).then(function (config) {
console.log('success')
}).catch(function (error) {
console.log('error : ', error)
});
TO capture an payment you should have an valid capture payment. The field "transactionReference" or "s10TransactionReference" should be set.
var captureData = {
operationAmount : 100,
merchantId : '1',
transactionReference : '57358b7fea9d4398641209e5',
s10TransactionReference : {
s10TransactionId : '777888899445566112233',
s10TransactionIdDate : '20050606'
}
};
atos.capturePayment(captureData).then(function (config) {
console.log('success')
}).catch(function (error) {
console.log('error : ', error)
});
An payment authorization can be void only if was previously captured and not sent to the bank. The field "transactionReference" or "s10TransactionReference" should be set.
var cancelData = {
transactionReference : '3aabcedaapfa1f33a00425aa8',
operationOrigin : 'my app',
merchantId : '1',
operationAmount : 974
s10TransactionReference : {
s10TransactionId : '777888899445566112233',
s10TransactionIdDate : '20050606'
}
}
atos.cancelPayment(cancelData).then(function () {
console.log('success')
}).catch(function (error) {
console.log('error : ', error)
});
FAQs
Yocto module to make payment with Atos - Wrapper for Sips Office Json Interface
The npm package yocto-atos receives a total of 6 weekly downloads. As such, yocto-atos popularity was classified as not popular.
We found that yocto-atos 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
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.