Back to skill

Security audit

go-valtown

Security checks for vulnerabilities and agentic risk

Overview

This skill is a coherent Go client guide for Val Town; it discloses token use and account-changing API operations without hidden execution or persistence.

Install this only for Go projects that need Val Town API access. Treat VALTOWN_API_TOKEN as sensitive, avoid logging Authorization headers, and approve any code path that deletes vals, branches, files, blobs, environment variables, sends email, or runs SQL against the account.

Vulnerability Patterns
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (11)

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 24)May include surrounding context.

md
For install details, the full operation list and pagination, see [references/setup.md](references/setup.md).

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · references/setup.md (reported line 37)May include surrounding context.

md
| `V1blobsListWithResponse` | `GET /v1/blob` |
| `V1blobsGetWithResponse` | `GET /v1/blob/{key}` |
| `V1blobsStoreWithResponse` | `POST /v1/blob/{key}` |
| `V1blobsDeleteWithResponse` | `DELETE /v1/blob/{key}` |
| `SqliteExecuteWithResponse` | `POST /v1/sqlite/execute` |
| `SqliteBatchWithResponse` | `POST /v1/sqlite/batch` |
| `EmailsSendWithResponse` | `POST /v1/email` |

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · references/setup.md (reported line 46)May include surrounding context.

md
| `ValsList2WithResponse` | `GET /v2/vals` |
| `ValsCreate2WithResponse` | `POST /v2/vals` |
| `ValsGet2WithResponse` | `GET /v2/vals/{val_id}` |
| `ProjectsDelete2WithResponse` | `DELETE /v2/vals/{val_id}` |
| `MeVals2WithResponse` | `GET /v2/me/vals` |
| `AliasVal2WithResponse` | `GET /v2/alias/vals/{username}/{val_name}` |
| `BranchesList2WithResponse` | `GET /v2/vals/{val_id}/branches` |

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · references/setup.md (reported line 52)May include surrounding context.

md
| `BranchesList2WithResponse` | `GET /v2/vals/{val_id}/branches` |
| `BranchesCreate2WithResponse` | `POST /v2/vals/{val_id}/branches` |
| `BranchesGet2WithResponse` | `GET /v2/vals/{val_id}/branches/{branch_id}` |
| `BranchesDelete2WithResponse` | `DELETE /v2/vals/{val_id}/branches/{branch_id}` |
| `BranchesMergeUpstream2WithResponse` | `POST /v2/vals/{val_id}/branches/{branch_id}/merge-upstream` |
| `ValFilesGet2WithResponse` | `GET /v2/vals/{val_id}/files` |
| `FilesCreate2WithResponse` | `POST /v2/vals/{val_id}/files` |

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · references/setup.md (reported line 57)May include surrounding context.

md
| `ValFilesGet2WithResponse` | `GET /v2/vals/{val_id}/files` |
| `FilesCreate2WithResponse` | `POST /v2/vals/{val_id}/files` |
| `FileContentUpdate2WithResponse` | `PUT /v2/vals/{val_id}/files` |
| `FilesDelete2WithResponse` | `DELETE /v2/vals/{val_id}/files` |
| `FilesContentGet2WithResponse` | `GET /v2/vals/{val_id}/files/content` |
| `QueryValFileByIdWithResponse` | `GET /v2/files/{file_id}` |
| `ValEnvironmentVariablesListWithResponse` | `GET /v2/vals/{val_id}/environment_variables/` |

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · references/setup.md (reported line 63)May include surrounding context.

md
| `ValEnvironmentVariablesListWithResponse` | `GET /v2/vals/{val_id}/environment_variables/` |
| `ValEnvironmentVariablesCreateWithResponse` | `POST /v2/vals/{val_id}/environment_variables/` |
| `ValEnvironmentVariablesUpdateWithResponse` | `PUT /v2/vals/{val_id}/environment_variables/{key}` |
| `ValEnvironmentVariablesDeleteWithResponse` | `DELETE /v2/vals/{val_id}/environment_variables/{key}` |
| `ValEnvironmentVariableGroupsListWithResponse` | `GET /v2/vals/{val_id}/environment_variable_groups/` |
| `ValEnvironmentVariableGroupsAttachWithResponse` | `PUT /v2/vals/{val_id}/environment_variable_groups/{group_id}` |
| `ValEnvironmentVariableGroupsDetachWithResponse` | `DELETE /v2/vals/{val_id}/environment_variable_groups/{group_id}` |

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · references/setup.md (reported line 66)May include surrounding context.

