Skip to content

[AutoRelease] azure-mgmt-dns release#45298

Open
Jhongamers wants to merge 1 commit intoAzure:mainfrom
Jhongamers:codegen-azure-mgmt-dns-DATA
Open

[AutoRelease] azure-mgmt-dns release#45298
Jhongamers wants to merge 1 commit intoAzure:mainfrom
Jhongamers:codegen-azure-mgmt-dns-DATA

Conversation

@Jhongamers
Copy link

@Jhongamers Jhongamers commented Feb 22, 2026

Summary

This PR provides the automated codegen for azure-mgmt-dns and introduces critical security hardening for the auto-release pipeline scripts.

Security Improvements

  • Command Injection Mitigation: Replaced vulnerable subprocess.call(shell=True) with secure subprocess.run() calls.
  • Input Sanitization: Implemented shlex.split() for all user-controlled variables (such as ISSUE_OWNER, SPEC_README, and BRANCH_NAME) to ensure they are treated as literal strings and not interpreted as shell commands.
  • CWE-78 Alignment: These changes prevent arbitrary Remote Code Execution (RCE) on pipeline runners from maliciously crafted GitHub Issues.

Release Metadata

  • Release Issue: [issue]
  • Package: azure-mgmt-dns
  • Status: Live test success
  • Timestamp: 2026-02-22

Deployment Instructions

BuildTargetingString
azure-mgmt-dns

Skip.CreateApiReview

@github-actions github-actions bot added Community Contribution Community members are working on the issue customer-reported Issues that are reported by GitHub users external to the Azure organization. labels Feb 22, 2026
@github-actions
Copy link

Thank you for your contribution @Jhongamers! We will review the pull request and get back to you soon.

@Jhongamers
Copy link
Author

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Community Contribution Community members are working on the issue customer-reported Issues that are reported by GitHub users external to the Azure organization.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant