Skip to content

Security: marcioazam/python-api-base

Security

.github/SECURITY.md

Security Policy

Supported Versions

Version Supported
1.x.x
0.x.x

Reporting a Vulnerability

We take security vulnerabilities seriously. If you discover a security issue, please report it responsibly.

How to Report

  1. DO NOT create a public GitHub issue for security vulnerabilities
  2. Email security concerns to: security@example.com
  3. Use GitHub's private vulnerability reporting feature (preferred):
    • Go to the Security tab
    • Click "Report a vulnerability"
    • Fill out the form with details

What to Include

Please include the following information in your report:

  • Type of vulnerability (e.g., SQL injection, XSS, authentication bypass)
  • Full paths of source file(s) related to the vulnerability
  • Location of the affected source code (tag/branch/commit or direct URL)
  • Step-by-step instructions to reproduce the issue
  • Proof-of-concept or exploit code (if possible)
  • Impact assessment of the vulnerability

Response Timeline

  • Initial Response: Within 48 hours
  • Status Update: Within 7 days
  • Resolution Target: Within 90 days (depending on severity)

Severity Classification

Severity CVSS Score Response Time
Critical 9.0 - 10.0 24 hours
High 7.0 - 8.9 48 hours
Medium 4.0 - 6.9 7 days
Low 0.1 - 3.9 30 days

Security Measures

This project implements the following security measures:

  • SAST: Bandit, CodeQL for static analysis
  • SCA: Trivy, Dependabot for dependency scanning
  • Secret Scanning: TruffleHog, Gitleaks
  • Container Scanning: Trivy for Docker images
  • IaC Scanning: Trivy, Checkov for Terraform/Helm
  • SBOM Generation: SPDX and CycloneDX formats

Disclosure Policy

  • We follow coordinated disclosure practices
  • Security advisories will be published via GitHub Security Advisories
  • CVE IDs will be requested for confirmed vulnerabilities
  • Credit will be given to reporters (unless anonymity is requested)

Security Updates

Security updates are released as:

  • Patch releases for non-breaking fixes
  • Security advisories with mitigation guidance
  • Changelog entries with security impact notes

Security Best Practices for Contributors

  1. Never commit secrets, credentials, or API keys
  2. Use parameterized queries for database operations
  3. Validate and sanitize all user inputs
  4. Follow the principle of least privilege
  5. Keep dependencies up to date
  6. Review security scan results before merging

Contact

  • Security Team: security@example.com
  • PGP Key: Available upon request

There aren’t any published security advisories