Logo Owasp Web

Owasp Web

Cộng đồng
nahid-sparktales
owasp-web

Hunt the web failure classes that actually recur — broken access control, injection, XSS by output context, SSRF, unsafe deserialization and mass assignment, session and token handling, secrets leakage, file handling — as patterns to find in this codebase. Use when writing or reviewing request handlers, queries, URL fetches, templates, uploads or auth code, or when asked to check a web app for the common vulnerability classes. Not for design-stage modeling (threat-modeling), not infrastructure or network hardening, and not a list to recite without reading code.

Tổng quan

Nhà phát hànhnahid-sparktales
Kho mãagent-dispatcher
Tên kỹ năngowasp-web
Sao
58
Bản fork
5
Tệp đi kèm
1
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được nahid-sparktales công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Owasp Web trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/nahid-sparktales/agent-dispatcher/tree/main/skills/security/owasp-web
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nahid-sparktales/agent-dispatcher.git /tmp/agent-dispatcher
mkdir -p .claude/skills
cp -r /tmp/agent-dispatcher/skills/security/owasp-web .claude/skills/owasp-web
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Owasp Web trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Owasp Web ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Owasp Web với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Web failure classes

These classes recur because frameworks make the unsafe version shorter to write. Finding them is reading for a pattern — untrusted input reaching somewhere that treats it as instruction — not reciting a taxonomy. A class you name without a file and a path is not a finding.

When this fires

Code that receives requests, builds queries, renders output, fetches URLs, parses serialized data, handles sessions or accepts files is being written or reviewed. Use it inside a review pass, or on its own when asked to sweep an app for the usual suspects.

Procedure

  1. Enumerate the untrusted entry points first. Route tables and handlers, GraphQL resolvers and their nested fields, webhook receivers, queue consumers, file uploads, CLI and admin scripts, anything parsing a header or cookie. Every class below is checked from these, not by browsing files alphabetically.
  2. Broken access control, before anything else. It is the most common and the least visible to tooling. Look for a handler taking an id from the path, body or query and fetching without scoping to the caller; middleware applied by opt-in so a new route is unprotected by default; bulk and batch endpoints checking only the first item; a role or tenant id read from the request. See the authorization skill for the model itself.
  3. Injection — find where data reaches an interpreter as syntax. SQL built by concatenation or template literals, an ORM's raw escape hatch, a shell invoked with a command string rather than an argument vector, a query object built straight from a JSON body, an LDAP or XPath filter, a template rendered from a user-supplied string, eval and its relatives. The fix is parameterization or passing arguments as data — hand-rolled escaping is a defect with a delay.
  4. XSS is an output-context question. Ask where the string lands: HTML body, attribute, URL attribute, inside a script, inside CSS. Look for raw-HTML sinks (innerHTML and each framework's dangerous-HTML prop), auto-escaping turned off, user text interpolated into an inline script or a href, Markdown rendered to HTML without sanitisation, and SVG or HTML uploads served from the app's own origin. Escaping correct for one context is wrong in another.
  5. SSRF — anywhere the server fetches a URL a user influenced. Webhook targets, avatar and image fetchers, link previews, PDF and screenshot renderers, import-from-URL, identity discovery documents. Check for an allowlist of destinations, whether redirects are followed blindly, and whether the check happens before or after DNS resolution. Blocking metadata addresses by string match is not a control: alternate encodings, IPv6, redirects and rebinding all walk past it.
  6. Deserialization and object binding. Untrusted bytes reaching a language's native deserializer, a YAML loader that constructs arbitrary types, or JSON that names its own class, is remote code execution waiting for a gadget. Alongside it: mass assignment binding a whole request body onto a model (isAdmin arrives free), and merge helpers in JavaScript that let a body reach the prototype chain.
  7. Sessions and tokens. Where is a session created, rotated on privilege change, and invalidated on logout and password change? Cookie flags set? Password-reset tokens random, single-use and short-lived? For signed tokens, check that verification pins the algorithm and the key and checks expiry and audience — accepting whatever algorithm the token names is the classic hole.
  8. Secrets and inadvertent disclosure. Keys committed to the repository or baked into a client bundle by a public-prefixed environment variable, tokens in URLs and logs, stack traces and debug routes reachable in production, error messages distinguishing "no such user" from "wrong password" where that matters.
  9. File handling. Path traversal in download and upload names, archive extraction writing outside its target directory, trusting a client-declared content type, and serving user files from the application's origin where they inherit its cookies and permissions.
  10. Dependencies: audit output is leads, not findings. Run the ecosystem's audit, then check whether the vulnerable code path is actually reachable from step 1's entry points. Reporting an advisory list as a security review is how real findings get ignored.
  11. Confirm reachability before reporting. Source, sink, and a path between them that survives the checks in between. Without that path, report it as hardening and label it so.

Sending payloads at a running system is a different act from reading code. It stops and asks first, names the target, and does not happen against production or anything the user has not said they own. Reading is always in scope; probing is not implied by it.

Checklist

  • Entry points enumerated before any class was checked
  • Access control checked per handler, including bulk endpoints and new-route defaults
  • Every interpreter boundary found and checked for parameterization
  • Output sinks checked per context, including uploads served from the app origin
  • Every server-side fetch of a user-influenced URL identified
  • Deserializers, model binding and merge helpers traced back to untrusted input
  • Session lifecycle and token verification read, not assumed
  • Repository, logs, bundles and error paths checked for secrets and disclosure
  • File name, archive and content-type handling checked
  • Dependency advisories triaged for reachability
  • Each reported item has a source, a sink and a path; hardening labelled as hardening
  • Nothing was probed against a live system without asking

Failure handling

  • The pattern appears but the input turns out to be trusted — drop it or downgrade it to hardening. A false positive costs more than a missed low-severity issue: it teaches the reader to skim.
  • A framework may already neutralise it — check the framework's actual behaviour for that version rather than assuming either way, and say which behaviour you relied on.
  • The sink is reached through code you cannot follow (dynamic dispatch, generated code, a vendored blob) — report it as an unresolved path with what you traced, not as safe.
  • A class cannot be checked at all — no access to the templates, the infra config, the dependency lockfile — name it as unchecked in the report. Silence reads as a pass.
  • Something looks exploitable — that is a hypothesis until it is run by someone authorized to run it. Write it as "reachable by inspection", not "exploitable".

Evidence to report

Per finding: file and line, the untrusted input, the sink, the path between them, the concrete consequence to a named asset, and the smallest fix. Per review: which entry points were enumerated, which classes were checked, which were not checked and why, audit output with its reachability triage, and everything reasoned about but not run, said so plainly.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Owasp Web làm được gì?

Hunt the web failure classes that actually recur — broken access control, injection, XSS by output context, SSRF, unsafe deserialization and mass assignment, session and token handling, secrets leakage, file handling — as patterns to find in this codebase. Use when writing or reviewing request handlers, queries, URL fetches, templates, uploads or auth code, or when asked to check a web app for the common vulnerability classes. Not for design-stage modeling (threat-modeling), not infrastructure or network hardening, and not a list to recite without reading code.

Vì sao nên dùng Owasp Web trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Owasp Web là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Owasp Web trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/nahid-sparktales/agent-dispatcher/tree/main/skills/security/owasp-web. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Owasp Web?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Owasp Web với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Owasp Web với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Owasp Web có miễn phí không?

Có. Kỹ năng này được nahid-sparktales phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