md
| `ValEnvironmentVariablesDeleteWithResponse` | `DELETE /v2/vals/{val_id}/environment_variables/{key}` |
| `ValEnvironmentVariableGroupsListWithResponse` | `GET /v2/vals/{val_id}/environment_variable_groups/` |
| `ValEnvironmentVariableGroupsAttachWithResponse` | `PUT /v2/vals/{val_id}/environment_variable_groups/{group_id}` |
| `ValEnvironmentVariableGroupsDetachWithResponse` | `DELETE /v2/vals/{val_id}/environment_variable_groups/{group_id}` |
| `OrgsListWithResponse` | `GET /v2/orgs` |
| `OrgsMembershipsListWithResponse` | `GET /v2/orgs/{org_id}/memberships` |
| `V2blobsListWithResponse` | `GET /v2/blob` |

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · references/setup.md (reported line 72)May include surrounding context.

md
| `V2blobsListWithResponse` | `GET /v2/blob` |
| `V2blobsGetWithResponse` | `GET /v2/blob/{key}` |
| `V2blobsStoreWithResponse` | `POST /v2/blob/{key}` |
| `V2blobsDeleteWithResponse` | `DELETE /v2/blob/{key}` |
| `EnvironmentVariableGroupsListWithResponse` | `GET /v3/environment-variable-groups/` |
| `EnvironmentVariableGroupsCreateWithResponse` | `POST /v3/environment-variable-groups/` |
| `EnvironmentVariableGroupsRenameWithResponse` | `PUT /v3/environment-variable-groups/{id}` |

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · references/setup.md (reported line 76)May include surrounding context.

md
| `EnvironmentVariableGroupsListWithResponse` | `GET /v3/environment-variable-groups/` |
| `EnvironmentVariableGroupsCreateWithResponse` | `POST /v3/environment-variable-groups/` |
| `EnvironmentVariableGroupsRenameWithResponse` | `PUT /v3/environment-variable-groups/{id}` |
| `EnvironmentVariableGroupsDeleteWithResponse` | `DELETE /v3/environment-variable-groups/{id}` |
| `EnvironmentVariableGroupsGetWithResponse` | `GET /v3/environment-variable-groups/{id}/environment-variables` |
| `EnvironmentVariableGroupsCreateVariableWithResponse` | `POST /v3/environment-variable-groups/{id}/environment-variables` |
| `EnvironmentVariableGroupsUpsertVariableWithResponse` | `POST /v3/environment-variable-groups/{id}/environment-variables/{key}` |

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · references/setup.md (reported line 80)May include surrounding context.

md
| `EnvironmentVariableGroupsGetWithResponse` | `GET /v3/environment-variable-groups/{id}/environment-variables` |
| `EnvironmentVariableGroupsCreateVariableWithResponse` | `POST /v3/environment-variable-groups/{id}/environment-variables` |
| `EnvironmentVariableGroupsUpsertVariableWithResponse` | `POST /v3/environment-variable-groups/{id}/environment-variables/{key}` |
| `EnvironmentVariableGroupsVariableDeleteWithResponse` | `DELETE /v3/environment-variable-groups/{id}/environment-variables/{key}` |
| `GetV3ValViewerWithResponse` | `GET /v3/val/viewer` |
| `PostV3ConnectionsSlackTokenWithResponse` | `POST /v3/connections/slack/token` |
| `PostV3ConnectionsGoogleDocsTokenWithResponse` | `POST /v3/connections/google-docs/token` |

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

This markdown file documents multiple write and delete endpoints, including blob deletion, file deletion, project deletion, branch deletion, and environment variable deletion or modification, but it provides no user-facing warning that these operations can alter or permanently remove remote data. Under the markdown-specific SQP-2 criteria, descriptions of behaviors affecting user data or system integrity should disclose those risks.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.