golang-security
Review Go Code for Security Risks
Go services can expose sensitive data through unsafe input handling, weak authentication, and insecure configuration. This skill guides structured reviews, threat modeling, and mitigation planning.
Vor der Installation anhalten und eine Bestätigung anfordern.
Prüfen Sie den Plan und holen Sie vor Änderungen an Dateien die ausdrückliche Zustimmung des Benutzers ein.
Mit meinem Agent installieren
Kopieren Sie diese Anfrage in Ihren Agent. Sie enthält die maßgebliche Skill-Seite und das Manifest.
Review the Skillstore skill "golang-security" from https://skillstore.io/skills/samber-golang-security.md and its manifest at https://skillstore.io/api/skills/samber-golang-security/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.Ihr Agent sollte weiterhin seinen Plan anzeigen und alle von der Sicherheitsrichtlinie verlangten Bestätigungen anfordern.
Agent-lesbare Ressourcen
Verwenden Sie diese Links, wenn ein KI-Agent, Crawler oder Skript sauberen Kontext benötigt, statt die vollständige Seite zu lesen.
Testen
„golang-security“ wird verwendet. Review a handler that inserts a request name directly into a SQL query.
Erwartetes Ergebnis:
- Finding: SQL injection through a request-controlled name.
- Impact: An attacker could change query logic and access unauthorized records.
- Recommendation: Pass the name as a query parameter rather than concatenating it.
- Verification: Add a regression test with SQL metacharacters and confirm the input remains data.
„golang-security“ wird verwendet. Threat-model a webhook receiver that stores events and publishes queue messages.
Erwartetes Ergebnis:
- Spoofing and tampering: Verify webhook signatures and enforce a replay policy.
- Denial of service: Limit request sizes, processing time, and submission rates.
- Information disclosure: Protect transport connections and exclude secrets from logs.
- Repudiation: Record event identifiers and processing outcomes in structured audit logs.
Sicherheitsaudit
Hohes RisikoAll 152 static alerts are false positives involving defensive examples, evaluation fixtures, documentation formatting, or unrelated keyword combinations. No evidence found of credential exfiltration or prompt injection targeting this audit. Two semantic findings identify unsafe XSS guidance and incomplete SSRF defenses that could introduce vulnerabilities into generated applications.
Bestätigte Sicherheitsbedenken (2)
Risikofaktoren
⚙️ Externe Befehle (38)
🌐 Netzwerkzugriff (18)
📁 Dateisystemzugriff (9)
Diesen Bericht teilen & zitieren
Teile den versionierten Bewertungsbericht, das neutrale Badge, die Einbettungskarte und Zitate. Skillstore berichtet Nachweise, ohne zu entscheiden, ob dieser Skill sicher ist.
Berichtslink kopieren
https://skillstore.io/skills/samber-golang-security/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown-Badge
[](https://skillstore.io/skills/samber-golang-security?utm_source=security_passport_badge)HTML-Badge
<a href="https://skillstore.io/skills/samber-golang-security?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/samber-golang-security/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Einbettungskarte
<iframe src="https://skillstore.io/embed/skills/samber-golang-security.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Wissenschaftliche Zitate (APA · BibTeX · CFF)
APA-Zitat
samber. (2026). golang-security security audit report (audit version 1) [Author version 1.2.2]. Skillstore. https://skillstore.io/skills/samber-golang-security/audits/1BibTeX-Zitat
@techreport{samber-samber-golang-security-2026,
author = {samber},
title = {golang-security security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/samber-golang-security/audits/1},
note = {Author version 1.2.2}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "golang-security security audit report (audit version 1)"
version: "1.2.2"
type: report
authors:
- name: "samber"
date-released: "2026-10-15"
url: "https://skillstore.io/skills/samber-golang-security/audits/1"
identifiers:
- type: other
value: "skillstore:samber-golang-security:audit:1"
description: "Skillstore immutable audit report identifier"
Skillstore-Score
Warum dieser Score Evidenzvertrauen: MittelWas Sie erstellen können
Review a Go Pull Request
Trace changed handlers and adjacent data flows to identify exploitable input, authorization, and configuration risks.
Audit a Service
Organize a codebase review by vulnerability domain and prioritize findings with evidence and remediation recommendations.
Model System Threats
Map trust boundaries across APIs, databases, queues, and external integrations before choosing security controls.
Diese Prompts ausprobieren
Review [handler] for security risks. Explain untrusted inputs, existing protections, and recommended fixes. Do not modify files.
Review [pull request or diff] for security issues. Trace relevant call sites and validation. Report evidence, exploitability, severity, and focused remediation.
Design secure file serving for [service] using Go [version]. Address traversal, symlinks, permissions, resource limits, and regression tests. Explain remaining assumptions.
Audit [repository] across injection, cryptography, web security, authorization, and concurrency. Apply STRIDE and DREAD. Separate exploitable findings from hardening recommendations. Propose verification tests.
Bewährte Praktiken
- Provide relevant code, deployment context, Go version, and trust boundaries before requesting a review.
- Validate recommendations against current library behavior and distinguish demonstrated exploits from optional hardening.
- Verify each mitigation with focused regression tests and appropriate static, race, or fuzz testing.
Vermeiden
- Treating instructional snippets or generated fixes as production-ready without independent review.
- Sharing live credentials, private keys, or unnecessary personal data in review prompts.
- Equating keyword matches or severity scores with proven exploitability.
Häufig gestellte Fragen
Which assistants can use this skill?
Does this skill automatically scan my code?
What Go versions do the examples target?
Are all recommendations safe to copy directly?
Can it help prioritize vulnerabilities?
Does it replace dependency management or CI configuration?
Entwicklerdetails
Autor
samberLizenz
MIT
Autorenversion
v1.2.2
Skillstore-Revision
r1
Ref.
61e08cf7198fc8690b316eaf44afa6467c180924
Aktualität der Wartung
15.10.2026
Nutzung
0 Downloads · 0 Aufrufe
Dateistruktur