Logo di Security Assessment

Security Assessment

OrganizzazionePopolare
amd
security-assessment

Valuta una vulnerabilità di sicurezza segnalata in GAIA e compila il triage PSIRT / JIRA: stabilisci se è valida e sfruttabile, se richiede un CVE e un bollettino, quindi produci il punteggio CVSS 4.0, il CWE e la descrizione del CVE. Usalo per esaminare una segnalazione di un ricercatore, un avviso di sicurezza o un risultato di claude-security-audit, ogni volta che devi rispondere a «è un CVE?» o produrre un punteggio, un vettore o un livello di gravità CVSS. CALCOLA sempre il punteggio a partire da un vettore verificato con util/cvss4.py (corrisponde al primo calcolatore 4.0); non indovinare mai il numero: un punteggio CVSS ipotizzato da un LLM non è affidabile.

Add to TypingMind

Panoramica

Pubblicato daamd
Repositorygaia
Nome della skillsecurity-assessment
Stelle
1.6K
Fork
176
File inclusi
Solo istruzioni
LicenzaMIT
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 amd su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Security Assessment 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/amd/gaia/tree/main/.claude/skills/security-assessment
  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/amd/gaia.git /tmp/gaia
mkdir -p .claude/skills
cp -r /tmp/gaia/.claude/skills/security-assessment .claude/skills/security-assessment
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Security Assessment 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 Assessment 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 Assessment 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 Assessment (PSIRT / CVSS triage)

For scoring a reported GAIA vulnerability and filling the PSIRT triage template. The one hard rule: the CVSS number is arithmetic on a reviewed vector, never a guess.

Rule 0 — never guess a CVSS score. Compute it.

The vector is the human judgment call. The number is math. Pick the vector, then run:

bash
python util/cvss4.py "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N"
# -> {"vector": "...", "base_score": 5.3, "severity": "Medium"}

util/cvss4.py is a thin, tested wrapper over the cvss pip package (in the [dev] extra) whose 4.0 output matches https://www.first.org/cvss/calculator/4.0 exactly (anchored in tests/unit/test_cvss4.py). A malformed vector is a loud ValueError, never a silent 0.0.

Why this rule exists (real GAIA cases):

  • An AI triage on the find -exec ticket asserted "CVSS 6.9 Medium" for the vector CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N — which actually computes to 8.4 High.
  • The security-audit workflow's prior anchor: a triage guessed 7.3 for a vector that scores 8.7.

Guessed numbers are off by a full severity band. Always run the tool and quote its output.

The GAIA vector rubric (which metric to pick)

This mirrors the rubric baked into .github/workflows/claude-security-audit.yml (keep the two consistent). Full form: CVSS:4.0/AV:_/AC:_/AT:_/PR:_/UI:_/VC:_/VI:_/VA:_/SC:_/SI:_/SA:_.

  • AV — Network only if untrusted data crosses a network boundary to reach the sink (hub artifact, HTTP request). A local CLI/file input on the same host is Local.
  • AC — Low unless a real, specific condition (not just "attacker must try") is needed.
  • AT — Present if exploitation needs a precondition outside the attacker's control (a specific agent installed, victim points at a non-default hub); else None.
  • PR — None unless GAIA privilege/auth is required to trigger it.
  • UI — This is where GAIA agent-tool findings usually turn. Active if the user must click through a warning or approve a confirmation-gated tool (TOOLS_REQUIRING_CONFIRMATION); Passive if they must merely initiate a command/install; None only if fully automatic. Most run_shell_command / write-tool findings are UI:A because the operator sees and approves the literal command first.
  • VC disclosure/reads · VI writes/tampering · VA crash/DoS. Set the subsequent scope metrics (SC/SI/SA) only if the impact escapes into a separate security scope (VM, container, downstream client) — an in-process capability gain does not.

Incremental-impact check: score the capability the finding adds, not what the tool could already do. The find -exec bypass's novel gain is write/delete/exec (VI/VA); file reads were already reachable via other whitelisted commands under the same path controls, so its VC is Low, not High. Overstating VC:H is what pushed the AI vector to a High score for a Medium-in-practice issue.

The confirmation gate changes the answer to "is this a CVE?"

