T09 · Insecure Skill Coding Practices
- Location
skills/flink-conn/kafka/SKILL.md:123- Finding
Kafka passwords exposed through command-line arguments
- Content
View full analysis
--name --bootstrap-servers --security-protocol SASL_PLAINTEXT --sasl-mechanism PLAIN --username --password --set-default ``` ### Technical Analysis The skill instructs users or an executing agent to supply Kafka passwords directly through the `--password` process argument. Although the examples use sample values and placeholders, users are expected to replace them with real credentials. Command-line secrets can be exposed through: - Shell history files. - Process inspection utilities and process telemetry. - Terminal session recording. - Debug logs and command auditing. - Agent execution transcripts. - CI/CD logs or orchestration metadata. This behavior directly contradicts the repository policy in `COMMON_SECURITY.md`, which states that secrets should not be placed in command-line arguments when avoidable and that commands capable of exposing secrets through shell histo ...[truncated 1262 chars]- Remediation
View remediation
