yezannnnn/agentgroup/senior-security

Claude Code and agent skill by yezannnnn/agentgroup

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Security engineering toolkit for threat modeling, vulnerability analysis, secure architecture, and penetration testing. Includes STRIDE analysis, OWASP guidance, cryptography patterns, and security scanning tools.

Install

npx vskill@latest install yezannnnn/agentgroup/senior-security

SKILL.md

Senior Security Engineer

Security engineering tools for threat modeling, vulnerability analysis, secure architecture design, and penetration testing.


Table of Contents


Threat Modeling Workflow

Identify and analyze security threats using STRIDE methodology.

Workflow: Conduct Threat Model
  1. Define system scope and boundaries:
  • Identify assets to protect
  • Map trust boundaries
  • Document data flows
  1. Create data flow diagram:
  • External entities (users, services)
  • Processes (application components)
  • Data stores (databases, caches)
  • Data flows (APIs, network connections)
  1. Apply STRIDE to each DFD element:
  • Spoofing: Can identity be faked?
  • Tampering: Can data be modified?
  • Repudiation: Can actions be denied?
  • Information Disclosure: Can data leak?
  • Denial of Service: Can availability be affected?
  • Elevation of Privilege: Can access be escalated?
  1. Score risks using DREAD:
  • Damage potential (1-10)
  • Reproducibility (1-10)
  • Exploitability (1-10)
  • Affected users (1-10)
  • Discoverability (1-10)
  1. Prioritize threats by risk score
  2. Define mitigations for each threat
  3. Document in threat model report
  4. Validation: All DFD elements analyzed; STRIDE applied; threats scored; mitigations mapped
STRIDE Threat Categories
CategoryDescriptionSecurity PropertyMitigation Focus
SpoofingImpersonating users or systemsAuthenticationMFA, certificates, strong auth
TamperingModifying data or codeIntegritySigning, checksums, validation
RepudiationDenying actionsNon-repudiationAudit logs, digital signatures
Information DisclosureExposing dataConfidentialityEncryption, access controls
Denial of ServiceDisrupting availabilityAvailabilityRate limiting, redundancy
Elevation of PrivilegeGaining unauthorized accessAuthorizationRBAC, least privilege
STRIDE per Element Matrix
DFD ElementSTRIDE
External EntityXX
ProcessXXXXXX
Data StoreXXXX
Data FlowXXX

See: references/threat-modeling-guide.md


Security Architecture Workflow

Design secure systems using defense-in-depth principles.

Workflow: Design Secure Architecture
  1. Define security requirements:
  • Compliance requirements (GDPR, HIPAA, PCI-DSS)
  • Data classification (public, internal, confidential, restricted)
  • Threat model inputs
  1. Apply defense-in-depth layers:
  • Perimeter: WAF, DDoS protection, rate limiting
  • Network: Segmentation, IDS/IPS, mTLS
  • Host: Patching, EDR, hardening
  • Application: Input validation, authentication, secure coding
  • Data: Encryption at rest and in transit
  1. Implement Zero Trust principles:
  • Verify explicitly (every request)
  • Least privilege access (JIT/JEA)
  • Assume breach (segment, monitor)
  1. Configure authentication and authorization:
  • Identity provider selection
  • MFA requirements
  • RBAC/ABAC model
  1. Design encryption strategy:
  • Key management approach
  • Algorithm selection
  • Certificate lifecycle
  1. Plan security monitoring:
  • Log aggregation
  • SIEM integration
  • Alerting rules
  1. Document architecture decisions
  2. Validation: Defense-in-depth layers defined; Zero Trust applied; encryption strategy documented; monitoring planned
Defense-in-Depth Layers
Layer 1: PERIMETER
WAF, DDoS mitigation, DNS filtering, rate limiting
Layer 2: NETWORK
Segmentation, IDS/IPS, network monitoring, VPN, mTLS
Layer 3: HOST
Endpoint protection, OS hardening, patching, logging
Layer 4: APPLICATION
Input validation, authentication, secure coding, SAST
Layer 5: DATA
Encryption at rest/transit, access controls, DLP, backup
Authentication Pattern Selection
Use CaseRecommended Pattern
Web applicationOAuth 2.0 + PKCE with OIDC
API authenticationJWT with short expiration + refresh tokens
Service-to-servicemTLS with certificate rotation
CLI/AutomationAPI keys with IP allowlisting
High securityFIDO2/WebAuthn hardware keys

See: references/security-architecture-patterns.md


Vulnerability Assessment Workflow

Identify and remediate security vulnerabilities in applications.

Workflow: Conduct Vulnerability Assessment
  1. Define assessment scope:
  • In-scope systems and applications
  • Testing methodology (black box, gray box, white box)
  • Rules of engagement
  1. Gather information:
  • Technology stack inventory
  • Architecture documentation
  • Previous vulnerability reports
  1. Perform automated scanning:
  • SAST (static analysis)
  • DAST (dynamic analysis)
  • Dependency scanning
  • Secret detection
  1. Conduct manual testing:
  • Business logic flaws
  • Authentication bypass
  • Authorization issues
  • Injection vulnerabilities
  1. Classify findings by severity:
  • Critical: Immediate exploitation risk
  • High: Significant impact, easier to exploit
  • Medium: Moderate impact or difficulty
  • Low: Minor impact
  1. Develop remediation plan:
  • Prioritize by risk
  • Assign owners
  • Set deadlines
  1. Verify fixes and document
  2. Validation: Scope defined; automated and manual testing complete; findings classified; remediation tracked
