agentleFS
kirubaharan181kirubaharan181/sdlc-agentic-skills/skills/security/application-security/SKILL.md

application-security

Skill1 starsChanged 17 days agoMITView on GitHub

Use when checking a change for security risk: threats, scans, remediation, sign-off. Do NOT use for infrastructure operations.

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No external API keys, paid services or network access are required.

    line 29
  2. Very specific:

    Use configured SAST/SCA/DAST/container/IaC tools and validate findings against actual exposure.

    line 50

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “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

Application security engineering

Purpose

Finds and drives fixes for security weaknesses in applications and their supply chain: threat modeling, SAST, DAST, dependency and container scanning, penetration testing, data protection, compliance review, remediation and sign-off. It owns stages 98-110.

When to Use

  • A feature or architecture needs a threat model.
  • Scan or penetration test results need triage and remediation tracking.
  • A security sign-off is needed before release.

When NOT to Use

  • Operating cloud accounts and networks: use cloud-hosting-operations.
  • Governing change approval in production: use secure-change-control.
  • Writing feature code: use software-implementation.

Prerequisites and Requirements

  • Written authorization for any active testing, with scope and window.
  • Architecture and data flow descriptions.
  • A safe environment for dynamic testing.
  • No external API keys, paid services or network access are required; work uses files and tools already approved in the repository.

Inputs and Outputs

Required inputs:

  • architecture and data flows
  • code or build under review
  • authorization and scope

Optional inputs:

  • previous findings
  • compliance obligations
  • scan results

Outputs and deliverables:

  • threat model with ranked threats and controls
  • triaged findings with severity method named
  • remediation tracking with owners
  • security sign-off recommendation

Procedure

  1. Map assets, entry points, trust boundaries, identities and sensitive data.
  2. Use configured SAST/SCA/DAST/container/IaC tools and validate findings against actual exposure.
  3. Prioritize by exploitability, impact and reachability; assign owner, SLA and compensating controls.
  4. Retest exact fixes independently and record residual risk/exception.

Shared rules (evidence, approvals, failure, handoff): references/CORE_PROCEDURE.md.

Decision Rules

SituationAction
No written authorization for active testingDo not test; request authorization.
Finding cannot be reproducedMark INCONCLUSIVE with steps tried.
Critical issue found in productionStop testing, notify the owner and hand to incident-command if active.
Risk acceptance requestedRoute to a named human with authority.

Quality Gates

  • Each high threat has a control or an accepted risk
  • Findings have reproduction steps and evidence
  • Severity has a stated method
  • Fixes were retested

Examples

Illustrative only: these show expected behavior and were not executed against a real project.

Example 1: Threat model an upload feature

Request: Threat model the document upload.
Context: Files are stored and later previewed by other users.
Agent behavior: List assets and trust boundaries, rank threats, propose controls and mark residual risk with an owner.
Output: Ranked threats led by malicious files; controls: type and size limits, scanning, storage outside the web root.
Acceptance: High threats each have a control or accepted-risk entry.

Example 2: Triage scan results

Request: Triage 120 SAST findings.
Context: Many duplicates and low-severity items.
Agent behavior: Group by rule, confirm exploitable items with reproduction, and assign owners and dates.
Output: Triage list with 6 confirmed findings and the dismissals with reasons.
Acceptance: Every dismissal has a stated reason.

Limitations

  • Scans and reviews do not prove the absence of vulnerabilities.
  • Active testing needs authorization and cannot be done without it.
  • This repository makes no security certification claim.

Troubleshooting

ErrorCauseResolution
Scanner reports excessive false positivesRules not tunedTune with owner approval and record changes.
No safe test environmentOnly production existsLimit to passive review and request an environment.
Authorization unclearScope not writtenStop and obtain a written scope.

Tools

  • configured security scanners
  • SBOM and dependency tools
  • threat model
  • vulnerability tracker

Stages covered

StageNameStatusAccountable role
98Threat ModelingcompleteSecurity Architect
99SASTcompleteDevSecOps Engineer
100DASTcompleteDevSecOps Engineer
101SCAcompleteDevSecOps Engineer
102Container SecuritycompleteDevSecOps Engineer
103Infrastructure SecuritycompleteDevSecOps Engineer
104Penetration TestingcompletePenetration Testing Specialist
105Authentication SecuritycompleteApplication Security Engineer
106Data ProtectioncompleteApplication Security Engineer
107Compliance ReviewcompleteCompliance Specialist
108License CompliancecompleteLicense Compliance Specialist
109Vulnerability RemediationcompleteApplication Security Engineer
110Security Sign-offcompleteSecurity Auditor

Per-stage inputs, outputs, acceptance criteria and validation: references/stages-part-1.md, references/stages-part-2.md, references/stages-part-3.md, references/stages-part-4.md.

Handoffs

Hands to:

  • release-deployment: security sign-off and open accepted risks
  • software-implementation: remediation items with severity
  • enterprise-governance: security evidence for audit

Receives from:

  • devops-platform: pipeline findings for review
  • software-implementation: code and dependency changes for scanning
  • technical-architecture: architecture and data flows for threat modeling

Contract: references/HANDOFF_CONTRACT.md.

Related

  • Examples (illustrative only): see the files in references/examples/.
  • Workflows: dependency-update, infrastructure-provisioning, new-product-development, security-vulnerability-remediation.
  • Roles: application-security-engineer, authentication-and-authorization-engineer, backend-engineer, compliance-specialist, devsecops-engineer, infrastructure-engineer, kubernetes-engineer, license-compliance-specialist, penetration-testing-specialist, security-architect, security-auditor, vulnerability-analyst.
  • Selection and handoff guidance: the skill selection guide in the repository documentation.

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.