Back to skill

Security audit

gitea

Security checks for vulnerabilities and agentic risk

Overview

This Gitea helper is coherent, but it documents high-impact repository actions without enough safety guardrails for deletion, secrets, and webhooks.

Install only if you want an agent to help administer Gitea through your tea login. Review destructive or persistent commands before use, especially repository deletion, CI/CD secrets, PR merges, and webhooks, and require explicit confirmation for any action that changes server state.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • 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 (3)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The skill explicitly documents a forceful repository deletion command without any cautionary language, confirmation guidance, or recommendation to verify the target repository first. In an agent-skill context, this increases the chance that a user or automation invokes an irreversible destructive action against the wrong repository, causing data loss or service disruption.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The skill describes creating action secrets but does not warn that the values are sensitive credentials that must not be logged, echoed, hardcoded, or exposed in shell history. In an agent-driven workflow, this omission can lead to accidental secret disclosure through prompts, transcripts, command history, or CI configuration misuse.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The webhook example creates an outbound integration to an arbitrary external URL without warning that repository event payloads may contain sensitive metadata or trigger untrusted systems. In this context, users may unknowingly exfiltrate repository activity data or create a persistence/integration point to an attacker-controlled endpoint.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.