Skip to content

Commit 642b200

Browse files
committed
Discontinued
1 parent 1663f23 commit 642b200

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
(discontinued) (2023-07-09)
2+
---------------------------
3+
Discontinued do to security issues without proper fixes.
4+
15
v3.9.19 (2023-05-16)
26
--------------------
37
[fix] Fix resolver issue.

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
# vm2 [![NPM Version][npm-image]][npm-url] [![NPM Downloads][downloads-image]][downloads-url] [![Package Quality][quality-image]][quality-url] [![Node.js CI](https://github.com/patriksimek/vm2/actions/workflows/node-test.yml/badge.svg)](https://github.com/patriksimek/vm2/actions/workflows/node-test.yml) [![Known Vulnerabilities][snyk-image]][snyk-url]
22

3-
vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. Securely!
3+
## Security Issues
4+
5+
Due to recent security issues which cannot be fixed properly I (XmiliaH) will stop maintaining this library.
6+
7+
**The library has known security issues which can be used to break out of the sandbox!**
8+
9+
For an alternative look into [isolated-vm](https://www.npmjs.com/package/isolated-vm).
10+
11+
<details>
12+
<summary>Do not use this library in production code!</summary>
13+
14+
vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. **NOT!** Securely!
415

516
## Features
617

@@ -401,6 +412,7 @@ vm2 ./script.js
401412

402413
## Known Issues
403414

415+
* **There are known security issues to circumvent the sandbox.**
404416
* It is not possible to define a class that extends a proxied class. This includes using a proxied class in `Object.create`.
405417
* Direct eval does not work.
406418
* Logging sandbox arrays will repeat the array part in the properties.
@@ -430,3 +442,5 @@ vm2 ./script.js
430442
[snyk-url]: https://snyk.io/test/github/patriksimek/vm2
431443
[integromat-image]: https://static.integromat.com/logo/45_text.png
432444
[integromat-url]: https://www.integromat.com
445+
446+
</details>

0 commit comments

Comments
 (0)