Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@kjanat/actions-shells

Latest version: v0.3.0

Overview

Last scanned
1 Dec 2026
Published
1 Dec 2026
npm package Publisher: kjanat
4 Versions
465 Downloads

Scan summary

@kjanat/actions-shells was last scanned on 1 Dec 2026 at version 0.3.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 4 versions; the latest was published on 1 Dec 2026.
  • Findings: No rules fired in version 0.3.0.
  • Downloads: 465 downloads.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.3.0 LATEST 1 Dec 2026 No rules fired
0.2.1 14 Nov 2026 No rules fired
0.2.0 14 Nov 2026 No rules fired
0.0.0-stage 14 Nov 2026 Not shown

No rules fired in 0.3.0

Findings

Findings for v0.3.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.3.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

actions-shells

More shells for run:.

GitHub Actions lets a step pick its interpreter with shell:. Out of the box that means bash, pwsh, python, and a few others. This action adds the rest: Rust, Go, Deno, Bun, Kotlin, Swift, C#, F#, Ruby, Perl, PHP, Lua, Julia, R, and MSYS2.

jobs:
  test:
    runs-on: ubuntu-latest
    defaults:
      run:
        shell: actions-shell rust-script {0}

    steps:
      - uses: dtolnay/rust-toolchain@stable
      - uses: taiki-e/install-action@v2
        with: { tool: rust-script }

      - uses: kjanat/actions-shells@v0.3.0

      - run: println!("hello, Actions");

      - run: |
          //! ```cargo
          //! [dependencies]
          //! serde_json = "1"
          //! ```
          fn main() {
            let value: serde_json::Value = serde_json::from_str(r#"{"hello":"world"}"#).unwrap();
            println!("{value}");
          }

      - run: |
          use std::process::Command;

          let status = Command::new("cargo").arg("test").status().unwrap();
          std::process::exit(status.code().unwrap_or(1));

Visual Studio on Windows

- uses: kjanat/actions-shells@<release-with-visual-studio-support>
- shell: actions-shell msvc {0}
  run: make '${{ env.MAKE_GOAL }}' WINDOWS_TOOLCHAIN=cl

msvc runs PowerShell with the Visual Studio C++ build environment. Use vs-cmd for batch syntax, or add --arch arm64 before {0} to cross-compile. Both profiles put temporary files on the workspace drive on GitHub Actions. See the Visual Studio guide.

How it works

GitHub writes the run: body to an extensionless temp file and substitutes its path for {0}. actions-shell <runtime> {0} turns that file into valid input for the runtime and execs it:

GitHub extensionless temp file
        ↓  (hardlink/copy to a sibling with the right extension, if the runtime needs one)
runtime  ←  correct flags, exit code and signals propagated, temp file cleaned up

That is the whole job. actions-shells does not:

  • install runtimes — use your project's tool manager or one of the setup options below;
  • rewrite your source — if a runtime needs fn main(), you write fn main();
  • need any GITHUB_* variables — actions-shell go ./script works on a laptop too.

Runtimes

See the runtime guides for examples, arguments, and prerequisites for each supported shell.

shell: Runs Setup Notes
actions-shell pwsh {0} pwsh -NoLogo -NoProfile -NonInteractive PowerShell 7.4+ Sets error preferences at invocation time; stops on PowerShell errors and failed native commands.
actions-shell msvc {0} Visual Studio Developer PowerShell Visual Studio C++ tools and PowerShell 7.4+ Alias for vs-pwsh. Windows only.
actions-shell vs-cmd {0} Visual Studio Developer Command Prompt Visual Studio C++ tools Windows batch syntax.
actions-shell bash {0} bash --noprofile --norc -euo pipefail Bash on the runner Stops on unhandled failures, unset variables and failing pipelines. Pass +u to allow unset variables.
actions-shell msys2 {0} msys2 shell helper MSYS2 setup Windows only. Keeps the environment selected by setup-msys2.
actions-shell rust-script {0} [rust-script] Rust and script tools Bare statements, fn main(), and embedded Cargo manifests. rust-script caches compiled artifacts.
actions-shell cross --target <triple> {0} rust-script --package + cross run Cross guide Inline Rust on another target. Linux host and local Docker or Podman required. Available since v0.2.0.
actions-shell cargo-script {0} cargo +nightly -Zscript Nightly Rust Requires fn main().
actions-shell rust {0} alias for rust-script Rust and script tools Pin rust-script when the exact backend matters.
actions-shell go {0} go build + exec mise go, or setup-go@v7 package main + func main(). Direct execution preserves os.Exit(n).
actions-shell deno {0} deno run --allow-all --ext=ts mise deno, or setup-deno@v2 TypeScript with all permissions enabled by the adapter.
actions-shell bun {0} bun run mise bun, or setup-bun@v2 TypeScript; input gets a .ts extension.
actions-shell node {0} node mise node, or setup-node@v7 JavaScript. Node.js selects the module type.
actions-shell kotlin {0} kotlinc -script mise: Java + Kotlin Requires a JDK as well as Kotlin. .main.kts supports @file:DependsOn.
actions-shell swift {0} swift Swift supplied by a macOS runner, or mise Swift Top-level code. CI exercises the macOS runner's installed Swift.
actions-shell csharp {0} dotnet run file.cs mise dotnet, or setup-dotnet@v6, SDK 10+ Top-level statements and #:package directives.
actions-shell fsharp {0} dotnet fsi mise dotnet, or setup-dotnet@v6 F# scripts.
actions-shell python {0} python3 / python mise python, or setup-python@v7 GitHub also has a built-in python shell.
actions-shell py3.11 {0} python3.11 / matching python3 or python setup-python@v7 with python-version: "3.11" Also python3.11; accepts any 3.MINOR selector and refuses other interpreter versions.
actions-shell uv-python {0} uv run mise uv, or setup-uv Alias uv; supports inline dependencies, --with, --python 3.11, and --no-project.
actions-shell uv-python3.11 {0} uv run --python 3.11 Same as above Any 3.MINOR selector; uv can download the requested Python.
actions-shell ruby {0} ruby setup-ruby@v1, or mise ruby setup-ruby provides prebuilt Rubies and Bundler caching.
actions-shell perl {0} perl actions-setup-perl@v1 Includes Windows support; mise perl is another option on supported platforms.
actions-shell php {0} php setup-php@v2 Handles PHP extensions and configuration. Start the script with <?php.
actions-shell lua {0} lua / lua5.4 / luajit mise: Lua CI tests Lua on Linux and macOS.
actions-shell julia {0} julia setup-julia@v3, or mise julia Julia scripts.
actions-shell r {0} Rscript r-lib/actions/setup-r@v2 Use the R community's setup action for R versions and package-repository configuration.

Aliases: rust→rust-script, js/javascript→node, ts/typescript→deno, cs→csharp, fs→fsharp, kt/kts→kotlin, rb→ruby, pl→perl, jl→julia, py→python, uv→uv-python, rscript→r.

actions-shell list prints this table from the binary itself.

Python through uv

Select Python with the runtime shorthand and declare dependencies in the script:

- shell: actions-shell uv-python3.11 {0}
  run: |
    # /// script
    # dependencies = ["idna==3.11"]
    # ///
    import idna
    print(idna.encode("münich.example").decode())

uv run uses the current project unless you pass --no-project. Inline script metadata gets its own dependency environment. actions-shell doctor uv checks uv; Python selection and downloads happen when uv runs the script.

Runtime setup

Use the tool versions already declared by your project. For a repository with mise.toml, jdx/mise-action@v5 installs those tools and exposes them to later steps:

- uses: actions/checkout@v7
- uses: jdx/mise-action@v5
- uses: kjanat/actions-shells@v0.3.0
  with: { doctor: true, runtimes: "kotlin, lua" }

For workflow-only configuration, the same action accepts mise_toml. This is the setup used for Kotlin and Lua in this repository's Linux/macOS CI:

- uses: jdx/mise-action@v5
  with:
    mise_toml: |
      [tools]
      java = "21"
      kotlin = "2.4.21"
      lua = "5.4"

Kotlin needs both java and kotlinc on PATH. The macOS CI job uses the Swift toolchain already installed on the runner. Use mise's Swift support when you need a selected Swift version. Check each mise backend's platform support when building a Windows matrix; the repository currently tests Lua on Linux/macOS and Swift on macOS.

The runtime table also links maintained language-specific actions. They are useful when you need features such as Bundler caching, PHP extensions, or R package-repository setup. Configure the language version explicitly, for example node-version: "24", dotnet-version: "10.0.x", or python-version: "3.14" with the corresponding action. Use one installation approach for each runtime. For reproducible workflows, pin action commit SHAs and commit your tool versions and lockfile; mise's CI guide covers locked installs.

Rust and script tools

dtolnay/rust-toolchain selects a rustup toolchain, and taiki-e/install-action@v2 installs the script executable:

- uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/install-action@v2
  with: { tool: "rust-script@0.36.0" }

For cargo-script, install dtolnay/rust-toolchain@nightly. For cross, install both cross and rust-script and provide a working container engine; the Cross guide gives the full setup and support scope. A project that already manages Rust through mise can keep that toolchain setup and install the script tools separately.

Usage

See the actions-rs CI workflow for a real-world example.

Per step:

- uses: actions/setup-go@v7
  with: { go-version: stable }
- uses: kjanat/actions-shells@v0.3.0

- shell: actions-shell go {0}
  run: |
    package main
    import "fmt"
    func main() { fmt.Println("hello from Go") }

Job-wide:

defaults: { run: { shell: "actions-shell deno {0}" } }
steps:
  - uses: denoland/setup-deno@v2
  - uses: kjanat/actions-shells@v0.3.0 # a `uses:` step, so the default shell does not apply to it
  - run: console.log(Deno.version.deno);

Runtime flags go between the runtime name and {0}, exactly as GitHub's command [options] {0} [more_options] contract allows:

- shell: actions-shell deno --no-check --allow-net {0}
- shell: actions-shell go -tags=integration {0}
Action inputs and outputs
Input Default Meaning
doctor false Print actions-shell doctor after install.
runtimes "" With doctor: true, fail the step unless these runtimes are ready, e.g. rust-script, go.
Output Meaning
bin-dir Directory holding the actions-shell shim (already on PATH).
cli Absolute path to the bundled cli.mjs.
version Installed version.
Introspection

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @kjanat/actions-shells

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229