Skip to content

Security: ahmetvural79/tunr

Security

SECURITY.md

Security Policy

Welcome to Tunr πŸ‘‹

tunr is an open-source project. This means both great things (community contributions!) and great responsibility (security!).

Supported Versions

Version Security Support
0.x (pre-release) βœ… Active
Development βœ… Active

Reporting a Security Vulnerability

Please do NOT publicly disclose security vulnerabilities via GitHub Issues.

Doing so could put other users at risk. Instead:

Preferred Method: GitHub Private Security Advisory

  1. Go to the "Security" tab of this repository
  2. Click the "Report a vulnerability" button
  3. Fill in the details and submit

Alternative: Email

For encrypted communication:

What to Expect?

Timeframe Expectation
48 hours Report acknowledged, under review
7 days Severity assessment completed
30 days Fix or mitigation plan in place
90 days Fix released (coordinated with CVE if applicable)

In-Scope

We accept reports on the following topics:

  • Auth bypass β€” circumventing token validation
  • SSRF β€” gaining internal network access (especially via tunr share)
  • Path traversal β€” unauthorized file system access
  • Injection β€” OS command injection, log injection
  • Information disclosure β€” token/secret leakage
  • Tunnel hijacking β€” taking over another user's tunnel
  • DoS β€” taking down the service with a single payload

Out-of-Scope

You can open a regular issue for these, but they do not qualify as security advisories:

  • Self-XSS (hacking your own browser yourself)
  • Rate limiting (unless beyond reasonable thresholds)
  • Missing security headers (open as an enhancement request)
  • Social engineering
  • Physical attacks

Secure Development Principles

We follow these guidelines in this project:

  1. Secret management: Tokens are never written to logs; secrets are never stored in plaintext in config files
  2. Input validation: Every CLI argument is validated
  3. Least privilege: No more permissions are requested than necessary
  4. Dependency audit: govulncheck is mandatory in CI
  5. TLS verification: PRs containing InsecureSkipVerify: true are rejected
  6. crypto/rand: math/rand is never used where cryptographic security is required

Dependabot

dependabot.yml is enabled for dependency security updates. Patches for critical CVEs are released within 48 hours.

Hall of Fame

We are grateful to those who report security vulnerabilities. Your name will be listed here πŸ†

(Empty for now β€” maybe you'll be the first?)


This policy is effective as of [Phase 0]. It will be updated as the project evolves.

There aren't any published security advisories