Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Heward is a module bundler and deployment tool for Roll20
Roll20 is a virtual tabletop application that allows pen-and-paper games to be played online. As part of this experience, Roll20 Pro Users are able to write their own scripts for interacting with the application, ranging from simple macros to complex chat bots and campaign tool managers. These scripts run within the Roll20 API Sandbox, a restricted Node.js virtual machine, and have limitations imposed on them for security or simplicity reasons.
User-created scripts on Roll20 are created and edited from within a browser-based editor with limited capabilities that present serious difficulties for writing and maintaining larger scripts, especially those that would traditionally be broken into several Node.js's modules. Heward solves this problem by serving as a compilation and deployment tool for Roll20, allowing you to write JavaScript in your favorite IDE and deploy to Roll20 as if it were a cloud computing provider.
Install with npm:
npm install --save-dev heward
Install with yarn:
yarn add heward --dev
After installing heward
, you'll need to setup a .env file in your project root. This should contain the following:
# The Roll20 ID for your campaign
ROLL20_CAMPAIGN=
# Your Roll20 username
ROLL20_USERNAME=
# Your Roll20 password
ROLL20_PASSWORD=
With that setup, you can now run heward
from the command line:
heward --script ./src/index.js
Heward will compile your script using babel-transform-roll20 and then deploy it to the Roll20 API Sandbox as heward.js
. Subsequent deployments of Heward will automatically overwrite your script and restart the sandbox, allowing you the freedom to write and deploy from your local machine.
FAQs
A roll20 script build and deployment tool.
The npm package heward receives a total of 0 weekly downloads. As such, heward popularity was classified as not popular.
We found that heward demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.