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/01-broken-access-control.md


title: 'A01: Broken Access Control' description: OWASP Web Top 10 reference for broken access control vulnerabilities including privilege escalation and unauthorized resource access

01 Broken Access Control

Identifier: A01:2025 Category: Access Control

Description

Broken access control occurs when an application fails to enforce policies that prevent users from acting outside their intended permissions. This vulnerability allows unauthorized information disclosure, modification or destruction of data, or performing business functions beyond the user's authorized limits. Common manifestations include violation of the principle of least privilege, bypassing access control checks through URL parameter tampering or API request modification, insecure direct object references, missing access controls on API endpoints, elevation of privilege, metadata manipulation of tokens and cookies, and CORS misconfiguration. Access control weaknesses are pervasive across web applications, with 100% of tested applications exhibiting some form of this vulnerability.

Risk

  • Unauthorized access to sensitive data belonging to other users or the organization.

  • Modification or destruction of records the attacker should not be able to reach.

  • Elevation of privilege from a standard user to an administrator role.

  • Business logic bypass enabling actions outside the intended user workflow.

  • Lateral movement across accounts through insecure direct object references.

  • Server-side request forgery when access controls do not restrict internal resource access.

  • Cross-site request forgery when anti-CSRF protections are absent or misconfigured.

Vulnerability checklist

  • Access is not denied by default; resources are available to anyone unless explicitly restricted.

  • Access control checks can be bypassed by modifying the URL, application state, or API requests.

  • Users can view or edit other users' records by supplying a different unique identifier.

  • API endpoints for POST, PUT, and DELETE operations lack access control enforcement.

  • A user can act as another user or gain administrator privileges without proper authentication.

  • JWT tokens, cookies, or hidden fields can be tampered with to elevate privileges.

  • CORS policy allows API access from unauthorized or untrusted origins.

  • Authenticated pages are accessible to unauthenticated users through forced browsing.

  • File metadata, backup files, or source control directories are present within web roots.

Prevention controls

  1. Deny access by default for all resources except those explicitly designated as public.

  2. Implement access control mechanisms once and reuse them consistently throughout the application, including minimizing CORS usage.

  3. Enforce record ownership in access control models rather than allowing users to create, read, update, or delete any record.

  4. Enforce unique business limit requirements through domain models.

  5. Disable web server directory listing and remove file metadata and backup files from web roots.

  6. Log all access control failures and alert administrators on repeated failures.

  7. Implement rate limits on API and controller access to reduce harm from automated attacks.

  8. Invalidate stateful session identifiers on the server after logout and use short-lived stateless JWT tokens with refresh token rotation following OAuth standards.

  9. Use well-established toolkits or patterns that provide simple, declarative access controls.

  10. Include functional access control tests in unit and integration test suites.

Example attack scenarios

Scenario A — Insecure direct object reference

An application uses unverified data in a SQL call to access account information:

pstmt.setString(1, request.getParameter("acct"));
ResultSet results = pstmt.executeQuery( );

An attacker modifies the browser's acct parameter to send any desired account number. The application returns the other user's data because it does not verify ownership:

https://example.com/app/accountInfo?acct=notmyacct
Scenario B — Forced browsing to admin pages

An attacker forces the browser to target URLs that require admin rights:

https://example.com/app/getappInfo
https://example.com/app/admin_getappInfo

If an unauthenticated user can access either page, it is a flaw. If a non-admin can access the admin page, it is a flaw.

Scenario C — Client-side only access control

An application enforces all access control in its frontend JavaScript. While the attacker cannot reach the admin endpoint through the browser, they bypass it entirely:

curl https://example.com/app/admin_getappInfo

The server returns the admin page because it does not enforce server-side access controls.

Detection guidance

  • Review application code for consistent enforcement of access control checks on all endpoints.

  • Test for insecure direct object references by substituting resource identifiers in requests.

  • Verify that forced browsing to authenticated or privileged pages fails for unauthorized users.

  • Inspect CORS configuration for overly permissive origin policies.

  • Check for the presence of file metadata, backup files, and source control directories in web-accessible paths.

  • Monitor access control failure logs for patterns indicating automated or targeted attacks.

Remediation

  • Implement server-side access control enforcement on all endpoints and resource operations.

  • Remove all file metadata, backup files, and source control directories from web roots.

  • Restrict CORS policies to trusted origins only.

  • Add access control failure logging with alerting for repeated violations.

  • Invalidate sessions on logout and enforce session timeout policies.

  • Conduct access control penetration testing and remediate all identified bypasses.


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