Intent-Code Divergence
Low
- Confidence
- 97% confidence
- Finding
- The file defines a `_mask_secrets` helper specifically intended to redact credential-like values from log text, but `get_step_log()` and `_read_s3_gzip_log()` return raw log lines without invoking it. EMR step logs commonly contain command lines, Spark/Hive configs, environment variables, stack traces, and accidental credential material, so returning them unredacted can expose secrets to downstream users or agents.
