Logo di Security Alert

Security Alert

Organizzazione
opendatahub-io
security-alert

Use this skill to filter a pre-fetched set of Hacker News stories down to those that report supply-chain security threats relevant to the Red Hat / RHEL ecosystem, Python (PyPI/pip), or JavaScript/TypeScript (npm/yarn/pnpm). Reads stories from stories.json in the workspace, performs semantic analysis (fetching HN threads when the title alone is ambiguous), and writes the stories worth alerting on to findings.json.

Panoramica

Pubblicato daopendatahub-io
Repositoryai-helpers
Nome della skillsecurity-alert
Stelle
39
Fork
76
File inclusi
Solo istruzioni
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da opendatahub-io su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Security Alert in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/opendatahub-io/ai-helpers/tree/main/plugins/odh-security/skills/security-alert
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/opendatahub-io/ai-helpers.git /tmp/ai-helpers
mkdir -p .claude/skills
cp -r /tmp/ai-helpers/plugins/odh-security/skills/security-alert .claude/skills/security-alert
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Security Alert in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Security Alert non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Security Alert non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Security Alert: Developer Supply-Chain Threat Filter

Read a set of Hacker News stories and decide which ones are worth alerting on — meaning they plausibly report a supply-chain threat that affects the Red Hat / RHEL ecosystem, Python, or JavaScript/TypeScript. Write those stories to findings.json.

The pipeline controls when this skill runs and has already built the candidate story list. The scope here is semantic analysis only — do not re-fetch or reorder the candidate list, manage state, check registries, or post to Slack. Fetching individual HN thread detail via the Algolia items API is permitted up to the cap in Step 2.

Run the steps below in order. At any early-exit point, stop and take no further action.


Step 1: Read candidate stories

Read stories.json from the workspace:

bash
if [ ! -f stories.json ]; then
  echo '[]' > findings.json
  exit 0
fi
cat stories.json

Each story in the array has:

FieldDescription
idHN item ID (string)
titleStory headline
urlLinked article URL, or HN thread URL if no external link
hn_urlDirect HN thread link

If the array is empty, stop here and write an empty findings array to findings.json.


Step 2: Filter each story

Apply two independent tests to each story. A story must pass both to be included. This is a judgment call — do not rely on keyword matching alone.


Test A — Ecosystem relevance (scope gate)

The story must directly involve one of these ecosystems:

Python

  • PyPI packages, pip, pipenv, Poetry, conda, or any Python-specific tooling or runtime
  • Python-language libraries, frameworks, or build tools (e.g. setuptools, wheel, twine)

JavaScript / TypeScript

  • npm, yarn, pnpm, Bun, Deno, or any JS/TS package registry or runtime
  • Node.js tooling, bundlers (webpack, Vite, Rollup, esbuild), or JS/TS-language libraries and frameworks

Red Hat / RHEL ecosystem

  • RHEL, Fedora, CentOS Stream, or RPM-based package repositories (dnf, rpm, COPR, official Red Hat repos)
  • Red Hat products and platforms: OpenShift, OKD, Ansible, Ansible Galaxy/Automation Hub, Quay.io, Podman, Buildah, RHACS, Satellite, Insights, or any registry.redhat.io / registry.access.redhat.com image
  • Red Hat developer tooling: CodeReady, Developer Hub, RHDH, RHEL AI, InstructLab, or official Red Hat SDKs

Exclude stories where the affected ecosystem is clearly something else entirely — Go modules, Rust crates, Ruby gems, Java/Maven, .NET NuGet, Swift, Dart, PHP Composer, etc. — even if the attack technique is novel or interesting.

Ecosystem uncertain? If you cannot confirm the story touches one of the three ecosystems above (even after reading the HN thread), exclude it. Reducing false positives is the priority here.


Test B — Supply-chain attack (threat gate)

The story must also describe an adversarial attack on the software supply chain itself — the dependency, build, or distribution infrastructure has been compromised or weaponized. Specifically:

Malicious or typosquatted packages

  • A package published to npm, PyPI, or another in-scope registry that contains malicious code, credential theft, data exfiltration, or unexpected execution at install or import time
  • A typosquatting campaign or dependency confusion attack

