Skip to content

[Custom Engine Test] Test Pull Request - Custom Engine Safe Output - #385

Closed
github-actions[bot] wants to merge 1 commit into
mainfrom
test-safe-outputs-custom-engine/16aeff96e30ebcfe
Closed

[Custom Engine Test] Test Pull Request - Custom Engine Safe Output#385
github-actions[bot] wants to merge 1 commit into
mainfrom
test-safe-outputs-custom-engine/16aeff96e30ebcfe

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Test Pull Request - Custom Engine Safe Output

This pull request was automatically created by the test-safe-outputs-custom-engine workflow to validate the create-pull-request safe output functionality.

Changes Made

  • Created test file with timestamp
  • Demonstrates custom engine file creation capabilities

Test Information

  • Engine: Custom (GitHub Actions steps)
  • Workflow: test-safe-outputs-custom-engine
  • Trigger Event: issues
  • Run ID: 17492410722

This PR can be merged or closed after verification of the safe output functionality.

Generated by Agentic Workflow Run 17492410722

@github-actions
github-actionsBot deleted the test-safe-outputs-custom-engine/16aeff96e30ebcfe branch September 9, 2025 13:51
github-actionsBot added a commit that referenced this pull request Jan 2, 2026
…0600)
This commit addresses security alert #385 (gosec G306) in pkg/cli/commands.go.
The NewWorkflow function was creating workflow template files with overly
permissive file permissions (0644), making them world-readable. Workflow
files may contain sensitive information and should follow the principle
of least privilege.
Changes:
- Changed os.WriteFile permissions from 0644 to 0600 at line 155
- Added clarifying comment about restrictive permissions (owner-only)
- Workflow template files are now only readable/writable by the owner
Security Impact:
- Prevents unauthorized users from reading potentially sensitive workflow configurations
- Aligns with security best practices for file permission management
- Resolves gosec G306 rule violation
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@actions-user