Skip to content

fix: replace dangerous txtx install instructions with official docs#6

Merged
dev-jodee merged 1 commit intomainfrom
bugfix/txtx-command-name
Jan 30, 2026
Merged

fix: replace dangerous txtx install instructions with official docs#6
dev-jodee merged 1 commit intomainfrom
bugfix/txtx-command-name

Conversation

@dev-jodee
Copy link
Copy Markdown
Collaborator

Summary

  • Remove cargo install txtx command which pointed to unclaimed crates.io package (supply chain attack vector)
  • Update justfile to reference official txtx documentation at https://docs.txtx.sh/install
  • Update CI workflow to use official install script (curl -sL https://install.txtx.sh/ | bash)
  • Update cache configuration to use ~/.txtx instead of cargo directories

Background

The real txtx tool (from txtx.sh) is NOT published on crates.io. The crates.io package name "txtx" was unclaimed, making it a supply chain vulnerability. Users following the old instructions would have installed an attacker-controlled package if someone had claimed the name.

Test Plan

  1. Verify error message is shown when txtx is not installed: just check-txtx
  2. Review CI workflow changes to confirm proper installation method

Changed `cargo install txtx` to official install methods to prevent
supply chain attacks. The txtx package name on crates.io is unclaimed
and could be hijacked by attackers.

- justfile: direct users to https://docs.txtx.sh/install
- CI: use official curl install script instead of cargo install
@dev-jodee dev-jodee requested a review from amilz January 30, 2026 14:20
@dev-jodee dev-jodee merged commit 5b8b86f into main Jan 30, 2026
5 checks passed
@dev-jodee dev-jodee deleted the bugfix/txtx-command-name branch January 30, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants