
Research
/Security News
Shai Hulud Strikes Again (v2)
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.
@heroku/release-static-artifacts
Advanced tools
Enable static web apps to build artifacts during Heroku Release Phase and read them in web/worker/run dynos.
npm module developed to support static site build in release phase. Each Heroku app release (v1,v2, etc.) gets its own bundle of static artifacts, based on the version number provided by Dyno Metadata.
During download, if the current release version's artifact is not found, then it will fallback to fetching the latest artifact (by S3's Last Modified property).
static-artifacts/ directorystatic-artifacts/ directoryAdd the package to the app:
npm install @heroku/release-static-artifacts
For a Yarn-managed app:
yarn --registry="https://registry.npmjs.org" add @heroku/release-static-artifacts
# Enable the library (currently Review Apps & Heroku CI are not supported)
export STATIC_ARTIFACTS_ENABLED=true
# Optional, force dynos to load the exact release version (do not fallback to latest)
export STATIC_ARTIFACTS_STRICT_MATCH=true
# AWS IAM credentials
export STATIC_ARTIFACTS_AWS_ACCESS_KEY_ID=xxxxx
export STATIC_ARTIFACTS_AWS_SECRET_ACCESS_KEY=yyyyy
# AWS S3 bucket name
export STATIC_ARTIFACTS_BUCKET=test-bucket
export AWS_REGION=us-east-1
# In Heroku release script
npx release-static-artifacts-upload
# In Heroku dyno startup script (.profile)
npx release-static-artifacts-download
FAQs
Enable static web apps to build artifacts during Heroku Release Phase and read them in web/worker/run dynos.
We found that @heroku/release-static-artifacts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 173 open source maintainers 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
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.