

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 8
click for more info
Not enough gems
Cost: 6 gems
1: Managing Secrets
incomplete
2: Injecting Secrets at Runtime
incomplete
3: Protecting Secrets
incomplete
4: Build Artifacts and Deployment Hygiene
incomplete
5: Limiting Build Context
incomplete
6: Source Code and Config Leaks
incomplete
7: Public File Leaks
incomplete
8: Server-Side Request Forgery
incomplete
9: Defending Against SSRF
incomplete
10: Open Redirects
incomplete
11: Risks of Dependencies
incomplete
12: Auditing Dependencies
incomplete
13: Dependency Maintenance
incomplete
Back
ctrl+,
Next
ctrl+.
This lesson's interactive features are locked, please to keep using them
Go provides separate checks for module integrity, module hygiene, and known vulnerabilities.
go mod verify
go mod tidy -diff
go run golang.org/x/vuln/cmd/govulncheck@latest ./...
go mod verify checks that downloaded module content still matches the recorded hashes.go mod tidy -diff reports whether the module files, go.mod and go.sum, need any changes. Running it without -diff would also make those changes.govulncheck compares the application's reachable code with published Go vulnerability data.A clean report is useful, but it is not proof that the dependencies are safe. An unpublished vulnerability, malicious behavior without an advisory, or risky application code could still be present even if all these checks pass.
When a scan does report a vulnerability, make sure to inspect the affected call path, the fixed version of the dependency, and possible compatibility impact before updating.
Verify Bearly Secure's module graph and audit its dependencies without changing the project.
These commands may print go: downloading ... while fetching dependencies. That's normal; wait for each command to finish before interpreting the result.
go run golang.org/x/vuln/cmd/govulncheck@latest ./...
No vulnerabilities found.If everything looks clean, run and submit the CLI tests from the project root.