mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 23:55:51 +03:00
[PR #532] [MERGED] Cross-platform symlink security #596
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/App-Store-Connect-CLI#596
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/532
Author: @rudrankriyam
Created: 2/14/2026
Status: ✅ Merged
Merged: 2/14/2026
Merged by: @rudrankriyam
Base:
main← Head:cursor/cross-platform-symlink-security-cd97📝 Commits (2)
aad5d95Harden non-unix secure open with best-effort nofollow checks37d7b1aFormat secure open best-effort helper📊 Changes
5 files changed (+231 additions, -12 deletions)
View changed files
📝
README.md(+2 -0)📝
internal/cli/shared/junit_report_test.go(+1 -6)➕
internal/cli/shared/secure_open_best_effort.go(+91 -0)➕
internal/cli/shared/secure_open_best_effort_test.go(+128 -0)📝
internal/cli/shared/secure_open_other.go(+9 -6)📄 Description
Summary
secure_openpaths by addingsecure_open_best_efforthelper. This helper performs pre-openLstatsymlink rejection and post-open path/handle consistency checks to mitigate TOCTOU vulnerabilities whereO_NOFOLLOWis unavailable.secure_open_other.goto use this new hardened flow.README.mdto document platform-specific security behavior and TOCTOU limitations.Validation
make formatmake lintmake testWall of Apps (only if this PR adds/updates a Wall app)
docs/wall-of-apps.json(not the generated Wall block inREADME.mddirectly)make update-wall-of-appsdocs/wall-of-apps.jsonREADME.mdEntry template:
Common Apple labels:
iOS,macOS,watchOS,tvOS,visionOS.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.