Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test yam 1 #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

test yam 1 #2

wants to merge 1 commit into from

Conversation

guardrails-test
Copy link
Owner

No description provided.

@guardrails
Copy link

guardrails bot commented Dec 22, 2022

⚠️ We detected 15 security issues in this pull request:

Insecure Network Communication (10)
Docs Details
💡 Title: Insecure gRPC client connection - withInsecure(), Severity: Medium
conn, err := grpc.Dial(address, grpc.WithInsecure(), grpc.WithBlock())
💡 Title: Insecure gRPC client connection - withInsecure(), Severity: Medium
conn, err := grpc.Dial(address, grpc.WithInsecure())
💡 Title: Insecure gRPC client connection - withInsecure(), Severity: Medium
conn, err := grpc.Dial(serverAddress, grpc.WithInsecure(), grpc.WithBlock())
💡 Title: Insecure gRPC client connection - withInsecure(), Severity: Medium
conn, err := grpc.Dial(serverAddress, grpc.WithInsecure(), grpc.WithBlock())
💡 Title: Insecure gRPC client connection - withInsecure(), Severity: Medium
conn, err := grpc.Dial(serverAddress, grpc.WithInsecure(), grpc.WithBlock())
💡 Title: Insecure gRPC client connection - withInsecure(), Severity: Medium
conn, err := grpc.Dial(serverAddress, grpc.WithInsecure(), grpc.WithBlock())
💡 Title: Insecure gRPC server connection, Severity: Medium
grpcserv := grpc.NewServer()
💡 Title: Insecure gRPC server connection, Severity: Medium
grpcserv := grpc.NewServer()
💡 Title: Plaintext HTTP Server, Severity: High
http.ListenAndServe(address, router)
💡 Title: Look For Bad TLS Connection Settings, Severity: High
InsecureSkipVerify: true,

More info on how to fix Insecure Network Communication in Go.


Insecure Use of SQL Queries (2)
Docs Details
💡 Title: SQL Query Construction Using Format String, Severity: High
rows, err := s.dbHnd.Query(fmt.Sprintf(`SELECT username, uid FROM people WHERE username like "%%%s%%"`, in.GetUname()))
💡 Title: SQL Query Construction Using Format String, Severity: High
rows, err := s.dbHnd.Query(fmt.Sprintf(`SELECT username, postID, post FROM posts where username = "%s"`, in.GetUname()))

More info on how to fix Insecure Use of SQL Queries in Go.


Hard-Coded Secrets (3)
Docs Details
💡 Title: Base64 High Entropy String, Severity: Medium
key = []byte("xxzoL3R9zA25mztvbm9AWwBdCEqiVvgj")
💡 Title: Private Key, Severity: Medium
-----BEGIN RSA PRIVATE KEY-----
💡 Title: Private Key, Severity: Medium
-----BEGIN RSA PRIVATE KEY-----

More info on how to fix Hard-Coded Secrets in General.


👉 Go to the dashboard for detailed results.

📥 Happy? Share your feedback with us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant