Skip to main content

show-hn-draft

Drafts optimized Show HN and Reddit posts from live repo data, enhancing project visibility and engagement.

Install this skill

or
0/100

Security score

The show-hn-draft skill was audited on May 30, 2026 and we found 15 security issues across 1 threat category, including 13 high-severity. Review the findings below before installing.

Categories Tested

Security Issues

high line 8

Template literal with variable interpolation in command context

SourceSKILL.md
8> **${var}** — Optional. If empty: write the default trio (Show HN + r/MachineLearning + r/selfhosted). If set to one of `show-hn`, `r/MachineLearning`, `r/selfhosted`: regenerate that single variant
high line 22

Template literal with variable interpolation in command context

SourceSKILL.md
22- `${var}` empty → generate all three: `show-hn`, `r/MachineLearning`, `r/selfhosted`.
high line 23

Template literal with variable interpolation in command context

SourceSKILL.md
23- `${var}` = `show-hn` → regenerate the Show HN block only.
high line 24

Template literal with variable interpolation in command context

SourceSKILL.md
24- `${var}` = `r/MachineLearning` or `r/selfhosted` → regenerate that block only.
high line 25

Template literal with variable interpolation in command context

SourceSKILL.md
25- Any other value → log `SHOW_HN_DRAFT_BAD_VAR: ${var}` and exit without notifying.
high line 27

Template literal with variable interpolation in command context

SourceSKILL.md
27When regenerating a single variant, read the existing `articles/show-hn-draft-${today}.md` if present, replace only the matching section, and rewrite the file. If no file exists, generate just the req
high line 66

Template literal with variable interpolation in command context

SourceSKILL.md
66Write to the `## Show HN` section of `articles/show-hn-draft-${today}.md`.
high line 121

Template literal with variable interpolation in command context

SourceSKILL.md
121Append a `## Launch checklist` section to `articles/show-hn-draft-${today}.md`. Plain checklist for the operator — not for the agent. Do **not** post this to HN/Reddit; it lives in the draft file only
medium line 138

Template literal with variable interpolation in command context

SourceSKILL.md
138```
high line 153

Template literal with variable interpolation in command context

SourceSKILL.md
153If only one variant was regenerated (because `${var}` was set), say `Variants regenerated: ${var}` instead, and quote the regenerated section's first paragraph instead of the Show HN one (so the opera
high line 157

Template literal with variable interpolation in command context

SourceSKILL.md
157Append to `memory/logs/${today}.md`:
medium line 159

Template literal with variable interpolation in command context

SourceSKILL.md
159```
high line 186

Template literal with variable interpolation in command context

SourceSKILL.md
186- **Already-drafted-today rerun, `${var}` empty** — overwrite the existing file. Log a `_Regenerated: previous draft superseded_` line at the top of the new file. The previous draft is in git history
high line 187

Template literal with variable interpolation in command context

SourceSKILL.md
187- **Already-drafted-today rerun, `${var}` set to one variant** — patch only that section; preserve the others byte-for-byte (round-trip read → replace section → write).
high line 188

Template literal with variable interpolation in command context

SourceSKILL.md
188- **Stars fetch failed AND no recent repo-pulse article** — set the headline number placeholder to `${current_stars}` literally and emit `SHOW_HN_DRAFT_PARTIAL`. The operator must fill it before posti
Scanned on May 30, 2026
View Security Dashboard
Installation guide →