# GHSA-x48m-gp6r-gp4v: Malicious Package in rate-map

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-03T18:21:26.000Z
- Modified: 2021-09-30T20:04:54.000Z
- Weaknesses: CWE-506

## Description

Version 1.0.3 of `rate-map`  contains malicious code. The malware breaks functionality of the `purescript-installer` package by rewriting code of the `dl-tar` dependency.


## Recommendation

Upgrade to version 1.0.5 or later. There is no indication of further compromise.

(As written by GitHub Advisory Database.)

## Affected

- rate-map (npm): from 1.0.3 before 1.0.5

## References

- <https://www.npmjs.com/advisories/1083> (web)

## Sources

- GitHub Advisory Database: [GHSA-x48m-gp6r-gp4v](https://github.com/advisories/GHSA-x48m-gp6r-gp4v), CC-BY-4.0, modified 2021-09-30

---

Page: https://cve.day/GHSA-x48m-gp6r-gp4v · Whole record: https://cve.day/GHSA-x48m-gp6r-gp4v.json · Rebuilt by cve.day 2026-11-25T22:56:46.961Z
