Skip to content

feat: onboarding aws-cloudformation-github-deploy action - #1

Merged
Raj-StepSecurity merged 2 commits into
mainfrom
release
Aug 18, 2026
Merged

Raj-StepSecurity merged 2 commits into
mainfrom
release

Conversation

@Raj-StepSecurity

Copy link
Copy Markdown
Collaborator

No description provided.

@Raj-StepSecurity Raj-StepSecurity added the review-required Request Claude AI code review on the PR label Aug 17, 2026
Comment thread src/utils.ts Resolved
@github-actions

Copy link
Copy Markdown
Contributor

PR Review

Action Type

Node-based — uses node24 runtime with dist/index.js as the entry point.


✅ Passed Checks

  • License: MIT license present with both original author (Amazon.com, Inc.) copyright and StepSecurity copyright.
  • action.yml: Present and well-structured. No author field (ignored per policy).
  • SECURITY.md: Present with correct contact email (security@stepsecurity.io).
  • FUNDING.yml: Not present. ✓
  • renovate.json: Not present. ✓
  • PULL_REQUEST.md: Not present. ✓
  • ISSUE_TEMPLATE folder: Not present. ✓
  • CHANGELOG.md: Not present. ✓
  • .vscode folder: Not present. ✓
  • Required workflows: Both .github/workflows/auto_cherry_pick.yml and .github/workflows/actions_release.yml are present.
  • README banner: StepSecurity maintained-action banner is present on line 1 of README.md.
  • README version tags: All usage examples reference step-security/aws-cloudformation-github-deploy@v2 (major version only — no full semver tags used).
  • Subscription check: Present in src/main.ts. Correctly calls https://agent.api.stepsecurity.io/v1/github/${process.env.GITHUB_REPOSITORY}/actions/maintained-actions-subscription.
  • Upstream value: upstream = 'aws-actions/aws-cloudformation-github-deploy' in src/main.ts correctly matches original-owner: "aws-actions" + repo-name: "aws-cloudformation-github-deploy" in auto_cherry_pick.yml.
  • package.json author: Set to "step-security". ✓
  • package.json repository: URL contains step-security. ✓
  • dist folder: Present with dist/index.js and chunked bundles. ✓
  • Build script: "build": "tsc" present in package.json scripts. ✓
  • actions_release.yml / audit_package.yml: Both contain script as an input. ✓

❌ Failed Checks

No failed checks detected.


⚠️ Warnings

  • Proxy URL logged to console (src/utils.ts:191,194): configureProxy() calls console.log with the raw proxy server string. If the proxy URL contains credentials (e.g. http://user:password@proxy.example.com:3128), those credentials will appear as plaintext in GitHub Actions workflow logs. Consider using core.debug() instead of console.log().
  • Unvalidated S3 URL construction (src/main.ts:259): The S3 template URL is built by string interpolation of the s3-bucket and s3-prefix inputs without prior sanitisation. AWS will reject invalid bucket names server-side, but explicit validation before URL construction would be more defensive.

🔒 Security Findings

  • Proxy credential exposure in logs (src/utils.ts:191,194): console.log statements print the full proxy URL. Proxy URLs with embedded credentials will be visible in plaintext in workflow logs. Use core.debug() or redact credentials before logging. (Inline comment posted on the diff.)

No other security issues found. Input validation is comprehensive (Zod schemas with strict mode enumeration), path handling uses path.join with the workspace root, and the subscription check correctly handles errors non-fatally for non-403 responses.


Summary

This is a clean onboarding PR — all required structure and policy checks pass. The only actionable finding is the proxy URL being logged via console.log, which risks exposing embedded credentials in workflow logs; switching to core.debug() is recommended before the action is published.

@Raj-StepSecurity
Raj-StepSecurity merged commit 396f7a5 into main Aug 18, 2026
8 checks passed
@Raj-StepSecurity
Raj-StepSecurity deleted the release branch August 18, 2026 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review-required Request Claude AI code review on the PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants