Skip to content

Security: datnguye/dbterd

SECURITY.md

πŸ”’ Security Policy

Keeping dbterd safe and secure for everyone

We take the security of dbterd seriously and appreciate your help in keeping our community safe.


πŸ“‹ Table of Contents


πŸ›‘οΈ Supported Versions

We maintain security updates only for the latest version of dbterd:

Version Support Status Security Updates Notes
Latest βœ… Fully Supported βœ… Active Current stable release
All Previous ❌ Not Supported ❌ None Please upgrade to latest

Important

Security Policy: Only the latest version receives security updates. Please upgrade to the newest release for security patches and bug fixes.


🚨 Reporting a Vulnerability

We appreciate responsible disclosure of security vulnerabilities. Your efforts help keep the dbterd community safe.

πŸ” Private Reporting (Recommended)

The most secure way to report vulnerabilities is through GitHub's private vulnerability reporting system:

  1. Navigate to: Report Security Vulnerability
  2. Use Title Format: [SECURITY] Brief description of the issue
  3. Fill out all required fields with detailed information
  4. Submit - Only maintainers will have access to your report

πŸ“§ Alternative Reporting Methods

If GitHub's private reporting is unavailable:

  • Security Advisory: Create New Advisory
  • Direct Contact: Reach out to maintainers through secure channels

πŸ“‹ What to Include in Your Report

To help us address the vulnerability quickly, please include:

Required Information:

  • Vulnerability Type: (e.g., injection, authentication bypass, data exposure)
  • Affected Components: Specific modules, functions, or endpoints
  • Attack Vector: How the vulnerability can be exploited
  • Impact Assessment: Potential consequences of exploitation
  • Affected Versions: Which versions are vulnerable

Helpful Additions:

  • Proof of Concept: Step-by-step reproduction steps
  • Suggested Fix: If you have ideas for remediation
  • CVSS Score: If you've calculated one
  • References: Related CVEs or security advisories

⏱️ Response Timeline

We are committed to responding promptly to security reports:

Timeline Action
24 hours Initial acknowledgment of your report
72 hours Preliminary assessment and triage
7 days Detailed analysis and response plan
30 days Resolution target for most vulnerabilities

Note

Complex vulnerabilities may require additional time. We'll keep you informed throughout the process.

Response Process:

  1. Acknowledge receipt of your report
  2. Validate and reproduce the vulnerability
  3. Assess impact and severity
  4. Develop and test patches
  5. Coordinate disclosure timeline
  6. Release security updates
  7. Publish security advisory (if applicable)

πŸ› οΈ Security Best Practices

For Users

Installation & Updates:

  • βœ… Always install from official sources (PyPI: pip install dbterd)
  • βœ… Keep dbterd updated to the latest version
  • βœ… Regularly update dependencies: pip install dbt-artifacts-parser --upgrade
  • βœ… Use virtual environments to isolate dependencies

Configuration Security:

  • πŸ” Never commit credentials or API keys to version control
  • πŸ” Use environment variables for sensitive configuration
  • πŸ” Implement proper access controls for dbt artifact files
  • πŸ” Review generated ERDs before sharing publicly

Runtime Security:

  • πŸ›‘οΈ Run dbterd in secure, isolated environments
  • πŸ›‘οΈ Limit file system access permissions
  • πŸ›‘οΈ Monitor for unusual activity or errors
  • πŸ›‘οΈ Validate input files before processing

For Contributors

Development Security:

  • πŸ”’ Follow secure coding practices
  • πŸ”’ Never commit secrets, keys, or credentials
  • πŸ”’ Use dependency scanning tools
  • πŸ”’ Implement input validation and sanitization
  • πŸ”’ Write security-focused tests

Code Review Requirements:

  • πŸ‘₯ All changes require security-aware code review
  • πŸ‘₯ Pay special attention to file I/O operations
  • πŸ‘₯ Validate any external dependencies
  • πŸ‘₯ Test with malformed/malicious inputs

πŸ† Security Acknowledgments

We believe in recognizing those who help improve our security:

Hall of Fame - Security researchers who have responsibly disclosed vulnerabilities:

  • Your name could be here! We appreciate responsible disclosure.

Recognition Process:

  • Public acknowledgment in release notes
  • Credit in security advisories
  • Optional listing in this document
  • Our heartfelt gratitude! πŸ™

πŸ“ž Contact Information

Security Team:

For Non-Security Issues:


πŸ”’ Security is a shared responsibility

Thank you for helping keep dbterd secure for everyone!


Last Updated: June 2024 | Policy Version: 2.0

There aren’t any published security advisories