OWASP Top 10 Mapping
RankVulnerabilityTesting Approach
A01Broken Access ControlManual IDOR testing, authorization checks
A02Cryptographic FailuresAlgorithm review, key management audit
A03InjectionSAST + manual payload testing
A04Insecure DesignThreat modeling, architecture review
A05Security MisconfigurationConfiguration audit, CIS benchmarks
A06Vulnerable ComponentsDependency scanning, CVE monitoring
A07Authentication FailuresPassword policy, session management review
A08Software/Data IntegrityCI/CD security, code signing verification
A09Logging FailuresLog review, SIEM configuration check
A10SSRFManual URL manipulation testing
Vulnerability Severity Matrix
Impact / ExploitabilityEasyModerateDifficult
CriticalCriticalCriticalHigh
HighCriticalHighMedium
MediumHighMediumLow
LowMediumLowLow

Secure Code Review Workflow

Review code for security vulnerabilities before deployment.

Workflow: Conduct Security Code Review
  1. Establish review scope:
  • Changed files and functions
  • Security-sensitive areas (auth, crypto, input handling)
  • Third-party integrations
  1. Run automated analysis:
  • SAST tools (Semgrep, CodeQL, Bandit)
  • Secret scanning
  • Dependency vulnerability check
  1. Review authentication code:
  • Password handling (hashing, storage)
  • Session management
  • Token validation
  1. Review authorization code:
  • Access control checks
  • RBAC implementation
  • Privilege boundaries
  1. Review data handling:
  • Input validation
  • Output encoding
  • SQL query construction
  • File path handling
  1. Review cryptographic code:
  • Algorithm selection
  • Key management
  • Random number generation
  1. Document findings with severity
  2. Validation: Automated scans passed; auth/authz reviewed; data handling checked; crypto verified; findings documented
Security Code Review Checklist
CategoryCheckRisk
Input ValidationAll user input validated and sanitizedInjection
Output EncodingContext-appropriate encoding appliedXSS
AuthenticationPasswords hashed with Argon2/bcryptCredential theft
SessionSecure cookie flags set (HttpOnly, Secure, SameSite)Session hijacking
AuthorizationServer-side permission checks on all endpointsPrivilege escalation
SQLParameterized queries used exclusivelySQL injection
File AccessPath traversal sequences rejectedPath traversal
SecretsNo hardcoded credentials or keysInformation disclosure
DependenciesKnown vulnerable packages updatedSupply chain
LoggingSensitive data not loggedInformation disclosure
Secure vs Insecure Patterns
PatternIssueSecure Alternative
SQL string formattingSQL injectionUse parameterized queries with placeholders
Shell command buildingCommand injectionUse subprocess with argument lists, no shell
Path concatenationPath traversalValidate and canonicalize paths
MD5/SHA1 for passwordsWeak hashingUse Argon2id or bcrypt
Math.random for tokensPredictable valuesUse crypto.getRandomValues

Incident Response Workflow

Respond to and contain security incidents.

Workflow: Handle Security Incident
  1. Identify and triage:
  • Validate incident is genuine
  • Assess initial scope and severity
  • Activate incident response team
  1. Contain the threat:
  • Isolate affected systems
  • Block malicious IPs/accounts
  • Disable compromised credentials
  1. Eradicate root cause:
  • Remove malware/backdoors
  • Patch vulnerabilities
  • Update configurations
  1. Recover operations:
  • Restore from clean backups
  • Verify system integrity
  • Monitor for recurrence
  1. Conduct post-mortem:
  • Timeline reconstruction
  • Root cause analysis
  • Lessons learned
  1. Implement improvements:
  • Update detection rules
  • Enhance controls
  • Update runbooks
  1. Document and report
  2. Validation: Threat contained; root cause eliminated; systems recovered; post-mortem complete; improvements implemented
Incident Severity Levels
LevelDescriptionResponse TimeEscalation
P1 - CriticalActive breach, data exfiltrationImmediateCISO, Legal, Executive
P2 - HighConfirmed compromise, contained1 hourSecurity Lead, IT Director
P3 - MediumPotential compromise, under investigation4 hoursSecurity Team
P4 - LowSuspicious activity, low impact24 hoursOn-call engineer
Incident Response Checklist
PhaseActions
IdentificationValidate alert, assess scope, determine severity
ContainmentIsolate systems, preserve evidence, block access
EradicationRemove threat, patch vulnerabilities, reset credentials
RecoveryRestore services, verify integrity, increase monitoring
Lessons LearnedDocument timeline, identify gaps, update procedures

Security Tools Reference

Recommended Security Tools
CategoryTools
SASTSemgrep, CodeQL, Bandit (Python), ESLint security plugins
DASTOWASP ZAP, Burp Suite, Nikto
Dependency ScanningSnyk, Dependabot, npm audit, pip-audit
Secret DetectionGitLeaks, TruffleHog, detect-secrets
Container SecurityTrivy, Clair, Anchore
InfrastructureCheckov, tfsec, ScoutSuite
NetworkWireshark, Nmap, Masscan
PenetrationMetasploit, sqlmap, Burp Suite Pro
Cryptographic Algorithm Selection

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Refreshed 18 Mar 2026, 8 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/yezannnnn/agentgroup/senior-security/badge)](https://verified-skill.com/skills/yezannnnn/agentgroup/senior-security)

Something wrong with this skill or its page? Tell us.