-
empytoken.py
```
foo_pattern = re.compile("(foo).?(variant)?[:-]?", re.IGNORECASE)
bar = foo_pattern.sub("", bar).strip()
```
```
$ semgrep -c 'r/python.lang.security.audit.regex-dos' emptytok…
-
Hi team,
Thank you for maintaining this repository of semgrep rules!
I've noticed that the semgrep registry https://semgrep.dev/p/trailofbits is a bit outdated compared to this github repo. For…
-
**Describe the bug**
Trying to set up a pre-commit hook like below:
```
hooks:
- repo: https://github.com/returntocorp/semgrep
rev: 'v0.80.0'
- id: semgrep
name: Validate …
-
### Issue Summary
I'm working on a fork of wagtail, trying to make a commit with pre-commit installed.
When it comes to initialising the environment for ruff-pre-commit, I see the following err…
-
The [readme in semgrep-rules says](https://github.com/returntocorp/semgrep-rules#how-do-i-use-these-rules):
> you can also pull directly from the registry by specifying `r/`
Therefore, I expect …
-
This issue collects various links to useful Semgrep resources and documentation in one place so you can reference it if you ever get stuck.
* [semgrep.dev](https://semgrep.dev/) - Semgrep's home page…
-
This issue collects various links to useful Semgrep resources and documentation in one place so you can reference it if you ever get stuck.
* [semgrep.dev](https://semgrep.dev/) - Semgrep's home page…
-
This issue collects various links to useful Semgrep resources and documentation in one place so you can reference it if you ever get stuck.
* [semgrep.dev](https://semgrep.dev/) - Semgrep's home page…
-
This issue collects various links to useful Semgrep resources and documentation in one place so you can reference it if you ever get stuck.
* [semgrep.dev](https://semgrep.dev/) - Semgrep's home page…
-
root@template:~/hexagonal-clean-architecture# docker run --rm -v "${PWD}:/src" returntocorp/semgrep semgrep scan --config auto
METRICS: Using configs from the Registry (like --config=p/ci) reports …