Skip to content

jackson2w/claude-code-skills / forgejo-deployment

forgejo-deployment

Unverified

This skill should be used when installing or debugging a self-hosted Forgejo (Gitea fork) git server as a native binary + systemd service — not Docker. Covers the three required secrets (SECRET_KEY/INTERNAL_TOKEN/JWT_SECRET) and the permission-denied crash-loop from a locked-down config file, unattended install without exposing the web setup wizard, why Forgejo's built-in git-SSH server needs firewall-level scoping instead of an app-level bind address, a non-obvious API scope requirement for repo deletion, and Vultr Block Storage's region-locking. Trigger phrases include "forgejo install", "forgejo systemd", "forgejo app.ini", "JWT_SECRET failed loading", "save oauth2.JWT_SECRET failed", "forgejo not supposed to be run as root", "forgejo admin user create", "forgejo random-password", "forgejo generate secret", "forgejo INSTALL_LOCK", "forgejo git-ssh port", "forgejo delete repo API 403", "write:user scope forgejo", "vultr block storage wrong region", "no active instances available in this region", "vultr NVMe block storage not available".

Security report

Unverified

Static analysis of one exact version. It reduces risk and shows evidence; it does not certify that a skill is safe.

Commit
df337688e763edd4364e24e577c1f1321bef6264
Content hash
b67baf16b2356d3e21cc12ca757cc56267dcf6180a252376afce40fcbe44fff7
Scanned
2026-11-17
Scanner version
skillxone-scan-1.0.0
Policy version
0.1-draft
Decision
2 open medium findings to review.
Verification expires
Not applicable

Findings (2 medium, 4 low, 1 info)

  • mediumNET-UPLOAD-LOCAL-DATASKILL.md:85

    A local file is sent to a remote host.

    outside the tailnet (`nc -zv <public-ip> 2222` times out), reachable via the Tailscale IP

    Suggested fix: Make uploads explicit to the user, name the destination, and never send files the task does not need.

    Report as false positive

  • mediumNET-UPLOAD-LOCAL-DATASKILL.md:86

    A local file is sent to a remote host.

    (`nc -zv <tailscale-ip> 2222` succeeds). Clone URL when the SSH port isn't 22:

    Suggested fix: Make uploads explicit to the user, name the destination, and never send files the task does not need.

    Report as false positive

  • lowINT-MISSING-LICENSE

    Neither the skill nor its repository states a license, so the terms of use are unclear.

    Suggested fix: Add a LICENSE file to the repository or a `license` field to SKILL.md.

    Report as false positive

  • lowCMD-SUDOSKILL.md:36

    A command runs with administrator privileges.

    sudo -u git bash -c '/usr/local/bin/forgejo generate secret SECRET_KEY > /tmp/secret_key.txt'

    Suggested fix: Avoid sudo where possible. If it is required, explain why so the user can decide.

    Report as false positive

  • lowCMD-SUDOSKILL.md:81

    A command runs with administrator privileges.

    sudo ufw allow in on tailscale0 to any port 2222 proto tcp comment 'forgejo git-ssh, tailnet only'

    Suggested fix: Avoid sudo where possible. If it is required, explain why so the user can decide.

    Report as false positive

  • lowCMD-SUDOSKILL.md:112

    A command runs with administrator privileges.

    cap_net_bind_service`. Always `sudo -u <run-user> ...` for CLI operations, matching whatever

    Suggested fix: Avoid sudo where possible. If it is required, explain why so the user can decide.

    Report as false positive

  • infoCMD-SUDOSKILL.md:25

    A command runs with administrator privileges. Severity lowered from low because the surrounding text warns against it.

    sudo install -m 755 "forgejo-${VERSION}-linux-amd64" /usr/local/bin/forgejo

    Suggested fix: Avoid sudo where possible. If it is required, explain why so the user can decide.

    Report as false positive

Checks run

  • prompt-injection
  • dangerous-commands
  • credentials
  • network
  • file-access
  • integrity

Checks skipped

  • dependencies: No dependency manifest in the skill directory.
  • gitleaks: gitleaks is not installed on this host.
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 467kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 467kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 467kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 193kUpdated Claude CodeCodexVerifiedInstall