Skip to content

Security: William0Friend/megpt

Security

SECURITY.md

Security Policy

Reporting Security Issues

If you discover a security vulnerability in meGPT, please report it responsibly:

DO NOT open a public GitHub issue.

Instead, email: [Create an email or use GitHub Security Advisories]

We'll respond as quickly as possible and work with you to address the issue.

Scope

meGPT is a development/experimentation tool meant to run locally. Security considerations:

In Scope

  • Gateway API vulnerabilities
  • Prompt injection attacks on the gateway
  • Container security issues
  • Dependency vulnerabilities
  • Code execution risks

Out of Scope

  • Issues with upstream projects (Ollama, Open WebUI)
  • General LLM safety (though we provide red-team tools)
  • Physical security of the host machine
  • Network security of your local environment

Security Best Practices

When using meGPT:

  1. Change Default Secrets

    • Update WEBUI_SECRET_KEY in .env
    • Don't use default values in production
  2. Network Isolation

    • Don't expose ports to the internet without authentication
    • Use firewalls and VPNs if remote access needed
    • Consider running in an isolated network
  3. Model Safety

    • Use red-team tools to test model safety
    • Be aware of prompt injection risks
    • Review model outputs before sharing
  4. Keep Updated

    • Regularly update Docker images
    • Pull latest versions of models
    • Update Python dependencies
  5. Monitor Access

    • Review logs for suspicious activity
    • Limit who can access the services
    • Use authentication in Open WebUI

Known Limitations

  • Models can be prompted to generate harmful content
  • Gateway doesn't include authentication by default
  • No rate limiting on API endpoints
  • Model outputs should not be blindly trusted

Responsible Disclosure

We follow responsible disclosure practices:

  1. You report the issue privately
  2. We acknowledge within 48 hours
  3. We work on a fix
  4. We release the fix
  5. We credit you (if desired)
  6. We publicly disclose after fix is available

Security Updates

Security fixes will be:

  • Released as soon as possible
  • Documented in release notes
  • Communicated via GitHub releases

Thank you for helping keep meGPT secure!

There aren’t any published security advisories