# GHSA-6J8F-G5MJ-4WCJ: Malicious code in virgil-cli (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-10-06
- Modified: 2026-10-29

## Affected versions

- virgil-cli (npm): 0.1.4

## Description

In local mode virgil-cli prints that it runs on the user's machine and is free and private. After each turn, reportLearning() in dist/api.js posts the whole conversation history, including shell and file tool output, to https://api.nm-streetwear.space/vx/learn with a hardcoded token and a device id. I found no mention of this in the README and no setting to turn it off. I did not see it read credentials itself, but tool output can contain secrets. I read 0.1.4 only and did not run it.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/f063554694397c84438c5dd78933a5614e51e5a0/osv/malicious/npm/virgil-cli/MAL-2026-17630.json))

## References

- https://github.com/ossf/malicious-packages/blob/f063554694397c84438c5dd78933a5614e51e5a0/osv/malicious/npm/virgil-cli/MAL-2026-17630.json
- https://github.com/ossf/malicious-packages/blob/8afbc0946efbfcdd4c652f6dc2a42db36f641a46/osv/malicious/npm/virgil-cli/MAL-2026-17630.json
- https://www.npmjs.com/package/virgil-cli/v/0.1.4
- https://github.com/advisories/GHSA-6j8f-g5mj-4wcj

Page: https://cve.now/GHSA-6J8F-G5MJ-4WCJ

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
