Skip to content

Prompt injection surface: customInstructions flows directly into LLM system prompt #91

@ether-btc

Description

@ether-btc

The customInstructions field in the LLM personality config (via /api/config-update) flows directly into the system prompt without sanitization. An attacker with config-write access could inject a prompt that exfiltrates task details or modifies agent behavior.

Severity: High

Fix: Treat customInstructions as untrusted input — escape or restrict what can be injected into the system prompt.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions