Skip to content

Commit f45e8ff

Browse files
committed
Update README's Semgrep rule list
1 parent 431fbd3 commit f45e8ff

File tree

2 files changed

+103
-2
lines changed

2 files changed

+103
-2
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 99 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ $ semgrep --config /path/to/semgrep-rules/hanging-goroutine.yml -o leaks.txt'
5151
5252
| ID | Playground | Impact | Confidence | Description |
5353
| -- | :--------: | :----: | :--------: | ----------- |
54-
| [eth-rpc-tracetransaction](go/eth-rpc-tracetransaction.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.go.eth-rpc-tracetransaction.eth-rpc-tracetransaction) | πŸŸ₯ | πŸŒ• | Detects attempts to extract trace information from an EVM transaction or block |
54+
| [eth-rpc-tracetransaction](go/eth-rpc-tracetransaction.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.go.eth-rpc-tracetransaction.eth-rpc-tracetransaction) | πŸŸ₯ | πŸŒ• | Detects attempts to extract trace information from an EVM transaction or block. In exchange or bridge applications, extra logic must be implemented encapsulating these endpoints to prevent the values transferred during reverted call frames from being counted. |
5555
| [eth-txreceipt-status](go/eth-txreceipt-status.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.go.eth-txreceipt-status.eth-txreceipt-status) | πŸŸ₯ | πŸŒ• | Detects when a transaction receipt's status is read |
5656
| [hanging-goroutine](go/hanging-goroutine.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.go.hanging-goroutine.hanging-goroutine) | 🟩 | πŸŒ— | Goroutine leaks |
5757
| [invalid-usage-of-modified-variable](go/invalid-usage-of-modified-variable.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.go.invalid-usage-of-modified-variable.invalid-usage-of-modified-variable) | 🟧 | 🌘 | Possible unintentional assignment when an error occurs |
@@ -64,6 +64,8 @@ $ semgrep --config /path/to/semgrep-rules/hanging-goroutine.yml -o leaks.txt'
6464
| [servercodec-readrequestbody-unhandled-nil](go/servercodec-readrequestbody-unhandled-nil.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.go.servercodec-readrequestbody-unhandled-nil.servercodec-readrequestbody-unhandled-nil) | 🟩 | 🌘 | Possible incorrect `ServerCodec` interface implementation |
6565
| [string-to-int-signedness-cast](go/string-to-int-signedness-cast.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.go.string-to-int-signedness-cast.string-to-int-signedness-cast) | 🟧 | 🌘 | Integer underflows |
6666
| [sync-mutex-value-copied](go/sync-mutex-value-copied.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.go.sync-mutex-value-copied.sync-mutex-value-copied) | 🟩 | 🌘 | Copying of `sync.Mutex` via value receivers |
67+
| [unmarshal-tag-is-dash](go/unmarshal_tag_is_dash.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.go.unmarshal_tag_is_dash.unmarshal-tag-is-dash) | 🟧 | 🌘 | |
68+
| [unmarshal-tag-is-omitempty](go/unmarshal_tag_is_omitempty.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.go.unmarshal_tag_is_omitempty.unmarshal-tag-is-omitempty) | 🟩 | 🌘 | |
6769
| [unsafe-dll-loading](go/unsafe-dll-loading.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.go.unsafe-dll-loading.unsafe-dll-loading) | πŸŸ₯ | 🌘 | Use of function vulnerable to DLL hijacking attacks |
6870
| [waitgroup-add-called-inside-goroutine](go/waitgroup-add-called-inside-goroutine.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.go.waitgroup-add-called-inside-goroutine.waitgroup-add-called-inside-goroutine) | 🟧 | πŸŒ— | Calls to `sync.WaitGroup.Add` inside of anonymous goroutines |
6971
| [waitgroup-wait-inside-loop](go/waitgroup-wait-inside-loop.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.go.waitgroup-wait-inside-loop.waitgroup-wait-inside-loop) | 🟧 | πŸŒ— | Calls to `sync.WaitGroup.Wait` inside a loop |
@@ -121,6 +123,102 @@ $ semgrep --config /path/to/semgrep-rules/hanging-goroutine.yml -o leaks.txt'
121123
| [v4-csrf-prevention](javascript/apollo-graphql/v4-csrf-prevention.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.javascript.apollo-graphql.v4-csrf-prevention.v4-csrf-prevention) | 🟧 | 🌘 | CSRF protection disabled |
122124
123125
126+
### ruby
127+
128+
| ID | Playground | Impact | Confidence | Description |
129+
| -- | :--------: | :----: | :--------: | ----------- |
130+
| [action-dispatch-insecure-ssl](ruby/action-dispatch-insecure-ssl.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.ruby.action-dispatch-insecure-ssl.action-dispatch-insecure-ssl) | πŸŸ₯ | 🌘 | |
131+
| [action-mailer-insecure-tls](ruby/action-mailer-insecure-tls.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.ruby.action-mailer-insecure-tls.action-mailer-insecure-tls) | πŸŸ₯ | 🌘 | |
132+
| [active-record-encrypts-misorder](ruby/active-record-encrypts-misorder.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.ruby.active-record-encrypts-misorder.active-record-encrypts-misorder) | πŸŸ₯ | 🌘 | |
133+
| [active-record-hardcoded-encryption-key](ruby/active-record-hardcoded-encryption-key.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.ruby.active-record-hardcoded-encryption-key.active-record-hardcoded-encryption-key) | πŸŸ₯ | 🌘 | |
134+
| [faraday-disable-verification](ruby/faraday-disable-verification.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.ruby.faraday-disable-verification.faraday-disable-verification) | πŸŸ₯ | 🌘 | |
135+
| [global-timeout](ruby/global-timeout.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.ruby.global-timeout.global-timeout) | 🟩 | 🌘 | |
136+
| [insecure-rails-cookie-session-store](ruby/insecure-rails-cookie-session-store.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.ruby.insecure-rails-cookie-session-store.insecure-rails-cookie-session-store) | 🟩 | 🌘 | |
137+
| [json-create-deserialization](ruby/json-create-deserialization.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.ruby.json-create-deserialization.json-create-deserialization) | πŸŸ₯ | πŸŒ• | |
138+
| [rails-cache-store-marshal](ruby/rails-cache-store-marshal.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.ruby.rails-cache-store-marshal.rails-cache-store-marshal) | 🟩 | πŸŒ— | |
139+
| [rails-cookie-attributes](ruby/rails-cookie-attributes.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.ruby.rails-cookie-attributes.rails-cookie-attributes) | 🟩 | 🌘 | |
140+
| [rails-params-json](ruby/rails-params-json.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.ruby.rails-params-json.rails-params-json) | πŸŸ₯ | πŸŒ• | |
141+
| [rest-client-disable-verification](ruby/rest-client-disable-verification.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.ruby.rest-client-disable-verification.rest-client-disable-verification) | πŸŸ₯ | 🌘 | |
142+
| [ruby-saml-skip-validation](ruby/ruby-saml-skip-validation.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.ruby.ruby-saml-skip-validation.ruby-saml-skip-validation) | 🟧 | 🌘 | |
143+
| [yaml-unsafe-load](ruby/yaml-unsafe-load.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.ruby.yaml-unsafe-load.yaml-unsafe-load) | πŸŸ₯ | 🌘 | |
144+
145+
146+
### hcl
147+
148+
| ID | Playground | Impact | Confidence | Description |
149+
| -- | :--------: | :----: | :--------: | ----------- |
150+
| [docker-hardcoded-password](hcl/nomad/docker-hardcoded-password.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.hcl.nomad.docker-hardcoded-password.docker-hardcoded-password) | πŸŸ₯ | 🌘 | |
151+
| [docker-privileged-mode](hcl/nomad/docker-privileged-mode.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.hcl.nomad.docker-privileged-mode.docker-privileged-mode) | 🟩 | 🌘 | |
152+
| [podman-tls-verify-disabled](hcl/nomad/podman-tls-verify-disabled.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.hcl.nomad.podman-tls-verify-disabled.podman-tls-verify-disabled) | 🟩 | 🌘 | |
153+
| [root-user](hcl/nomad/root-user.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.hcl.nomad.root-user.root-user) | 🟩 | 🌘 | |
154+
| [tls-hostname-verification-disabled](hcl/nomad/tls-hostname-verification-disabled.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.hcl.nomad.tls-hostname-verification-disabled.tls-hostname-verification-disabled) | πŸŸ₯ | 🌘 | |
155+
| [aws-oidc-role-policy-duplicate-condition](hcl/terraform/aws-oidc-role-policy-duplicate-condition.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.hcl.terraform.aws-oidc-role-policy-duplicate-condition.aws-oidc-role-policy-duplicate-condition) | πŸŸ₯ | 🌘 | |
156+
| [aws-oidc-role-policy-missing-sub](hcl/terraform/aws-oidc-role-policy-missing-sub.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.hcl.terraform.aws-oidc-role-policy-missing-sub.aws-oidc-role-policy-missing-sub) | πŸŸ₯ | 🌘 | |
157+
| [vault-hardcoded-token](hcl/terraform/vault-hardcoded-token.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.hcl.terraform.vault-hardcoded-token.vault-hardcoded-token) | πŸŸ₯ | 🌘 | |
158+
| [vault-skip-tls-verify](hcl/terraform/vault-skip-tls-verify.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.hcl.terraform.vault-skip-tls-verify.vault-skip-tls-verify) | πŸŸ₯ | 🌘 | |
159+
160+
161+
### jvm
162+
163+
| ID | Playground | Impact | Confidence | Description |
164+
| -- | :--------: | :----: | :--------: | ----------- |
165+
| [gc-call](jvm/gc-call.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.jvm.gc-call.gc-call) | 🟩 | 🌘 | |
166+
| [mongo-hostname-verification-disabled](jvm/mongo-hostname-verification-disabled.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.jvm.mongo-hostname-verification-disabled.mongo-hostname-verification-disabled) | πŸŸ₯ | 🌘 | |
167+
168+
169+
### yaml
170+
171+
| ID | Playground | Impact | Confidence | Description |
172+
| -- | :--------: | :----: | :--------: | ----------- |
173+
| [apt-key-unencrypted-url](yaml/ansible/apt-key-unencrypted-url.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.yaml.ansible.apt-key-unencrypted-url.apt-key-unencrypted-url) | πŸŸ₯ | 🌘 | |
174+
| [apt-key-validate-certs-disabled](yaml/ansible/apt-key-validate-certs-disabled.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.yaml.ansible.apt-key-validate-certs-disabled.apt-key-validate-certs-disabled) | πŸŸ₯ | 🌘 | |
175+
| [apt-unencrypted-url](yaml/ansible/apt-unencrypted-url.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.yaml.ansible.apt-unencrypted-url.apt-unencrypted-url) | πŸŸ₯ | 🌘 | |
176+
| [dnf-unencrypted-url](yaml/ansible/dnf-unencrypted-url.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.yaml.ansible.dnf-unencrypted-url.dnf-unencrypted-url) | πŸŸ₯ | 🌘 | |
177+
| [dnf-validate-certs-disabled](yaml/ansible/dnf-validate-certs-disabled.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.yaml.ansible.dnf-validate-certs-disabled.dnf-validate-certs-disabled) | πŸŸ₯ | 🌘 | |
178+
| [get-url-unencrypted-url](yaml/ansible/get-url-unencrypted-url.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.yaml.ansible.get-url-unencrypted-url.get-url-unencrypted-url) | πŸŸ₯ | 🌘 | |
179+
| [get-url-validate-certs-disabled](yaml/ansible/get-url-validate-certs-disabled.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.yaml.ansible.get-url-validate-certs-disabled.get-url-validate-certs-disabled) | πŸŸ₯ | 🌘 | |
180+
| [rpm-key-unencrypted-url](yaml/ansible/rpm-key-unencrypted-url.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.yaml.ansible.rpm-key-unencrypted-url.rpm-key-unencrypted-url) | πŸŸ₯ | 🌘 | |
181+
| [rpm-key-validate-certs-disabled](yaml/ansible/rpm-key-validate-certs-disabled.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.yaml.ansible.rpm-key-validate-certs-disabled.rpm-key-validate-certs-disabled) | πŸŸ₯ | 🌘 | |
182+
| [unarchive-unencrypted-url](yaml/ansible/unarchive-unencrypted-url.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.yaml.ansible.unarchive-unencrypted-url.unarchive-unencrypted-url) | πŸŸ₯ | 🌘 | |
183+
| [unarchive-validate-certs-disabled](yaml/ansible/unarchive-validate-certs-disabled.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.yaml.ansible.unarchive-validate-certs-disabled.unarchive-validate-certs-disabled) | πŸŸ₯ | 🌘 | |
184+
| [wrm-cert-validation-ignore](yaml/ansible/wrm-cert-validation-ignore.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.yaml.ansible.wrm-cert-validation-ignore.wrm-cert-validation-ignore) | πŸŸ₯ | 🌘 | |
185+
| [yum-unencrypted-url](yaml/ansible/yum-unencrypted-url.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.yaml.ansible.yum-unencrypted-url.yum-unencrypted-url) | πŸŸ₯ | 🌘 | |
186+
| [yum-validate-certs-disabled](yaml/ansible/yum-validate-certs-disabled.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.yaml.ansible.yum-validate-certs-disabled.yum-validate-certs-disabled) | πŸŸ₯ | 🌘 | |
187+
| [zypper-repository-unencrypted-url](yaml/ansible/zypper-repository-unencrypted-url.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.yaml.ansible.zypper-repository-unencrypted-url.zypper-repository-unencrypted-url) | πŸŸ₯ | 🌘 | |
188+
| [zypper-unencrypted-url](yaml/ansible/zypper-unencrypted-url.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.yaml.ansible.zypper-unencrypted-url.zypper-unencrypted-url) | πŸŸ₯ | 🌘 | |
189+
| [port-all-interfaces](yaml/docker-compose/port-all-interfaces.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.yaml.docker-compose.port-all-interfaces.port-all-interfaces) | 🟩 | πŸŒ• | |
190+
| [aws-secret-key](yaml/github-actions/aws-secret-key.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.yaml.github-actions.aws-secret-key.aws-secret-key) | 🟧 | 🌘 | |
191+
| [azure-principal-secret](yaml/github-actions/azure-principal-secret.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.yaml.github-actions.azure-principal-secret.azure-principal-secret) | 🟧 | 🌘 | |
192+
| [gcp-credentials-json](yaml/github-actions/gcp-credentials-json.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.yaml.github-actions.gcp-credentials-json.gcp-credentials-json) | 🟧 | 🌘 | |
193+
| [jfrog-hardcoded-credential](yaml/github-actions/jfrog-hardcoded-credential.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.yaml.github-actions.jfrog-hardcoded-credential.jfrog-hardcoded-credential) | 🟧 | 🌘 | |
194+
| [pypi-publish-password](yaml/github-actions/pypi-publish-password.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.yaml.github-actions.pypi-publish-password.pypi-publish-password) | 🟧 | 🌘 | |
195+
| [rubygems-publish-key](yaml/github-actions/rubygems-publish-key.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.yaml.github-actions.rubygems-publish-key.rubygems-publish-key) | 🟧 | 🌘 | |
196+
| [vault-token](yaml/github-actions/vault-token.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.yaml.github-actions.vault-token.vault-token) | 🟧 | 🌘 | |
197+
198+
199+
### generic
200+
201+
| ID | Playground | Impact | Confidence | Description |
202+
| -- | :--------: | :----: | :--------: | ----------- |
203+
| [amqp-unencrypted-transport](generic/amqp-unencrypted-transport.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.generic.amqp-unencrypted-transport.amqp-unencrypted-transport) | πŸŸ₯ | 🌘 | |
204+
| [container-privileged](generic/container-privileged.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.generic.container-privileged.container-privileged) | πŸŸ₯ | πŸŒ— | |
205+
| [container-user-root](generic/container-user-root.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.generic.container-user-root.container-user-root) | πŸŸ₯ | πŸŒ— | |
206+
| [curl-insecure](generic/curl-insecure.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.generic.curl-insecure.curl-insecure) | πŸŸ₯ | πŸŒ— | |
207+
| [curl-unencrypted-url](generic/curl-unencrypted-url.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.generic.curl-unencrypted-url.curl-unencrypted-url) | πŸŸ₯ | πŸŒ— | |
208+
| [gpg-insecure-flags](generic/gpg-insecure-flags.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.generic.gpg-insecure-flags.gpg-insecure-flags) | πŸŸ₯ | πŸŒ— | |
209+
| [installer-allow-untrusted](generic/installer-allow-untrusted.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.generic.installer-allow-untrusted.installer-allow-untrusted) | πŸŸ₯ | 🌘 | |
210+
| [mongodb-insecure-transport](generic/mongodb-insecure-transport.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.generic.mongodb-insecure-transport.mongodb-insecure-transport) | πŸŸ₯ | 🌘 | |
211+
| [mysql-insecure-sslmode](generic/mysql-insecure-sslmode.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.generic.mysql-insecure-sslmode.mysql-insecure-sslmode) | πŸŸ₯ | πŸŒ— | |
212+
| [node-disable-certificate-validation](generic/node-disable-certificate-validation.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.generic.node-disable-certificate-validation.node-disable-certificate-validation) | πŸŸ₯ | 🌘 | |
213+
| [openssl-insecure-flags](generic/openssl-insecure-flags.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.generic.openssl-insecure-flags.openssl-insecure-flags) | πŸŸ₯ | πŸŒ— | |
214+
| [postgres-insecure-sslmode](generic/postgres-insecure-sslmode.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.generic.postgres-insecure-sslmode.postgres-insecure-sslmode) | πŸŸ₯ | 🌘 | |
215+
| [redis-unencrypted-transport](generic/redis-unencrypted-transport.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.generic.redis-unencrypted-transport.redis-unencrypted-transport) | πŸŸ₯ | 🌘 | |
216+
| [ssh-disable-host-key-checking](generic/ssh-disable-host-key-checking.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.generic.ssh-disable-host-key-checking.ssh-disable-host-key-checking) | πŸŸ₯ | πŸŒ— | |
217+
| [tar-insecure-flags](generic/tar-insecure-flags.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.generic.tar-insecure-flags.tar-insecure-flags) | πŸŸ₯ | πŸŒ— | |
218+
| [wget-no-check-certificate](generic/wget-no-check-certificate.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.generic.wget-no-check-certificate.wget-no-check-certificate) | πŸŸ₯ | πŸŒ— | |
219+
| [wget-unencrypted-url](generic/wget-unencrypted-url.yaml) | [πŸ›πŸ”—](https://semgrep.dev/playground/r/trailofbits.generic.wget-unencrypted-url.wget-unencrypted-url) | πŸŸ₯ | πŸŒ— | |
220+
221+
124222
## Contributing
125223
126224
Pull Requests and issues are welcomed!

β€Žrules_table_generator.pyβ€Ž

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import yaml
66
import sys
77

8-
LANGUAGES = ['go', 'python', 'rs', 'javascript']
8+
LANGUAGES = ['go', 'python', 'rs', 'javascript', 'ruby', 'hcl', 'jvm', 'yaml', 'generic']
99
IMPACT_MAP = {
1010
'LOW': "🟩",
1111
'MEDIUM': "🟧",
@@ -24,6 +24,9 @@ def main():
2424
for language in LANGUAGES:
2525
rules_for_lang = []
2626
for rule_path in Path(language).rglob('*.yaml'):
27+
if rule_path.name.endswith(".test.yaml"):
28+
continue
29+
2730
try:
2831
rules_data = yaml.safe_load(rule_path.open())
2932
except yaml.YAMLError as err:

0 commit comments

Comments
Β (0)