Generated banner for Owasp Top 10
Generated logo for Owasp Top 10

Owasp Top 10

MicrosoftOfficialPublished by Microsoft

  • Skill
  • Guidelines
  • Security
  • CC-BY-SA-4.0
  • Low risk

From the author

OWASP Top 10 for Web Applications (2025) knowledge base for identifying, assessing, and remediating web application security risks.
— the description by Microsoft

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

This skill provides a machine-readable implementation of the OWASP Top 10 for Web Applications (2025). It serves as a comprehensive reference for developers and security professionals to understand, detect, and mitigate critical web vulnerabilities. Each of the ten vulnerability categories is documented with detailed descriptions, risk assessments, checklists for identifying exposure, and actionable prevention controls.

What it does

  • Provides structured access to the 2025 OWASP Top 10 web security vulnerabilities.
  • Offers vulnerability-specific checklists to help identify potential security gaps.
  • Includes detailed prevention controls and remediation strategies for each risk.
  • Supplies clear descriptions of how vulnerabilities manifest in modern web applications.
  • Categorizes risks by their primary security domain, such as Access Control or Cryptography.
  • Enables agents to perform security-focused analysis and provide guidance on hardening applications.

When to use it

  • During the design phase to ensure security best practices are built into the architecture.
  • When performing security audits or code reviews to identify common vulnerability patterns.
  • When remediating specific security findings reported by automated scanners or penetration tests.
  • To educate development teams on the most critical risks facing web applications today.

Advantages

  • Standardized, machine-readable format allows for easy integration into agent workflows.
  • Covers the most critical and pervasive web application security risks.
  • Provides actionable, concrete steps for both detection and long-term remediation.
  • Aligned with the industry-standard OWASP framework for consistency in security reporting.

Usage examples

“What are the common indicators that my application is vulnerable to broken access control?”
The agent will return a checklist of indicators, such as the ability to bypass access controls via URL tampering or missing authorization on API endpoints.
“How can I prevent cryptographic failures in my web application?”
The agent will provide specific prevention controls, such as enforcing strong encryption standards and managing keys securely.

Install

  1. Download the skill as a ZIP:

    https://mp-staging.autogineer.com/agent-skills/microsoft/owasp-top-10/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip owasp-top-10.zip -d .agents/skills

Documentation by Microsoft

OWASP® Top 10 — Skill Entry

This SKILL.md is the entrypoint for the OWASP Top 10 skill.

The skill encodes the OWASP Top 10 for Web Applications (2025) as structured, machine-readable references that an agent can query to identify, assess, and remediate web application security risks.

Normative references (Web Top 10)

  1. 00 Vulnerability Index

  2. 01 Broken Access Control

  3. 02 Security Misconfiguration

  4. 03 Software Supply Chain Failures

  5. 04 Cryptographic Failures

  6. 05 Injection

  7. 06 Insecure Design

  8. 07 Authentication Failures

  9. 08 Software or Data Integrity Failures

  10. 09 Security Logging and Alerting Failures

  11. 10 Mishandling of Exceptional Conditions

Skill layout

  • SKILL.md — this file (skill entrypoint).

  • references/ — the Web Top 10 normative documents.

    • 00-vulnerability-index.md — index of all vulnerability identifiers, categories, and cross-references.

    • 01 through 10 — one document per vulnerability aligned with OWASP Web Application Security numbering.

Third-Party Attribution

Copyright © OWASP Foundation. OWASP® Top 10 (2025) content is derived from works by the OWASP Foundation, licensed under CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/). Source: https://owasp.org/Top10/2025/ Modifications: Vulnerability descriptions restructured into agent-consumable reference documents with added detection and remediation guidance. OWASP® is a registered trademark of the OWASP Foundation. Use does not imply endorsement.

Files

references/04-cryptographic-failures.md


title: 'A04: Cryptographic Failures' description: OWASP Web Top 10 reference for cryptographic failures including weak algorithms, improper key management, and data exposure

04 Cryptographic Failures

Identifier: A04:2025 Category: Cryptography

Description

Cryptographic failures encompass the lack of cryptography, use of insufficiently strong cryptographic algorithms, leaking of cryptographic keys, and related implementation errors. All data in transit should be encrypted at the transport layer, and sensitive data at rest requires encryption appropriate to its classification. Sensitive data such as passwords, credit card numbers, health records, personal information, and business secrets require additional protection, especially when subject to privacy laws such as GDPR or regulations such as PCI DSS. Common weaknesses include use of old or weak algorithms, default or reused crypto keys, missing enforcement of encryption via security headers, improper certificate validation, use of insecure modes of operation, and reliance on deprecated hash functions.

