cybersecurity-concept
Skill4 starsChanged 15 days agoMITView on GitHub
Turn approved cybersecurity goals into the cybersecurity concept and carry it into development (ISO/SAE 21434 clauses 9.5, 10 and 11): cybersecurity controls and requirements derived from each goal, requirements on the operational environment, their allocation to system or software elements, security relevance carried down to design, code and tests, verification of the specifications, integration and verification with methods chosen for cybersecurity, and validation of the goals. Use when goals are approved and no requirement is derived from them (COV-59), when security relevance does not follow the goals (COV-60), when goals lack validation (COV-62), or when a goal or a security-relevant requirement changes.
In this repository38 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- aspice-startSkill
- baselineSkill
- change-requestSkill
- component-qualificationSkill
- cybersecurity-planSkill
- documentsSkill
- haraSkill
- import-inputsSkill
- mock-assessmentSkill
- next-stepSkill
- problem-resolutionSkill
- process-gateSkill
- project-planSkill
- project-statusSkill
- quality-assuranceSkill
- releaseSkill
- reviewSkill
- risk-managementSkill
- safety-analysisSkill
- safety-conceptSkill
- safety-planSkill
- supplier-monitoringSkill
- sw-architectureSkill
- sw-detailed-designSkill
- sw-integration-testSkill
- sw-qualification-testSkill
- sw-requirementsSkill
- sw-unit-implementSkill
- sw-unit-verifySkill
- sys-architectureSkill
- sys-integration-testSkill
- sys-qualification-testSkill
- sys-requirementsSkill
- taraSkill
- trace-checkSkill
- vulnerability-managementSkill
- work-breakdownSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 4 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 30
Run python tools/traceability.py status, python tools/traceability.py check and python tools/traceability.py clauses.
- Very specific: line 38
Read references/concept.md.
- Very specific: line 54
Run python tools/traceability.py impact <CSG-ID> for each goal and list the items below it.
- Very specific: line 58
Ask for the coding rules and design notations the project uses for security-relevant code (for example MISRA C and a secure coding …
- Distinctive: line 78
Do not change items of other levels here: propose, and name the skill that owns them.
- Very specific: line 82
Run python tools/traceability.py check and python tools/traceability.py clauses 9.
- Distinctive: line 97
Do not choose a control or a verification method for the user.
- Distinctive: line 98
Do not mark an item security-relevant or not in anyone's name.
- Distinctive: line 99
Do not derive requirements from a goal that is not approved, and do not edit a goal received from the customer.
≈ “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.
Files
Cybersecurity concept and development (ISO/SAE 21434 clauses 9.5, 10, 11)
Toolkit root:
${CLAUDE_PLUGIN_ROOT}- where this shows a placeholder instead of a folder, it is the repository you are in. Thetools/,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 aspython "<toolkit root>/tools/<script>.py".
Decides with the user how each cybersecurity goal is achieved - which technical or
operational controls, which requirements on the item, its components and its
environment - and makes sure the engineering processes carry those requirements down:
allocated in the architecture, marked security-relevant, designed, implemented,
verified and, at vehicle level, validated. Requirements are the existing
system-requirement and software-requirement items with derived_from the goal; the
engineering skills do the work at each level, this skill keeps the thread.
| Subclause | What this skill does | Evidence it leaves |
| 21434:9.5 Cybersecurity concept | proposes controls per goal; drafts requirements derived from the goal and requirements on the operational environment; the allocation follows in the architecture | requirements with derived_from a goal (WP-09-06); COV-59; their review (WP-09-07) through /review |
| 21434:10.4.1 Design | carries security relevance down the architecture, design and code; asks for the coding rules and design notations; records weaknesses found | security_relevant on derived and allocated items (WP-10-01); COV-60; conventions in project.yaml (WP-10-03); weakness items (WP-10-05) |
| 21434:10.4.2 Integration and verification | makes sure the integration and qualification tests cover the security-relevant items, with methods chosen for cybersecurity | test cases verifying security-relevant items (WP-10-06); runs (WP-10-07) |
| 21434:11 Cybersecurity validation | asks for a system qualification test per goal where clause 11 is in scope | system qualification tests that verify goals (WP-11-01); COV-62 |
Before you start
- No
project.yaml: stop. "This project has no scope yet. Run/aspice-startfirst." - None of the clauses 9, 10, 11 under
scope.cybersecurity: say so and stop. - Run
python tools/traceability.py status,python tools/traceability.py checkandpython tools/traceability.py clauses. ReadCOV-59,COV-60,COV-62. - Goals not approved: say that the concept builds on approved goals and name
/tara(or/import-inputsfor goals received from the customer). Do not derive from drafts.
Steps
1. Controls per goal (9.5)
- Read
references/concept.md. For each approved goal, show it with the threat scenarios it addresses (show <CSG-ID>,tara) and propose controls: what protects the asset on each attack path. Ask the user to choose; a control is a design decision when alternatives were weighed:/sys-architectureor/sw-architecturerecords it. - Requirements on the operational environment (what the vehicle, the backend or the workshop has to provide) are requirements allocated to an external system element.
2. Requirements (9.5, 10.4.1)
- Draft the requirements:
system-requirementwhere SYS.2 is in scope, otherwisesoftware-requirement; eachderived_fromthe goal,security_relevant: true, stating what is protected, not how. The conventions of/sys-requirementsor/sw-requirementsapply, and so does their checklist. - Allocation:
/sys-architectureor/sw-architecture. Elements that fulfil a security-relevant requirement are security-relevant themselves (COV-60).
3. Security relevance downwards (10.4.1)
- Run
python tools/traceability.py impact <CSG-ID>for each goal and list the items below it. Items withoutsecurity_relevant: trueare reported byCOV-60once they derive from or fulfil a security-relevant item; propose the change, the owner of the item decides through the skill of its level. - Ask for the coding rules and design notations the project uses for security-relevant
code (for example MISRA C and a secure coding standard) and where they are recorded
(
conventionsinproject.yaml,/aspice-start). - A weakness found in design, code or review is recorded as a
weaknesswithfound_by: designorreview:/vulnerability-management.
4. Integration, verification and validation (10.4.2, 11)
- For each security-relevant requirement, check that a qualification or integration
test verifies it (
matrix). Ask which methods the plans name for cybersecurity: requirements-based tests, interface tests, fuzzing, penetration tests, resource tests. Missing methods are a change of the integration or qualification plan:/sw-integration-test,/sw-qualification-test,/sys-integration-test. - Clause 11 in scope: each goal needs a system qualification test that
verifiesit (COV-62), specified with/sys-qualification-testand run on the vehicle.
Writing
- Show each requirement before writing it and ask: "May I write SWR-NNNN in
spec/software/requirements/?" IDs frompython tools/record.py next-id <type>; statusdraft; approval through/review. - Do not change items of other levels here: propose, and name the skill that owns them.
Checks before you finish
Run python tools/traceability.py check and python tools/traceability.py clauses 9.
FORMAT,SCHEMA,LINKon items written in this session: fix them.COV-59,COV-60,COV-62: report each with what closes it.
Hand-over
- The subclause table with what was done and what is open.
- Per goal: its requirements, their allocation, the tests that verify them, as
matrixandshowprint them. - Decisions still owed: controls, methods of verification, coding rules.
- Next:
/reviewfor the requirements; the architecture, design and test skills named above;/vulnerability-managementfor weaknesses found.
Do not
- Do not choose a control or a verification method for the user.
- Do not mark an item security-relevant or not in anyone's name; propose it.
- Do not derive requirements from a goal that is not approved, and do not edit a goal received from the customer.
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
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.

