andrewmusselman opened a new issue, #728:
URL: https://github.com/apache/tooling-trusted-releases/issues/728

   **ASVS Reference:** 6.3.2 (Finding 3)
   
   ### Description
   
   A test email address (`[email protected]`) is unconditionally 
included in permitted voting and announcement recipients in `atr/util.py` (line 
91, lines ~531–550):
   
   ```python
   USER_TESTS_ADDRESS: Final[str] = "[email protected]"
   
   def permitted_voting_recipients(asf_uid: str, committee_name: str) -> 
list[str]:
       return [
           f"dev@{committee_name}.apache.org",
           f"private@{committee_name}.apache.org",
           USER_TESTS_ADDRESS,  # Always included regardless of environment
           f"{asf_uid}@apache.org",
       ]
   ```
   
   This means sensitive vote information could be sent to the test address in 
production.
   
   ### Recommendation
   
   Gate inclusion of `USER_TESTS_ADDRESS` behind `config.get().ALLOW_TESTS` for 
`alpha`-only.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to