You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONSTITUTION.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,6 +79,7 @@ All code MUST consider security implications.
79
79
- Avoid running destructive commands without explicit user confirmation
80
80
- Use detect-secrets and gitleaks pre-commit hooks to prevent secret leakage
81
81
- Test code MUST NOT introduce vulnerabilities into the tested systems
82
+
- Use `utilities.path_utils.resolve_repo_path` to resolve and validate any user-supplied or parameterized file paths, preventing path-traversal and symlink-escape outside the repository root
82
83
- JIRA ticket links are allowed in PRs and commit messages (our Jira is public)
83
84
- Do NOT reference internal-only resources (Jenkins, Confluence, Slack threads) in code, PRs, or commit messages
84
85
- Do NOT link embargoed or security-restricted (RH-employee-only) tickets
0 commit comments