agentleFS
LieubkLieubk/automotive-safety-security-assurance-kit/.claude/skills/vulnerability-management/SKILL.md

vulnerability-management

Skill4 starsChanged 15 days agoMITView on GitHub

Continual cybersecurity activities of ISO/SAE 21434 (clause 8): the monitoring plan with sources and triggers, collection and triage of cybersecurity information, evaluation of cybersecurity events, weaknesses recorded and analysed for exploitability, vulnerabilities rated with the risk matrix of the cybersecurity plan and treated - corrected through a change request, shared or retained in a claim, handed to incident response - and closed with evidence. Also the weaknesses found during development. Use when clause 8 is under scope.cybersecurity and no approved plan of kind cybersecurity-monitoring exists (COV-27), when an advisory, a supplier notice, a field report or a test shows a weakness, at the triage dates of the plan, or when the trace check reports COV-61.

6 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use incident-response.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AnthropicSkill

    incident-response

    Run an incident response workflow — triage, communicate, and write postmortem. Trigger with "we have an incident", "production is down", an alert that needs severity assessment, a status update mid-incident, or when writing a blameless postmortem after resolution.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run python tools/traceability.py status and python tools/traceability.py check, and python tools/traceability.py list --type weakness.

    line 29
  2. Very specific:

    Read references/monitoring.md.

    line 40
  3. Distinctive:

    Do not decide that a weakness is not a vulnerability, or how a vulnerability is treated, in anyone's name.

    line 111
  4. Distinctive:

    Do not close a weakness without the evidence and the person who accepts the closure.

    line 113
  5. Distinctive:

    Do not publish details of an unfixed vulnerability outside the project: say where the plan and the interface agreement allow them to go.

    line 114

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Vulnerability management (ISO/SAE 21434 clause 8)

Toolkit root: ${CLAUDE_PLUGIN_ROOT} - where this shows a placeholder instead of a folder, it is the repository you are in. The tools/, schema/, aspice/, iso-26262/, iso-sae-21434/, examples/ and .claude/docs/ named here and in the references lie in the toolkit root; run its tools from the project folder as python "<toolkit root>/tools/<script>.py".

Keeps watching what is known about weaknesses of the item's parts for as long as the item is supported, decides for each finding whether the item is affected and whether it can be exploited, and sees that every vulnerability is treated by its risk. A weakness item carries one finding from report to closure; its lifecycle is that of a problem report (open, analysed, in-resolution, resolved, closed, rejected).

SubclauseWhat this skill doesEvidence it leaves
21434:8.3 Cybersecurity monitoringdrafts the monitoring plan; at each triage, compares what came in with the triggersplan of kind cybersecurity-monitoring (WP-08-01, WP-08-02); COV-27
21434:8.4 Cybersecurity event evaluationrecords each event with its triage, relevant or not, and for a relevant one the weaknesses it showscybersecurity-event (WP-08-03); weakness with found_by, source, derived_from the event (WP-08-04); COV-78
21434:8.5 Vulnerability analysisanalyses exploitability with attack paths; a weakness that is not a vulnerability gets the reasonvulnerability, attack_paths, Analysis (WP-08-05)
21434:8.6 Vulnerability managementrates the risk, has the responsible person decide the treatment, follows it to closureimpact, feasibility, risk_value from the plan's matrix, treatment, change request, problem report, corrected_by or claim, closure (WP-08-06); COV-61
21434:10.4.1, 10.4.2 Weaknesses in developmentrecords weaknesses found in design, review or test the same wayweakness with found_by: design, review or test (WP-10-05)

Before you start

  1. No project.yaml: stop. "This project has no scope yet. Run /aspice-start first."
  2. Neither clause 8 nor clause 10 under scope.cybersecurity: say so and stop.
  3. Run python tools/traceability.py status and python tools/traceability.py check, and python tools/traceability.py list --type weakness. Read COV-27 for kind cybersecurity-monitoring and COV-61. COV-53 for subclauses 8.3 to 8.6 means the cybersecurity plan has no decision for them yet (clause 8 was added to the scope): /cybersecurity-plan adds the entries first, and the changed plan goes through /review.
  4. The risk of a vulnerability is rated with the cybersecurity plan's tara_method: if there is no approved plan, say so; record and analyse anyway, rate later.

Steps

1. Monitoring plan (8.3)

  • Read references/monitoring.md. Ask for the sources (supplier notices, vulnerability databases, research, the project's own tests and field data), how often each is read, the triggers, and who triages. Draft the plan of kind cybersecurity-monitoring.
  • The parts that come from outside are the components of origin supplied, third-party or reused (list --type software-component), with their versions: name them in Scope so that triggers can match.

2. Triage and events (8.3, 8.4)

  • At each triage the user brings what came in. Compare each piece with the triggers and the components and versions of the item. Say for each why it is or is not an event for the item; the user confirms.
  • Record every event as a cybersecurity-event (state open; received_at, source, trigger), also one that turns out not to concern the item: the record shows that the source was read. The triage - relevant with the reason in Triage, triaged_by - is the responsible person's; state answered.
  • For a relevant event, record one weakness per weakness of the item it shows: found_by, source with the identifier of the advisory or report, reported_at, affects the components or units concerned, derived_from the event, state open. The event is closed once its weaknesses exist (COV-78).

3. Analysis (8.5)

  • Propose attack paths from an entry point of the item definition to the weakness and rate their feasibility by the plan's approach. Set vulnerability: true or false with the user; for false, Analysis says why it cannot be exploited in this item. State analysed; a weakness that is not a vulnerability may then be rejected with that reason, or closed.

4. Treatment (8.6)

  • Rate the risk with the plan's matrix: write impact (the damage scenarios of the threat scenarios it touches give it: tara) and feasibility (its easiest attack path), and risk_value as the matrix gives it - check compares them (COV-61). Ask the person responsible for cybersecurity for the treatment:
    • reduce: a change of baselined items is a change request that resolves the weakness (/change-request); a correction not yet baselined is a problem report that affects it (/problem-resolution); a correction in a component the project does not baseline (the supplier's or the customer's) is named in corrected_by with the release and when it is integrated;
    • share or retain: a cybersecurity-claim that addresses it (/tara);
    • an incident in the field: the incident response plan applies.
  • Where the vulnerability shows a threat the TARA lacks, /tara adds the threat scenario. State in-resolution once the treatment is chosen.

Review weaknesses with .claude/docs/checklists/weakness.md.

5. Closure

  • Closed only when the person who accepts it states that the treatment works, with the evidence (a test run, a review, the release): closure with accepted_by, accepted_at, evidence.

Writing

  • Show each item before writing it and ask: "May I record WKN-NNNN in records/cybersecurity/?" IDs from python tools/record.py next-id weakness.
  • A weakness is never deleted; a wrong one is rejected with the reason.

Checks before you finish

Run python tools/traceability.py check.

  • FORMAT, SCHEMA, LINK on items written in this session: fix them.
  • COV-61: report each with what closes it.

Hand-over

  1. The subclause table with what was done and what is open.
  2. The open weaknesses with state, vulnerability, risk value and treatment.
  3. Decisions still owed: exploitability, treatment, closure.
  4. Next: /change-request, /problem-resolution or /tara as the treatment requires; /review for the monitoring plan.

Do not

  • Do not decide that a weakness is not a vulnerability, or how a vulnerability is treated, in anyone's name.
  • Do not close a weakness without the evidence and the person who accepts the closure.
  • Do not publish details of an unfixed vulnerability outside the project: say where the plan and the interface agreement allow them to go.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.