Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
zeRusski's little helpers
> npm install ze-helpers
var pp = require("ze-helpers").prettyPrint;
pp(ast, {prompt: "ast"}); //where ast is some object
// or you can write into a string
pp(ast, {stringify: true});
Sample output looks like this:
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
ast
[ 'stmts',
[ 'stmt',
[ 'spacesAndComments', [] ],
[ 'template',
[ [ 'commaList',
[ 'pred',
[ 'block',
[ [ 'spacesAndComments', [] ],
[ 'name', 'block' ],
[ 'spacesAndComments', [ [ 'spaces', ' ' ] ] ],
[ 'value', [ 'string', 'logo' ] ],
[ 'spacesAndComments', [ [ 'spaces', ' ' ] ] ] ] ] ] ],
[ 'spacesAndComments', [] ],
[ 'templateBlock',
[ 'stmts',
[ 'stmt',
[ 'spacesAndComments', [ [ 'spaces', '\n ' ] ] ],
[ 'template',
[ [ 'commaList',
[ 'pred',
[ 'stdMode',
[ 'spacesAndComments', [] ],
[ 'name', 'tag' ],
[ 'spacesAndComments', [] ] ] ] ],
[ 'spacesAndComments', [] ],
[ 'body',
[ [ 'spacesAndComments', [ [ 'spaces', ' ' ] ] ],
[ 'literal', [ 'string', '\'', [ 'i', 'm', 'g' ] ] ],
[ 'spacesAndComments',
[ [ 'spaces', ' ' ],
[ 'comment', '// end of line comment' ],
[ 'spaces', '\n ' ] ] ] ] ] ] ],
[ 'stmtEnd' ],
[ 'spacesAndComments', [] ] ],
[ 'stmt',
[ 'spacesAndComments', [] ],
[ 'template',
[ [ 'commaList',
[ 'pred',
[ 'stdMode',
[ 'spacesAndComments', [] ],
[ 'name', 'attrs' ],
[ 'spacesAndComments', [] ] ] ] ],
[ 'spacesAndComments', [] ],
[ 'body',
[ [ 'spacesAndComments', [ [ 'spaces', ' ' ] ] ],
[ 'literal',
[ 'bracketedExpr',
[ 'spacesAndComments', [] ],
[ 'obj',
[ 'commaList',
[ 'objItem',
[ 'spacesAndComments', [] ],
[ 'name', 'alt' ],
[ 'spacesAndComments', [] ],
[ 'spacesAndComments', [ [ 'spaces', ' ' ] ] ],
[ 'string', '\'', [ 'l', 'o', 'g', 'o' ] ],
[ 'spacesAndComments', [] ] ],
[ 'objItem',
[ 'spacesAndComments', [ [ 'spaces', ' ' ] ] ],
[ 'name', 'href' ],
[ 'spacesAndComments', [] ],
[ 'spacesAndComments', [ [ 'spaces', ' ' ] ] ],
[ 'string',
'\'',
[ 'h', 't', 't', 'p', ':', '/', '/', '.', '.', '.' ] ],
[ 'spacesAndComments', [] ] ] ] ],
[ 'spacesAndComments', [] ] ] ],
[ 'spacesAndComments',
[ [ 'spaces', ' ' ],
[ 'comment', '// another comment' ],
[ 'spaces', '\n' ] ] ] ] ] ] ],
[ 'stmtEnd', [ 'spacesAndComments', [] ] ],
[ 'spacesAndComments', [] ] ] ] ] ] ],
[ 'stmtEnd', [ 'spacesAndComments', [] ] ],
[ 'spacesAndComments', [] ] ] ]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
FAQs
zeRusski little helpers
The npm package ze-helpers receives a total of 1 weekly downloads. As such, ze-helpers popularity was classified as not popular.
We found that ze-helpers 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
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.