False positive in python/ql/src/Security/CWE-312/CleartextLogging.ql
- Lingua principale
- CodeQL
- Stelle
- 10.1k
- Fork
- 2.1k
- Merge medio
- 2g 15h
- PR unite (30g)
- 141
Descrizione
secrets_client.describe_secret(SecretId=secret_name)
secrets_client.delete_secret(SecretId=secret_name, ForceDeleteWithoutRecovery=True)
print(f"Deleted secret '{secret_name}' in region '{region}'")
This expression logs as clear text.
This expression logs as clear text.
Variable name doesn’t represent a secret.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start with python/ql/src/Security/CWE-312/CleartextLogging.ql and reproduce the issue using the Python snippet in the report. Trace why secret_name is treated as a secret despite the report’s naming evidence; done when this example is no longer flagged while genuine cleartext logging remains detected.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- security
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100