How often does Hacker News discuss prompt injection, month by month?

countsdenominatorstime-series
Answer

One query, one row per month, a real count in each — not ten links.

Methodology

The search line `"prompt injection" source:hackernews` compiles to index-engaging predicates — POST /v1/scry/compile shows the exact WHERE — and scry_lex('…') embeds the same line inside SQL, so the monthly series is a GROUP BY away. A ranked engine has no count at all; every how-common and growing-or-shrinking question is this shape.

Last verified: 2026-08-27

Query

Run this SQL in Scry to reproduce this answer. Paste into Claude Code with the Scry prompt, or call the API directly.

SELECT toStartOfMonth(ts) AS m, countIf(scry_lex('"prompt injection"')) AS mentions FROM internet.text WHERE relation='hackernews.items' AND ts >= '2023-01-01' GROUP BY m ORDER BY m LIMIT 48

Run this query live →

Related questions

Try this query yourself

Create a Scry account, get your personal key from Console, then copy the Scry prompt into Claude Code. Your agent composes the SQL.

Get the Scry prompt