
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
package-version-action
Advanced tools
GitHub Action to get the latest release version and a SHA suffix for unique versions.
This Action returns a recommend image name. For example, if you want to publish a new Docker image:
name: Docker CI
on:
workflow_dispatch:
jobs:
test:
name: Deploy to Docker
runs-on: ubuntu-latest
steps:
- name: Get package version
id: package-version
uses: koj-co/package-version-action@v1.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push to Docker
uses: docker/build-push-action@v2
with:
push: true
tags: username/anand:${{ steps.package-version.outputs.package-version }}
# -> username/anand:v1.23.21
| Output name | Description | Example value |
|---|---|---|
package-version | Latest release version | v2.23.1 |
package-version-timestamp | Version + unix timestamp | v2.23.1-1609693587 |
short-hash | Last commit hash | 1abc9c3 |
package-version-short-hash | Version + commit hash | v2.23.1-1abc9c3 |
package-version-random | Version + random string | v2.23.1-238a32ef21 |
date-hash | Date + commit hash | 2020-12-29-238a32ef21 |
date-time-hash | ISO datetime + commit hash | 2020-12-29T09:35:34.759Z-238a32ef21 |
An open source project by Koj.
Furnish your home in style, for as low as CHF175/month →
FAQs
GitHub Action to get the package.json version and a SHA suffix
The npm package package-version-action receives a total of 0 weekly downloads. As such, package-version-action popularity was classified as not popular.
We found that package-version-action 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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.