6.9 MEDIUM
- CVSS version (CVSS): 4.0
- Attack Vector (AV): Local (L)
- Attack Complexity (AC): Low (L)
- Attack Requirement (AT): Present (P)
- Privileges Required (PR): None (N)
- User Interaction (UI): Active (A)
- Vulnerable System Impact Confidentiality (VC): None (N)
- Vulnerable System Impact Integrity (VI): High (H)
- Vulnerable System Impact Availability (VA): None (N)
- Subsequent System Impact Confidentiality (SC): High (H)
- Subsequent System Impact Integrity (SI): High (H)
- Subsequent System Impact Availability (SA): None (N)
- Modified Attack Vector (MAV): Local (L)
- Modified Attack Complexity (MAC): Low (L)
- Modified Attack Requirement (MAT): Present (P)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): Active (A)
- Modified Vulnerable System Impact Confidentiality (MVC): None (N)
- Modified Vulnerable System Impact Integrity (MVI): High (H)
- Modified Vulnerable System Impact Availability (MVA): None (N)
- Modified Subsequent System Impact Confidentiality (MSC): High (H)
- Modified Subsequent System Impact Integrity (MSI): High (H)
- Modified Subsequent System Impact Availability (MSA): Negligible (N)
- Safety (S): Not Defined (X)
- Automatable (AU): Not Defined (X)
- Recovery (R): Not Defined (X)
- Value Density (V): Not Defined (X)
- Vulnerability Response Effort (RE): Not Defined (X)
- Provider Urgency (U): Not Defined (X)
- Confidentiality Req. (CR): Not Defined (X)
- Integrity Req. (IR): Not Defined (X)
- Availability Req. (AR): Not Defined (X)
- Exploit Maturity (E): Not Defined (X)
Activity log
- Created suggestion
RTK improperly trusts project-local filter configuration, allowing silent tampering of command output shown to LLM
rtk filters and compresses command outputs before they reach your LLM context. Prior to 0.32.0, RTK (Rust Token Killer) improperly trusts project-local configuration files. RTK automatically loads .rtk/filters.toml from the working directory with highest priority and without user notification. An attacker can place a malicious filter file in a repository to apply regex-based modifications (e.g., strip_lines_matching) to shell command output before it is shown to the LLM, without any indication that the output has been modified. This allows attackers to selectively suppress or alter command output (including file contents, diffs, and security scan results) without detection, potentially concealing malicious code during AI-assisted development or review. This vulnerability is fixed in 0.32.0.
References
-
https://github.com/rtk-ai/rtk/security/advisories/GHSA-fvvm-949w-qj4w x_refsource_CONFIRM
-
https://github.com/rtk-ai/rtk/pull/623 x_refsource_MISC
-
https://github.com/rtk-ai/rtk/pull/625 x_refsource_MISC
Affected products
- ==< 0.32.0
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>