Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential Security Enhancements for python-docx #1481

Open
996627519 opened this issue Apr 1, 2025 · 0 comments
Open

Potential Security Enhancements for python-docx #1481

996627519 opened this issue Apr 1, 2025 · 0 comments

Comments

@996627519
Copy link

Hi python-docx Maintainers,
As open-source security is a growing concern, I'd like to suggest some improvements based on the OpenSSF Scorecard best practices:

• Token Permissions: Consider implementing explicit token permissions within the workflow to avoid over-permissioning vulnerabilities.
• Branch Protection & Code Review: Enabling branch protection rules and code reviews can minimize the risk of introducing vulnerabilities. Refer to your repository settings for configuration options.
• Static Application Security Testing (SAST): Implementing SAST tools can help detect vulnerabilities early in the development lifecycle.
• Dependency Update Tool: Utilizing a dependency update tool ensures your project uses the latest secure library versions.
• Security Policy: Defining a comprehensive security policy (SECURITY.md) with vulnerability reporting guidelines, coding standards, and response procedures is recommended.
• Packaging:Build and release official packages using the CI/CD pipeline.
• Code Review:Perform manual review before code merging.

For more information on specific checks, see the OpenSSF Scorecard documentation: Link to Documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant