Skip to content

Secret found: OAuth Token in tests/test_vuln_155.py #174

@jgutierrezdtt

Description

@jgutierrezdtt

Repository: https://github.com/jgutierrezdtt/python-secrets-vuln-test
File: tests/test_vuln_155.py
Line: 2

Type: OAuth Token
Recommendation: Secret embedded in test file.

Suggested remediation steps:

  1. Rotate the exposed secret immediately.
  2. Remove the secret from the repository and replace it with a secure retrieval method (environment variables, secrets manager).
  3. Invalidate any leaked credentials if applicable.

Reference: https://docs.github.com/en/code-security/secret-scanning/secret-scanning

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions