Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Pretty colorful cli logger for NodeJS(with table, success and more...)
#Installing ###git
$ git clone https://github.com/a8m/clog.git
###npm
$ npm install c-log --save
var clog = require('c-log');
//Simple logs with colors
logger.log("Lorem Ipsum...");
logger.info("Lorem Ipsum...");
logger.warn("Lorem Ipsum ..");
//Success and Error
function assert(expect, msg) {
return expect
? clog.success(msg)
: clog.error(msg);
}
//Clog.time/timeEnd
clog.time("fsRead");
//fake async
setTimeout(function(){
logger.timeEnd("fsRead")
},2000);
//Clog.table
var persons = [
{ name: 'Doris Fox', age: 20, isActive: false, balance: '$3,128.12' },
{ name: 'Mike Loks', age: 32, isActive: true, balance: '$12,132.1' },
{ name: 'Arle Sher', age: 12, isActive: false, balance: '$2,968.83' }
];
clog.table(persons);
/// Table Result:
╔═════════╤═══════════╤═════╤══════════╤═══════════╗
║ (index) │ name │ age │ isActive │ balance ║
╟─────────┼───────────┼─────┼──────────┼───────────╢
║ 0 │ Doris Fox │ 20 │ false │ $3,128.12 ║
╟─────────┼───────────┼─────┼──────────┼───────────╢
║ 1 │ Mike Loks │ 32 │ true │ $12,132.1 ║
╟─────────┼───────────┼─────┼──────────┼───────────╢
║ 2 │ Arle Sher │ 12 │ false │ $2,968.83 ║
╚═════════╧═══════════╧═════╧══════════╧═══════════╝
#License MIT <3
FAQs
Pretty colorful cli logger for NodeJS(with table, success and more...)
The npm package c-log receives a total of 17 weekly downloads. As such, c-log popularity was classified as not popular.
We found that c-log 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.