Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Not detecting malicious npm package #599

Description

@danbarr

Describe the issue

In this code snippet, CodeGate is not detecting the malicious coloramajs package:

constfs=require('fs');constcolorama=require('coloramajs');

I tested with both Copilot and Continue, it's missed with both.

Steps to Reproduce

Add the above snippet to a file and use it as context to a prompt.

Operating System

MacOS (Arm)

IDE and Version

VS Code 1.96.3

Extension and Version

Copilot and Continue

Provider

GitHub Copilot

Model

Any

Logs

No response

Additional Context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions