Back to skill

Security audit

Codeberg cli

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward Codeberg CLI helper, but users should be careful with token scope and state-changing repository or team commands.

Install only if you intend to let the agent help with Codeberg via `x cb`. Use a least-privilege Codeberg token, avoid exposing it in prompts or logs, and review/confirm commands that create repositories, issues, pull requests, collaborators, or teams.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Vague Triggers

Medium
Confidence
94% confidence
Finding
The manifest description uses very broad trigger language such as firing when a user merely 'mentions Codeberg' or is working with Codeberg repositories, issues, organizations, or teams. This can cause the skill to activate in routine conversational contexts and steer the agent toward authenticated repository actions without a sufficiently narrow intent match, increasing the chance of unintended access or modification operations.

Missing User Warnings

Medium
Confidence
92% confidence
Finding
The skill instructs users to obtain a Codeberg token and documents authenticated operations like repository creation, collaborator changes, PR creation, and team management, but provides no warning about the scope and sensitivity of that credential. In an agent setting, this raises the risk of over-privileged token use, accidental account-wide changes, or token exposure through logs, prompts, or misuse of the documented commands.

Static analysis

No suspicious patterns detected.