Skip to content

Comments

upgrade https://github.com/domainr/whois to update .in#134

Open
psychomantys wants to merge 1 commit intoshift:masterfrom
psychomantys:fix/in
Open

upgrade https://github.com/domainr/whois to update .in#134
psychomantys wants to merge 1 commit intoshift:masterfrom
psychomantys:fix/in

Conversation

@psychomantys
Copy link
Contributor

https://github.com/domainr/whois has now a new database to obtain *.in domains in whois. Old version of this library not work for .in domains, like google.in.

https://github.com/domainr/whois has now a new database to obtain *.in
domains in whois. Old version of this library not work for .in domains,
like google.in.
@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedgithub.com/​domainr/​whois@​v0.1.0 ⏵ v0.1.1-0.20250721131805-edf972fb51f798100100100100

View full report

@socket-security
Copy link

Caution

Review the following alerts detected in dependencies.

According to your organization's Security Policy, you must resolve all "Block" alerts before proceeding. Learn more about Socket for GitHub.

Action Severity Alert (click for details)
Block Medium
github.com/creack/pty@v1.1.9 has Shell access.

Location: Package overview

From: ?golang/github.com/prometheus/client_golang@v1.15.1golang/github.com/go-kit/kit@v0.13.0golang/github.com/creack/pty@v1.1.9

ℹ Read more on: This package | This alert | What is shell access?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should avoid accessing the shell which can reduce portability, and make it easier for malicious shell access to be introduced.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore golang/github.com/creack/pty@v1.1.9. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Medium
github.com/domainr/whois@v0.1.1-0.20250721131805-edf972fb51f7 Uses eval.

Location: Package overview

From: go.modgolang/github.com/domainr/whois@v0.1.1-0.20250721131805-edf972fb51f7

ℹ Read more on: This package | This alert | What is dynamic code execution?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Avoid packages that use dynamic code execution like eval(), since this could potentially execute any code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore golang/github.com/domainr/whois@v0.1.1-0.20250721131805-edf972fb51f7. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Medium
github.com/domainr/whois@v0.1.1-0.20250721131805-edf972fb51f7 has Network access.

Location: Package overview

From: go.modgolang/github.com/domainr/whois@v0.1.1-0.20250721131805-edf972fb51f7

ℹ Read more on: This package | This alert | What is network access?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore golang/github.com/domainr/whois@v0.1.1-0.20250721131805-edf972fb51f7. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Medium
github.com/zonedb/zonedb@v1.0.5258 Uses eval.

Location: Package overview

From: ?golang/github.com/domainr/whois@v0.1.1-0.20250721131805-edf972fb51f7golang/github.com/zonedb/zonedb@v1.0.5258

ℹ Read more on: This package | This alert | What is dynamic code execution?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Avoid packages that use dynamic code execution like eval(), since this could potentially execute any code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore golang/github.com/zonedb/zonedb@v1.0.5258. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Medium
github.com/zonedb/zonedb@v1.0.5258 has Network access.

Location: Package overview

From: ?golang/github.com/domainr/whois@v0.1.1-0.20250721131805-edf972fb51f7golang/github.com/zonedb/zonedb@v1.0.5258

ℹ Read more on: This package | This alert | What is network access?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore golang/github.com/zonedb/zonedb@v1.0.5258. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Medium
golang.org/x/telemetry@v0.0.0-20240228155512-f48c80bd79b2 has Network access.

Location: Package overview

From: ?golang/golang.org/x/telemetry@v0.0.0-20240228155512-f48c80bd79b2

ℹ Read more on: This package | This alert | What is network access?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore golang/golang.org/x/telemetry@v0.0.0-20240228155512-f48c80bd79b2. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Medium
golang.org/x/telemetry@v0.0.0-20240228155512-f48c80bd79b2 has Shell access.

Location: Package overview

From: ?golang/golang.org/x/telemetry@v0.0.0-20240228155512-f48c80bd79b2

ℹ Read more on: This package | This alert | What is shell access?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should avoid accessing the shell which can reduce portability, and make it easier for malicious shell access to be introduced.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore golang/golang.org/x/telemetry@v0.0.0-20240228155512-f48c80bd79b2. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Medium
golang.org/x/telemetry@v0.0.0-20240228155512-f48c80bd79b2 Uses eval.

