7.8 HIGH
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Local (L)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): Required (R)
- Scope (S): Unchanged (U)
- Confidentiality (C): High (H)
- Integrity (I): High (H)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Local (L)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): Required (R)
- Modified Confidentiality (MC): High (H)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): High (H)
- Modified Availability (MA): High (H)
Activity log
- Created suggestion
rtk: Permission-gate bypass in rtk rewrite auto-allow via unsplit shell separators
rtk filters and compresses command outputs before they reach your LLM context. Prior to 0.42.2, the permission splitter did not conservatively split or reject several shell constructs that Bash treats as command execution boundaries or nested execution. As a result, a command beginning with an allowed prefix such as git could hide a second command behind one of these constructs. rtk rewrite returned exit code 0, causing the Claude hook to emit permissionDecision: "allow". The rewritten command still contained the hidden command, so it ran without the user confirmation or denial that the permission rules were intended to enforce. This vulnerability is fixed in 0.42.2.
References
-
https://github.com/rtk-ai/rtk/security/advisories/GHSA-7gxq-fvfc-g327 x_refsource_CONFIRM
Affected products
- ==< 0.42.2
Matching in nixpkgs
pkgs.rtk
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands
pkgs.mirtk
Medical image registration library and tools
-
nixos-unstable 2.0.0-unstable-2025-02-27
- nixpkgs-unstable 2.0.0-unstable-2025-02-27
- nixos-unstable-small 2.0.0-unstable-2025-02-27
-
nixos-26.05 2.0.0-unstable-2025-02-27
- nixos-26.05-small 2.0.0-unstable-2025-02-27
- nixpkgs-26.05-darwin 2.0.0-unstable-2025-02-27
pkgs.rtkit
Daemon that hands out real-time priority to processes
pkgs.exprtk
C++ Mathematical Expression Toolkit Library
pkgs.rtklib-ex
Open Source Program Package for GNSS Positioning
pkgs.pkgsRocm.mirtk
Medical image registration library and tools
-
nixos-unstable 2.0.0-unstable-2025-02-27
- nixpkgs-unstable 2.0.0-unstable-2025-02-27
- nixos-unstable-small 2.0.0-unstable-2025-02-27
-
nixos-26.05 2.0.0-unstable-2025-02-27
- nixos-26.05-small 2.0.0-unstable-2025-02-27
- nixpkgs-26.05-darwin 2.0.0-unstable-2025-02-27
pkgs.rtl8761b-firmware
Firmware for Realtek RTL8761b
pkgs.gtklock-virtkb-module
Gtklock module adding a keyboard to the lockscreen
-
nixos-unstable 0-unstable-2025-02-27
- nixpkgs-unstable 0-unstable-2025-02-27
- nixos-unstable-small 0-unstable-2025-02-27
-
nixos-26.05 0-unstable-2025-02-27
- nixos-26.05-small 0-unstable-2025-02-27
- nixpkgs-26.05-darwin 0-unstable-2025-02-27
pkgs.indi-3rdparty.indi-rtklib
Third party drivers for the INDI astronomical software suite
-
nixos-unstable 3rdparty-indi-rtklib-2.2.0
- nixpkgs-unstable 3rdparty-indi-rtklib-2.2.0
- nixos-unstable-small 3rdparty-indi-rtklib-2.2.0
-
nixos-26.05 3rdparty-indi-rtklib-2.2.0
- nixos-26.05-small 3rdparty-indi-rtklib-2.2.0
- nixpkgs-26.05-darwin 3rdparty-indi-rtklib-2.2.0
pkgs.python312Packages.cexprtk
None
pkgs.python313Packages.cexprtk
Mathematical expression parser, cython wrapper
Package maintainers
-
@Aleksanaa Aleksana QwQ <me@aleksana.moe>
-
@returntoreality Linus Karl <linus@lotz.li>
-
@sheepforce Phillip Seeber <phillip.seeber@googlemail.com>
-
@bcdarwin Ben Darwin <bcdarwin@gmail.com>
-
@onny Jonas Heinrich <onny@project-insanity.org>
-
@Gliczy Gliczy
-
@skaphi Oskar Philipsson <oskar.philipsson@gmail.com>
-
@milibopp Emilia Bopp <contact@ebopp.de>
-
@GaetanLepage Gaetan Lepage <gaetan@glepage.com>