Skip to content
Proyek

Puliczek/awesome-mcp-security

Lihat di GitHub

Tentang

๐Ÿ”ฅ๐Ÿ”’ Keamanan Awesome MCP (Model Context Protocol) ๐Ÿ–ฅ๏ธ

Keamanan dan privasi

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
+4
dalam 15 hari
+4
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli
๐Ÿค Show your support - give a โญ๏ธ if you liked the content

Awesome MCP Security Awesome

Everything you need to know about Model Context Protocol (MCP) security.

Table of Contents

๐Ÿ“” Security Considerations

A short summary of the official MCP specification, revision 2026-07-28. The specification is the source of truth.

[!WARNING] Tools represent arbitrary code execution. Tool descriptions and annotations are untrusted unless they come from a trusted server, and a human SHOULD always be able to deny a tool call.

Key principles (spec)

  • User consent and control - users explicitly consent to data access and actions, and keep control over what is shared
  • Data privacy - hosts get consent before exposing user data to servers and don't send it elsewhere without consent
  • Tool safety - hosts get consent before invoking any tool, and users should understand what each tool does

Attacks covered by the official Security Best Practices

Attack In short
Confused deputy MCP proxy servers to third-party APIs let malicious clients skip user consent
Token passthrough a server accepts and forwards tokens that were not issued to it
SSRF a malicious server makes the client request internal addresses or cloud metadata
State handle hijacking guessed or leaked state handles (cart ID, workflow ID) passed as tool arguments
Local MCP server compromise local servers run with direct access to the user's system
OAuth URL validation malicious authorization URLs lead to XSS or RCE in the client
Mix-up attacks a malicious authorization server tricks the client into sending it codes meant for another
Scope minimization overly broad scopes increase the damage of a leaked token

See also: Tools: Security Considerations (server MUSTs and client SHOULDs) and Authorization.

๐Ÿ“ƒ Papers

๐Ÿ“บ Videos

๐Ÿ“• Articles, X threads and Blog Posts

2026

2025

๐Ÿง‘โ€๐Ÿš€ Tools and code

Scanners & auditing

Gateways & proxies

Runtime protection & audit

Testing & vulnerable labs

๐Ÿ’พ MCP Security Servers

๐Ÿ’ป Other Useful Resources

๐Ÿ˜Ž Contributing

๐Ÿ‘๐ŸŽ‰ First off, thanks for taking the time to contribute! ๐ŸŽ‰๐Ÿ‘

Please read and follow our contributing guide

Thanks! ๐Ÿฆ„

๐Ÿค Show your support

๐Ÿค Show your support - give a โญ๏ธ if you liked the content

โœ”๏ธ Disclaimer

This project can only be used for educational purposes. Using this resource against target systems without prior permission is illegal, and any damages from misuse of this software will not be the responsibility of the author.

Jelajahi proyek terkait

Memuatโ€ฆ