Location: Package overview

From: ?golang/golang.org/x/telemetry@v0.0.0-20240228155512-f48c80bd79b2

ℹ Read more on: This package | This alert | What is dynamic code execution?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Avoid packages that use dynamic code execution like eval(), since this could potentially execute any code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore golang/golang.org/x/telemetry@v0.0.0-20240228155512-f48c80bd79b2. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Low
github.com/creack/pty@v1.1.9 has Filesystem access.

Location: Package overview

From: ?golang/github.com/prometheus/client_golang@v1.15.1golang/github.com/go-kit/kit@v0.13.0golang/github.com/creack/pty@v1.1.9

ℹ Read more on: This package | This alert | What is filesystem access?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: If a package must read the file system, clarify what it will read and ensure it reads only what it claims to. If appropriate, packages can leave file system access to consumers and operate on data passed to it instead.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore golang/github.com/creack/pty@v1.1.9. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Low
github.com/domainr/whois@v0.1.1-0.20250721131805-edf972fb51f7 has Filesystem access.

Location: Package overview

From: go.modgolang/github.com/domainr/whois@v0.1.1-0.20250721131805-edf972fb51f7

ℹ Read more on: This package | This alert | What is filesystem access?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: If a package must read the file system, clarify what it will read and ensure it reads only what it claims to. If appropriate, packages can leave file system access to consumers and operate on data passed to it instead.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore golang/github.com/domainr/whois@v0.1.1-0.20250721131805-edf972fb51f7. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Low
github.com/kr/text@v0.2.0 has Filesystem access.

Location: Package overview

From: ?golang/github.com/prometheus/client_golang@v1.15.1golang/github.com/go-kit/kit@v0.13.0golang/github.com/kr/text@v0.2.0

ℹ Read more on: This package | This alert | What is filesystem access?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: If a package must read the file system, clarify what it will read and ensure it reads only what it claims to. If appropriate, packages can leave file system access to consumers and operate on data passed to it instead.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore golang/github.com/kr/text@v0.2.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Low
github.com/zonedb/zonedb@v1.0.5258 has Environment variable access.

Location: Package overview

From: ?golang/github.com/domainr/whois@v0.1.1-0.20250721131805-edf972fb51f7golang/github.com/zonedb/zonedb@v1.0.5258

ℹ Read more on: This package | This alert | What is environment variable access?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should be clear about which environment variables they access, and care should be taken to ensure they only access environment variables they claim to.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore golang/github.com/zonedb/zonedb@v1.0.5258. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Low
github.com/zonedb/zonedb@v1.0.5258 has Filesystem access.

Location: Package overview

From: ?golang/github.com/domainr/whois@v0.1.1-0.20250721131805-edf972fb51f7golang/github.com/zonedb/zonedb@v1.0.5258

ℹ Read more on: This package | This alert | What is filesystem access?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: If a package must read the file system, clarify what it will read and ensure it reads only what it claims to. If appropriate, packages can leave file system access to consumers and operate on data passed to it instead.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore golang/github.com/zonedb/zonedb@v1.0.5258. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Low
golang.org/x/telemetry@v0.0.0-20240228155512-f48c80bd79b2 has Filesystem access.

Location: Package overview

From: ?golang/golang.org/x/telemetry@v0.0.0-20240228155512-f48c80bd79b2

ℹ Read more on: This package | This alert | What is filesystem access?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: If a package must read the file system, clarify what it will read and ensure it reads only what it claims to. If appropriate, packages can leave file system access to consumers and operate on data passed to it instead.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore golang/golang.org/x/telemetry@v0.0.0-20240228155512-f48c80bd79b2. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Low
golang.org/x/telemetry@v0.0.0-20240228155512-f48c80bd79b2 has Environment variable access.

Location: Package overview

From: ?golang/golang.org/x/telemetry@v0.0.0-20240228155512-f48c80bd79b2

ℹ Read more on: This package | This alert | What is environment variable access?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should be clear about which environment variables they access, and care should be taken to ensure they only access environment variables they claim to.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore golang/golang.org/x/telemetry@v0.0.0-20240228155512-f48c80bd79b2. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

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