Many GAIA agent tools are gated behind explicit per-command user approval (TOOLS_REQUIRING_CONFIRMATION in src/gaia/agents/base/agent.py). When the user sees and approves the literal command before it runs, that human-approval step is the real security boundary. A bypass of a secondary control (e.g. an incomplete command allowlist) layered on top of an intact primary control is defense-in-depth hardening, not a standalone exploitable vulnerability — it typically does not warrant a CVE + public bulletin.

Check before deciding:

  • Is the tool in TOOLS_REQUIRING_CONFIRMATION? (grep it.)
  • Does it get denied in non-interactive mode, or only run under an opt-in like GAIA_AUTO_APPROVE_TOOLS=1? The opt-in is a documented, user-accepted risk.
  • Is there a code path (API server, programmatic SDK) that skips the gate? If yes, the gate is not universal and the CVE bar may be met after all — verify, don't assume.

Fix it regardless (defense-in-depth), but let the gate drive the CVE decision.

CWE — name the root cause, not the impact

Rank the root cause first, the consequence second. For the find -exec bypass: CWE-184 (Incomplete List of Disallowed Inputs) is the root cause (the allowlist check is incomplete); CWE-78 (OS Command Injection) is only the consequence. An AI triage that leads with CWE-78 has described the symptom, not the defect.

Filling the PSIRT / JIRA triage

Answer in this order (the template PSIRT sends):

  1. Valid, exploitable vulnerability? Yes/No — be honest about the bypass even if a gate limits it; qualify exploitability rather than denying the weakness.
  2. Needs a CVE ID + public Security Bulletin? Yes/No — apply the confirmation-gate test above. If No, state whether a security brief is required (usually optional).
  3. If new CVE: CVSS 4.0 (Score + Vector — from util/cvss4.py, not guessed), CWE (root-cause first), and CVE description in the required shape: <Weakness> in <component> could allow <attacker> to <exploit> potentially resulting in <CIA>.
  4. Mitigation delivery / AMD deliverables — for a GAIA code fix this is the amd-gaia package (PyPI + GitHub) only; None for PI / SEV FW / uCode / ROCm / Radeon / Adrenalin / uProf / Chipset drivers. Not a Linux-upstream issue.

Then move the JIRA ticket Opened → Assessed.

Worked example — the find -exec triage (2026-07)

Vectorutil/cvss4.py saysNote
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N8.4 Highthe AI's vector — it claimed 6.9
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N5.3 Mediumcorrected: UI:A (approval gate), VC:L (reads already possible), VA:H (-delete)

Both rows are complete vectors — paste either straight into util/cvss4.py.

Outcome: valid weakness, No CVE (confirmation gate is the real boundary), fixed as hardening in PR #2740. The corrected vector — computed, not guessed — lands a full band below the AI's assertion.

Writing it up

The triage you hand back follows CLAUDE.md → How You Communicate: open with the verdict in plain words — is it real, is it exploitable, does it need a CVE — then the CVSS vector, CWE, and evidence underneath. A reviewer deciding whether to file should not have to parse the vector string to learn the answer. State the computed score, never a guessed one.

Domande frequenti

Cosa fa la skill IA Security Assessment?

Valuta una vulnerabilità di sicurezza segnalata in GAIA e compila il triage PSIRT / JIRA: stabilisci se è valida e sfruttabile, se richiede un CVE e un bollettino, quindi produci il punteggio CVSS 4.0, il CWE e la descrizione del CVE. Usalo per esaminare una segnalazione di un ricercatore, un avviso di sicurezza o un risultato di claude-security-audit, ogni volta che devi rispondere a «è un CVE?» o produrre un punteggio, un vettore o un livello di gravità CVSS. CALCOLA sempre il punteggio a partire da un vettore verificato con util/cvss4.py (corrisponde al primo calcolatore 4.0); non indovi...

Perché usare Security Assessment su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Security Assessment è 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 Assessment in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/amd/gaia/tree/main/.claude/skills/security-assessment. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Security Assessment?

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 Assessment?

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

La skill IA Security Assessment è gratuita?

Sì. È pubblicata su GitHub da amd con licenza MIT. 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 👇