
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Node.js npm module providing easy access to the retdec.com decompilation service through their REST API.
Retdec is decompiler that can be utilized for source code recovery, static malware analysis, etc. The decompiler is supposed to be not bounded to any particular target architecture, operating system, or executable file format.
######Features
You may install this plugin using this command:
$ npm install retdec
If you don't have a retdec API key, register here https://retdec.com/registration/ to get one
Once the plugin has been installed you must initilizate it with your API key.
var rdec = require('retdect');
var retdec = rdec.apiKey('YOUR_API_KEY_HERE');
or
var retdec = require('retdect').apiKey('YOUR_API_KEY_HERE');
A basic decompilation example:
var retdec = require('retdect').apiKey('YOUR_API_KEY_HERE');
retdec.decompile(process.argv[2], 'bin', null, function(err, res) {
if (err) {
console.log('Error (' + err + '): ' + res);
return;
}
console.log(res.hll.toString());
});
Note that this plugin relies on retdec official API, so outputs and arguments are defined by their API instead of by this module. For a better understanding of the API, please visit https://retdec.com/api/docs/index.html
####test(echoargs, callback)
This is a simple echo test to be able to check your API key. It will return the echoargs argument in the response.
Detailed doc at: https://retdec.com/api/docs/test.html
######echoargs Any object with any key/values is valid for echo test.
######callback The callback to be called once the response is ready
Sample
var retdec = require('retdect').apiKey('YOUR_API_KEY_HERE');
var testing = {
hola: 'adios',
dos: 2
};
retdec.test(testing, function(err, res) {
if (err) {
console.log('Error test: ' + res);
return;
}
console.log(res);
});
Sample output
$ node test-mine.js
{ dos: '2', hola: 'adios' }
####More doc comming soon...
FAQs
Retargetable Decompiler REST API for Intel x86, ARM, MIPS, PIC32, and PowerPC
The npm package retdec receives a total of 4 weekly downloads. As such, retdec popularity was classified as not popular.
We found that retdec 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.