Risk

  • Exposure of sensitive data in transit through downgrade attacks or missing TLS enforcement.

  • Mass credential compromise when password databases use unsalted or weak hashing algorithms.

  • Cryptographic key leakage through source code repositories or insecure key management.

  • Data exposure through cleartext storage of sensitive information at rest.

  • Algorithm downgrade or bypass attacks that weaken or eliminate cryptographic protections.

  • Side-channel attacks exploiting cryptographic error messages such as padding oracle attacks.

  • Future exposure of currently encrypted data when post-quantum cryptography migration is delayed.

Vulnerability checklist

  • Old or weak cryptographic algorithms or protocols are used by default or in legacy code.

  • Default crypto keys are in use, weak keys are generated, or proper key rotation is missing.

  • Crypto keys are checked into source code repositories.

  • Encryption is not enforced through HTTP security headers or directives.

  • Server certificate and trust chain validation is missing or incomplete.

  • Initialization vectors are ignored, reused, or insufficiently random for the cryptographic mode.

  • Insecure modes of operation such as ECB are used, or encryption is used where authenticated encryption is required.

  • Passwords are used as cryptographic keys without a password-based key derivation function.

  • Randomness sources are not cryptographically secure or are seeded with insufficient entropy.

  • Deprecated hash functions such as MD5 or SHA1 are used for cryptographic purposes.

Prevention controls

  1. Classify data processed, stored, and transmitted by the application and identify which data is sensitive according to privacy laws, regulatory requirements, or business needs.

  2. Store the most sensitive keys in hardware or cloud-based HSMs.

  3. Use well-trusted implementations of cryptographic algorithms.

  4. Discard sensitive data as soon as possible or use PCI DSS compliant tokenization or truncation.

  5. Encrypt all sensitive data at rest using strong algorithms and proper key management.

  6. Encrypt all data in transit with TLS 1.2 or higher with forward secrecy ciphers and enforce encryption using HSTS.

  7. Disable caching for responses that contain sensitive data.

  8. Store passwords using strong adaptive and salted hashing functions such as Argon2, scrypt, or PBKDF2-HMAC-SHA-512 with appropriate work factors.

  9. Generate initialization vectors appropriate for the mode of operation using a CSPRNG and never reuse an IV for a fixed key.

  10. Use authenticated encryption instead of encryption alone.

  11. Generate keys cryptographically randomly and avoid using deprecated cryptographic functions, block modes, and padding schemes.

  12. Prepare for post-quantum cryptography migration so that high-risk systems are protected by the end of 2030.

Example attack scenarios

Scenario A — Missing TLS enforcement

A site does not enforce TLS for all pages or supports weak encryption. An attacker monitoring network traffic at an insecure wireless network downgrades connections from HTTPS to HTTP, intercepts requests, and steals the user's session cookie. The attacker replays the cookie and hijacks the authenticated session.

Scenario B — Weak password hashing

A password database uses unsalted or simple hashes to store passwords. An attacker retrieves the password database through a file upload vulnerability. All unsalted hashes are exposed with a rainbow table of pre-calculated hashes, and weakly salted hashes are cracked by GPU.

Detection guidance

  • Scan all endpoints for TLS configuration strength and protocol version support.

  • Verify that HSTS headers are present and correctly configured on all responses.

  • Audit password storage implementations for use of appropriate adaptive hashing algorithms.

  • Search source code repositories for committed cryptographic keys or secrets.

  • Review cryptographic algorithm and mode selections in application code for deprecated or weak choices.

  • Test for padding oracle and other side-channel vulnerabilities in cryptographic operations.

Remediation

  • Upgrade all TLS configurations to version 1.2 or higher with forward secrecy ciphers.

  • Enable HSTS on all domains and subdomains.

  • Rotate all cryptographic keys that may have been exposed and remove keys from source repositories.

  • Re-hash all passwords using strong adaptive algorithms with appropriate work factors.

  • Replace all deprecated cryptographic algorithms and insecure modes of operation.

  • Deploy automated scanning for cryptographic configuration weaknesses across all environments.


Content derived from works by the OWASP Foundation, licensed under CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/). Modifications: Restructured into agent-consumable reference format with added detection and remediation guidance.

Requirements and compatibility

Written for: GitHub Copilot, Claude Code

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Needs: Claude Code frontmatter

Security

What our scanner noticed· Low risk

  • Instructions that use the network

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Published by
Microsoft
Publisher
Microsoft (Official)
Source
microsoft/hve-core · .github/skills/security/owasp-top-10 · commit f425e94
Licence
Creative Commons Attribution-ShareAlike 4.0 International (redistribution allowed)
  • LICENSE (written by AutoGineer)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Microsoft.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download owasp-top-10.zip