mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 07:35:48 +03:00
[PR #531] [MERGED] Ipa symlink rejection #594
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#594
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/531
Author: @rudrankriyam
Created: 2/14/2026
Status: ✅ Merged
Merged: 2/14/2026
Merged by: @rudrankriyam
Base:
main← Head:cursor/ipa-symlink-rejection-a2e3📝 Commits (1)
8e7819bHarden publish IPA handling against symlink paths📊 Changes
7 files changed (+191 additions, -3 deletions)
View changed files
➕
internal/asc/secure_open_other.go(+9 -0)➕
internal/asc/secure_open_unix.go(+14 -0)📝
internal/asc/upload.go(+22 -2)📝
internal/asc/upload_test.go(+30 -0)📝
internal/cli/cmdtest/commands_test.go(+66 -0)📝
internal/cli/publish/publish.go(+4 -1)➕
internal/cli/publish/publish_test.go(+46 -0)📄 Description
Summary
publishanduploadoperations to explicitly reject symlink paths, preventing potential security vulnerabilities.validateIPAPathnow usesos.Lstatto detect and refuse symlinks before upload.openUploadSourceFilehelper ininternal/ascthat usesO_NOFOLLOWon Unix-like systems and provides a secure fallback for other platforms to prevent following symlinks when opening upload sources.publish testflightandpublish appstorecommands.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.md🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.