Seems correct, the payload is encrypted with AES and it seems that a package.json description is the passphrase but the issue author hasn't been able to decrypt it so far (for reasons listed in the issue).
Looks like they just cracked it in the comments - a bitcoin wallet stealer for an app that had it deep in the dependency tree.
It's attacking a particular package -- some package out there depends on ps-tree directly or indirectly, and its description is the secret key.
Which means there is a finite list to check, unless the package is something internal and not on npm.
from the github issue it looks like a couple people are working on that using publicly available lists, and they've even found a few valid decryption keys, but none that turn the payload into executable javascript
It's AES: Anything the right length will decrypt to something.
Aha: It's:
npm_package_description = 'A Secure Bitcoin Wallet';
Of course!
No one knows what it does but we do know that it seems to execute some encrypted bytecode. This seems remarkably unconventional and likely a good way to bundle malware.