Imported from zznabil/lean-agent-skill-collection (
packs/remaining-standards/gated-skills/guard-owasp-samm/SKILL.md). Install upstream withnpx skills add zznabil/lean-agent-skill-collection --skill guard-owasp-samm. Copyright stays with the author.
OWASP SAMM
Task and boundary
- Evaluate whether a requested SAMM activity belongs to an authorised organisation-level programme.
- Do not apply SAMM maturity scoring to a single agent, small code change or ordinary repository task.
- Work only on the selected artifact or assessment. This routine does not grant permission to run attacks, deploy, publish or change policy.
- OFF-DEFAULT GUARD: use only for the stated selection or review request; do not install as an always-on workflow.
Source and limits
- Read SOURCES.md for the selected edition, official files, source boundaries and copying terms.
- Read the relevant source sections before making a source-specific decision. A compact routine is not the complete specification.
- Historical adoption decision: Reject globally. Keep this boundary unless an authorised decision explicitly changes it.
Procedure
- Read the historical adoption decision: SAMM is rejected as a global Lean workflow.
- Identify the requesting organisation, programme owner, scope and explicit authority for a maturity assessment.
- If that programme does not exist, retain the exclusion and complete the ordinary task using its actual requirements.
- If assessment is authorised, obtain the selected SAMM model and assessment guidance before designing the activity.
- Keep business functions, security practices, objectives and maturity evidence at the organisation/process level.
- Do not translate a repository checkbox or agent prompt into organisational maturity evidence.
- Record interviews, artifacts, observations and uncertainty using the approved assessment method.
- Separate current evidence, target maturity and a prioritised improvement roadmap.
- Use an organisation-specific process and owner for implementation; do not add runtime hooks or gates globally.
- Report the scope decision and evidence limits without changing the register's global rejection.
Preserve and verify
- Preserve facts, identifiers, links, required checks, permissions, negation, exceptions and failure/recovery paths.
- Separate planned work, actual evidence and unknown results. Missing or stale evidence is not a pass.
- Do not delete requirements to improve a score or satisfy the line budget; record an unresolved source or task conflict.
- Use the smallest check that can detect the relevant defect. A schema, linter or inventory alone does not prove task success.
Worked case — authored, not an executed model result
- Situation: A single bug-fix task asks the agent to assign itself a SAMM maturity level.
- Expected: Decline the invalid unit of assessment and retain the organisation-only boundary.
- Missing-evidence case: There is no programme owner or authority for organisational assessment.
Finish and stop
- Return the scoped result, evidence, unresolved requirements and next permitted action.
- Make one correction pass and recheck affected evidence. If a required issue remains, report it rather than looping or claiming completion.
- Identify the checked scope, source edition, evidence and limits. Do not claim formal conformance or model-behaviour improvement from this routine.