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 04:05:32 UTC
[I] Semgrep XML security rules in pre-commit (tooling-trusted-releases)
andrewmusselman opened a new issue, #764:
URL: https://github.com/apache/tooling-trusted-releases/issues/764
**ASVS:** 1.5.1 | **Severity:** MEDIUM | **Effort:** Low
### Description
In `.pre-commit-heavy.yaml` (lines ~34–35), two Semgrep rules that detect unsafe XML parsing are explicitly excluded:
```yaml
- --exclude-rule=python.lang.security.use-defused-xml-parse.use-defused-xml-parse
- --exclude-rule=python.lang.security.use-defused-xml.use-defused-xml
```
This creates a blind spot in the CI security pipeline — new unsafe XML parsing patterns will not be flagged.
### Remediation
Inform runbook to exclude semgrep from its areas of concern
--
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] Semgrep XML security rules in pre-commit (tooling-trusted-releases)
Posted by "andrewmusselman (via GitHub)" <gi...@apache.org>.
andrewmusselman commented on issue #764:
URL: https://github.com/apache/tooling-trusted-releases/issues/764#issuecomment-4027593104
Tracked in https://github.com/apache/tooling-runbooks/issues/13
--
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
Re: [I] Semgrep XML security rules in pre-commit (tooling-trusted-releases)
Posted by "andrewmusselman (via GitHub)" <gi...@apache.org>.
andrewmusselman closed issue #764: Semgrep XML security rules in pre-commit
URL: https://github.com/apache/tooling-trusted-releases/issues/764
--
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