Compromised maintainer accounts or signing keys

  • A registry account taken over to push unauthorized code
  • Package signing keys stolen or misused

Backdoors in open-source dependencies

  • Malicious code inserted into a library, framework, or tool that developers pull as a dependency

Attacks on source code repositories or CI/CD infrastructure

  • Poisoned build steps, compromised CI runners, leaked secrets in pipelines, or unauthorized pushes to a repository
  • A compromised artifact registry, container registry, package mirror, or signing infrastructure

Dependency confusion or namespace hijacking

  • An attacker claiming an internal package name on a public registry

Exclude stories about:

  • IDEs, editors, or tools generating code with insecure patterns — code quality, not a supply-chain attack
  • Platform outages or auth incidents — operational, not adversarial
  • Project governance or policy decisions
  • General vulnerability disclosures that affect only end-users and not the dependency supply chain (e.g. a browser RCE, an OS privilege escalation in an unrelated OS)
  • General data breaches unrelated to developer tooling or source code
  • Security research or proof-of-concept disclosures with no active exploitation of a supply-chain vector
  • Geopolitical or policy news

The test: has the dependency, build, or distribution pipeline been adversarially compromised or weaponized in an in-scope ecosystem? If either part of that test fails, exclude the story.


Fetch the HN thread for any story that is not immediately obvious noise (title makes it unambiguously out of scope). Cap total thread fetches at 15 per run — if you reach the cap, exclude remaining ambiguous stories rather than including them unchecked.

bash
curl -sf "https://hn.algolia.com/api/v1/items/<id>"

If this exits non-zero or returns no data (network error, timeout), decide based on the title alone and proceed — do not let a single fetch failure block the run.

While reading the thread:

  • Apply both tests and decide whether to include this story.
  • Summarize the linked article or post in one sentence. Capture what happened, what was compromised, and who is affected. Store as article_summary.

When uncertain about ecosystem relevance (Test A), exclude. When uncertain about whether a confirmed in-scope story describes a real supply-chain attack (Test B), include — a missed real threat is worse than one extra alert.


Step 3: Write findings.json

Write an array of the stories worth alerting on to findings.json. Write an empty array if no stories were relevant.

Each object:

json
{
  "hn_id":             "<HN story ID>",
  "package":           "<named package or tool, or empty string if none>",
  "registry":          "npm" | "pypi" | "",
  "versions_affected": "<version range, 'unknown', or empty>",
  "article_summary":   "<one sentence: what happened, what was compromised, who is affected>",
  "hn_title":          "<story headline>",
  "hn_url":            "<https://news.ycombinator.com/item?id=...>"
}

For stories without a specific npm/PyPI package (e.g. a compromised VSCode extension, a GitHub breach, a CI/CD attack): leave package, registry, and versions_affected as empty strings. The article_summary is the primary signal — make it count.

Write the array to findings.json in the workspace and validate it:

bash
cat > findings.json << 'EOF'
[
  { ... }
]
EOF
jq . findings.json >/dev/null

Error handling

ScenarioBehavior
stories.json missingWrite [] to findings.json; exit 0
stories.json present but empty arrayWrite [] to findings.json; stop
Thread fetch fails (curl non-zero)Decide on title alone; proceed
No stories are relevantWrite [] to findings.json; stop
Uncertain about ecosystem (Test A)Exclude it
Uncertain about threat type (Test B), ecosystem confirmedInclude it

Domande frequenti

Cosa fa la skill IA Security Alert?

Use this skill to filter a pre-fetched set of Hacker News stories down to those that report supply-chain security threats relevant to the Red Hat / RHEL ecosystem, Python (PyPI/pip), or JavaScript/TypeScript (npm/yarn/pnpm). Reads stories from stories.json in the workspace, performs semantic analysis (fetching HN threads when the title alone is ambiguous), and writes the stories worth alerting on to findings.json.

Perché usare Security Alert su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Security Alert è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Security Alert in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/opendatahub-io/ai-helpers/tree/main/plugins/odh-security/skills/security-alert. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Security Alert?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Security Alert?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Security Alert: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Security Alert è gratuita?

Sì. È pubblicata su GitHub da opendatahub-io con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