Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Covers Go security practices: injection, cryptography, filesystem, network, cookies, secrets, memory safety, logging, and security tooling.
73% 86%+14 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 16 of 22 without it.
3 of 3 safety checks passed
14 agent runs
Systematic methodology for identifying and prioritizing security threats in Go applications.
Apply STRIDE to every element in your system's data flow diagram. Each element type is susceptible to specific threat categories:
| DFD Element | S | T | R | I | D | E |
|---|---|---|---|---|---|---|
| External Entity (user, API client) | X | X | ||||
| Process (HTTP handler, gRPC service) | X | X | X | X | X | X |
| Data Store (database, cache, file) | X | X | X | X | ||
| Data Flow (HTTP, gRPC, message queue) | X | X | X |
Spoofing — Can an attacker impersonate a user or service?
// Check: Is every endpoint behind authentication?
// Check: Are JWT tokens validated (algorithm, issuer, expiry)?
// Check: Is mTLS configured for service-to-service calls?
r.Use(authMiddleware) // every route group must have auth
Tampering — Can data be modified in transit or at rest?
// Check: Are all external inputs validated?
// Check: Is HMAC used for webhook/callback verification?
mac := hmac.New(sha256.New, key)
mac.Write(payload)
expected := mac.Sum(nil)
if !hmac.Equal(signature, expected) {
return errors.New("tampered payload")
}
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.