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.
Detente y solicita confirmación antes de instalar.
Revisa el plan y obtén el consentimiento explícito del usuario antes de modificar archivos.
Instalar con mi Agente
Copia esta solicitud en tu Agente. Incluye la página canónica del Skill y el manifiesto.
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.Tu Agente debe seguir mostrando su plan y solicitar cualquier confirmación exigida por la política de seguridad.
Recursos legibles por agentes
Usa estos enlaces cuando un agente de IA, crawler o script necesite contexto limpio en vez de leer la página completa.
Pruébalo
Usando "golang-security". Review a handler that inserts a request name directly into a SQL query.
Resultado esperado:
- 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.
Usando "golang-security". Threat-model a webhook receiver that stores events and publishes queue messages.
Resultado esperado:
- 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.
Auditoría de seguridad
Riesgo altoAll 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.
Preocupaciones de seguridad confirmadas (2)
Factores de riesgo
⚙️ Comandos externos (38)
🌐 Acceso a red (18)
📁 Acceso al sistema de archivos (9)
Compartir y citar este informe
Comparte el informe de evaluación versionado, la insignia neutral, la tarjeta insertable y las citas. Skillstore presenta evidencias sin decidir si este Skill es seguro.
Copiar enlace del informe
https://skillstore.io/skills/samber-golang-security/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportInsignia Markdown
[](https://skillstore.io/skills/samber-golang-security?utm_source=security_passport_badge)Insignia HTML
<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>Tarjeta para insertar
<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>Citas académicas (APA · BibTeX · CFF)
Cita APA
samber. (2026). golang-security security audit report (audit version 1) [Author version 1.2.2]. Skillstore. https://skillstore.io/skills/samber-golang-security/audits/1Cita BibTeX
@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"
Puntuación de Skillstore
Por qué esta puntuación Confianza de la evidencia: MedioLo que puedes crear
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.
Prueba estos prompts
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.
Mejores prácticas
- 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.
Evitar
- 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.
Preguntas frecuentes
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?
Detalles del desarrollador
Autor
samberLicencia
MIT
Versión del autor
v1.2.2
Revisión de Skillstore
r1
Ref.
61e08cf7198fc8690b316eaf44afa6467c180924
Actualidad del mantenimiento
15/10/2026
Uso
0 descargas · 0 vistas
Estructura de archivos