Back to skill

Security audit

golang-graphql

Security checks for vulnerabilities and agentic risk

Overview

This is a coherent Go GraphQL helper, but it requests unrestricted outbound curl access that is broader than its documented workflows require.

Review the curl permission before installing, especially in repositories with secrets or untrusted content. If you use the skill, prefer scoped documentation tools and pin gqlgen to a reviewed version instead of running mutable latest-based commands.

Vulnerability Patterns
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
Findings (2)

T05 · Unauthorized Access and Privilege Escalation

Warning
Location
SKILL.md:17
Finding

Unrestricted curl Capability Violates Least-Privilege Requirements

Content
View full analysis
Remediation
View remediation

T08 · Insecure Dependencies

Warning
Location
references/gqlgen.md:6
Finding

Mutable gqlgen Dependency Retrieval Weakens Supply-Chain Integrity

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (1)

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · references/graphql-go.md (reported line 55)May include surrounding context.

md
## Type Mapping

<!-- prettier-ignore -->
|GraphQL type|Go type|Notes|
|---|---|---|
|`ID`|`graphql.ID`|string alias|

Static analysis

No suspicious patterns detected.