T09 · Insecure Skill Coding Practices
- Location
main.py:84- Finding
Undisclosed Plaintext Conversation Retention
- Content
View full analysis
str: """Verarbeitete eine Benutzeranfrage mit Token-Awareness.""" try: prompt = prompt[:MAX_INPUT_CHARS] conversation = load_conversation() answer = run_query(prompt, conversation) conversation.extend([ {"role": "user", "content": prompt}, {"role": "assistant", "content": answer} ]) save_conversation(conversation) return answer except Exception as e: logger.error(f"Verarbeitungsfehler: {str(e)}") return f"Verarbeitungsfehler: {str(e)}" ``` ### Technical Analysis Every user prompt and corresponding model response is saved to `conversation.json` in plaintext. The file is created using the process's default permissions, with no explicit restrictive mode, encryption, secret redaction, retention expiration, or user-controlled opt-out. The declar ...[truncated 1479 chars]- Remediation
View remediation
