Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add recent reports #776

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add recent reports #776

wants to merge 2 commits into from

Conversation

poppysec
Copy link
Contributor

No description provided.

Signed-off-by: poppysec <[email protected]>
osv/malicious/npm/cscchalk/MAL-0000-cscchalk.json Outdated Show resolved Hide resolved
{
"package": {
"ecosystem": "npm",
"name": "ethchained"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain more why this package is considered malicious?

It is definitely suspicious, but doesn't execute the problematic code, except if the file is excuted directly by passing it to node.js.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My original thinking was that in the package.json for this file the script eth.js with the malicious functionality is defined as the entrypoint via main.
"main": "/docs.wrm/basics/eth.js",
The archiving/exfiltration functions are the exports of eth.js

module.exports = {
    initiateExodusBackup,
    getLocalIpAddress,
    getPublicIpAddress,
    getExodusWalletDir,
    createBackupZip
};

Hence I thought upon import of the package itself, the functions are executed. But yes you are right unless it's executed like node /docs.wrm/basics/eth.jsit won't send to the ngrok endpoint. I still think there's no good reason to have that in there, but I'm fine to remove the report if you think it doesn't pass the threshold of malicious.

Signed-off-by: poppysec <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants