You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tooling.apache.org by "andrewmusselman (via GitHub)" <gi...@apache.org> on 2026/02/25 18:55:58 UTC

[I] Distribution data model uses lax schema allowing extra fields (tooling-trusted-releases)

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

   **Source:** ASVS 2.2.2 Finding 5
   **CWE:** CWE-20 (Improper Input Validation)
   **Location:** `atr/models/distribution.py`, lines 65–76
   
   #### Description
   
   The distribution `Data` model uses `schema.Lax` configuration, which allows extra fields and provides no format validation on `package`, `version`, and `owner_namespace` fields.
   
   #### Recommendation
   
   - Migrate all of these from `schema.Lax` to `schema.Subset`


-- 
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: dev-unsubscribe@tooling.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org
For additional commands, e-mail: dev-help@tooling.apache.org


Re: [I] Distribution data model uses lax schema allowing extra fields (tooling-trusted-releases)

Posted by "alitheg (via GitHub)" <gi...@apache.org>.
alitheg closed issue #777: Distribution data model uses lax schema allowing extra fields
URL: https://github.com/apache/tooling-trusted-releases/issues/777


-- 
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: dev-unsubscribe@tooling.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org
For additional commands, e-mail: dev-help@tooling.apache.org