Skip to content

    Prompt Injection Canary

    Reading time: 2 min.Editorially reviewed on:

    Definition

    An artificial marker warns of unwanted processing.

    A prompt injection canary is a deliberately placed, non-critical marker whose unexpected appearance may indicate a breached boundary or disclosure.

    Simply explained

    Like a test seal whose movement shows that someone has accessed a location.

    Why it matters in practice

    Such markers can complement security tests and monitoring.

    Example from business

    A hypothetical test checks whether an internal artificial term appears in the output despite instructions to the contrary.

    Limits and pitfalls

    • A missing marker does not prove security; real secrets must not be used as test markers.

    Origin & history

    The term adopts the canary principle from security monitoring and testing.

    Use in mid-sized companies

    • Use only synthetic markers and verify every alert against the actual process.

    Frequently asked questions

    Does it detect every attack?

    No, it is a limited warning signal.

    Sources

    Editorially reviewed on:

    On this page

    Next step

    Put knowledge into practice