Skill v1.0.1
currentAutomated scan96/100+10 new
version: "1.0.1" name: finding-normalizer description: Convert heterogeneous security evidence into stable pentest finding entries. model_tier: medium triggers:
- workflow:
- pentest
- pentest-retest
- codebase-health
- health-retest
- site-map
- site-map-retest
cacheable: false cache_key_inputs: [] output_format: json input_schema: raw_finding_inputs: type: object required: true description: Structured evidence to normalize into canonical pentest findings.
What It Does
Normalizes evidence from docs, tests, runtime checks, and advisory feeds into stable finding entries with consistent ids, severity, effort, and reproduction data.
Finding-id prefixes recognised by the normalizer are listed under # code-prefix in assets/vocabulary.txt:
PEN-*— pentest findings (security workflow).DT-*— design-test findings (design-system audit workflow). Categories:token | component | state | a11y | responsive | motion | copy | performance | documentation-drift.tokenfindings default to high severity to surface hard-coded design values (hex literals, raw px/rem, ad-hoc font stacks where a token exists).SM-*— site-map findings (site-map / site-map-retest workflow;docs/site-map/<ts>.json). The id is a content-addressedSM-<hash8>; theSM-ADD | SM-REMOVE | SM-EDGE-STALE | SM-GUARD-DRIFT | SM-JOURNEY-BROKEN | …names arecategoryvalues, listed under# site-map categoryinassets/vocabulary.txt.MD-*— prospective module decisions. Stored under.paqad/decisions/module-decisions/<id>.yml; the consumer is the Attribution Gate, not the pentest workflow. Treat severity/effort/status as advisory only forMD-*— the binding state machine lives insrc/module-decisions/schema.ts.
Use This When
Use this after raw security evidence has been collected and needs to be turned into report-ready findings or retest statuses.
Inputs
- Read the structured evidence payload first.
- Read
references/finding-fields.mdbefore setting severity or effort. - Read retest state when the workflow is
pentest-retest.
Procedure
- Deduplicate findings that describe the same risk surface.
- Pick severity, effort, and status from the closed sets in
assets/vocabulary.txt. - Preserve ids and prior statuses when normalizing retest output.
- Format the JSON exactly per
assets/output.template.json. - Validate with
scripts/validate-findings.sh— checks required fields, vocabulary, and id uniqueness.
Output Contract
- Match
assets/output.template.json: a JSON array of findings withid, title, severity, effort, impact_area, evidence, reproduction, status(plus optionalwstg_id/owasp_2025). severity,effort,statusmust come fromassets/vocabulary.txt.- Output must pass
scripts/validate-findings.sh(exit 0).
Escalate / Stop Conditions
- Ask when two evidence records appear to describe overlapping but not identical risks.
- Warn when the available evidence is too thin to support the proposed severity.
- Do not inflate severity to compensate for missing detail.
Resources
references/finding-fields.mdscripts/validate-findings.shassets/output.template.jsonassets/vocabulary.txtagents/openai.yaml