[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6997ECW5F3P0D7ZS88G39M0":3,"skill-same:01M6997ECW5F3P0D7ZS88G39M0":74},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":17,"ownerHtmlUrl":46,"ownerBlogUrl":47,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M6997ECW5F3P0D7ZS88G39M0","pseudo-idp","Pseudo IdP OAuth 安全测试","Use this skill whenever the user wants to do OAuth2 or OIDC security testing using the Pseudo Identity Provider (Pseudo IdP) MCP server. Triggers include: testing OAuth security, simulating identity provider attacks, testing CSRF defenses, JWT validation, nonce checks, token signature attacks, Mix-up attacks, PKCE testing, expired tokens, invalid issuers, or any scenario involving a fake\u002Fmock IdP. Also trigger when the user mentions \"Pseudo IdP\", \"pseudo-identity-provider\", \"set_config\", \"get_config\", \"list_logs\" in a security testing context, or asks to configure OAuth misbehavior for client testing. Always use this skill when the user wants to verify their OAuth\u002FOIDC client's security posture by making the IdP behave incorrectly.","当用户希望使用 Pseudo Identity Provider（Pseudo IdP）MCP 服务器进行 OAuth2 或 OIDC 安全测试时，使用该技能。触发场景包括：测试 OAuth 安全性、模拟身份提供者攻击、测试 CSRF 防御、JWT 验证、nonce 检查、令牌签名攻击、Mix-up 攻击、PKCE 测试、过期令牌、无效颁发者，或任何涉及伪造\u002F模拟 IdP 的场景。当用户在安全测试语境中提到 \"Pseudo IdP\"、\"pseudo-identity-provider\"、\"set_config\"、\"get_config\"、\"list_logs\"，或要求配置 OAuth 异常行为以进行客户端测试时，也应触发。当用户希望通过让 IdP 表现出错误行为来验证其 OAuth\u002FOIDC 客户端的安全态势时，始终使用该技能。","google\u002Fpseudo-identity-provider","google","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1342004?v=4","01M698VYEFDM0VJBZDYYJ2T83S","Google","01M6997CMSRBD1908CJ1NVM9AB",18,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fpseudo-identity-provider\u002Fblob\u002Fmain\u002Fsrc\u002Fmcp\u002Fskills\u002Fpseudo-idp\u002Fskill.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BR4MYFKGCC4WCWVJ50KJ2C","安全工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSJ8FPTACYEEYRWQRNFXKY","安全检测工程","SCENARIO","使用场景",[31,32,33,34,35],"pseudo idp","testing","MCP","security","mcp server","2026-11-10 10:12:30",false,"---\r\nname: pseudo-idp\r\ndescription: >\r\n  Use this skill whenever the user wants to do OAuth2 or OIDC security testing using the Pseudo Identity Provider (Pseudo IdP) MCP server. Triggers include: testing OAuth security, simulating identity provider attacks, testing CSRF defenses, JWT validation, nonce checks, token signature attacks, Mix-up attacks, PKCE testing, expired tokens, invalid issuers, or any scenario involving a fake\u002Fmock IdP. Also trigger when the user mentions \"Pseudo IdP\", \"pseudo-identity-provider\", \"set_config\", \"get_config\", \"list_logs\" in a security testing context, or asks to configure OAuth misbehavior for client testing. Always use this skill when the user wants to verify their OAuth\u002FOIDC client's security posture by making the IdP behave incorrectly.\r\n---\r\n\r\n# Pseudo Identity Provider — OAuth\u002FOIDC Security Testing\r\n\r\nPseudo IdP is a **fake OAuth2\u002FOIDC Identity Provider** you control via MCP. It exposes real OIDC endpoints (Discovery, Authorization, Token, UserInfo) but lets you configure malformed or malicious behavior to verify your client's security checks.\r\n\r\n## MCP Tools Available\r\n\r\nThree tools are exposed by the `Psuedo Idp` MCP connector:\r\n\r\n| Tool | Purpose |\r\n|------|---------|\r\n| `Psuedo Idp:get_config` | Fetch the current full configuration as JSON |\r\n| `Psuedo Idp:set_config` | Update one or more endpoint configurations |\r\n| `Psuedo Idp:list_logs` | View recent request\u002Fresponse logs |\r\n\r\n**Always call `get_config` first** before making changes so you have the baseline and can restore it.\r\nMake sure to set the entire config structure and not only the values you want to change. The examples\r\nshow only specific fields to change, but you will need to include the entire config including the default values\r\nthat remain unchanged and the fields you have changed.\r\n\r\n---\r\n\r\n## Core Concepts\r\n\r\n### Endpoints and Their Config Keys\r\n\r\n| Endpoint | URL path | Config key in `set_config` |\r\n|----------|----------|---------------------------|\r\n| Authorization | `\u002Foauth2\u002Fauth` | `auth_action` |\r\n| Token | `\u002Foauth2\u002Ftoken` | `token_action` |\r\n| UserInfo | `\u002Foauth2\u002Fuserinfo` | `userinfo_action` |\r\n| Discovery | `\u002F.well-known\u002Fopenid-configuration` | `discovery_action` |\r\n| Callback | `\u002Fcallback` | `callback_action` |\r\n| ID Token (JWT) | (embedded in token response) | `id_token_config` |\r\n\r\n### Endpoint Action Types\r\n\r\nEach endpoint (except `id_token_config`) uses an `action_type` field:\r\n\r\n- **`redirect`** (auth only) — Redirect the browser to a callback URI with configurable parameters\r\n- **`respond`** — Return a successful JSON or HTTP response\r\n- **`error`** — Return a specific HTTP error code\r\n- **`block`** — Hang and time out (useful for testing timeout handling)\r\n\r\n### Parameter Actions\r\n\r\nInside `parameters` arrays or `claims` arrays:\r\n\r\n| Action | Behaviour |\r\n|--------|-----------|\r\n| `passthrough` | Keep the value from the inbound request |\r\n| `set` | Set an explicit value (supports Go templates — see Level 2) |\r\n| `omit` | Remove the parameter from the response |\r\n| `random` | Set to a random base64 string |\r\n| `custom` | Invoke a named custom Go processor (e.g., `signed_token_id` for JWT generation) |\r\n\r\n---\r\n\r\n## Workflow Pattern\r\n\r\n```\r\n1. get_config          ← snapshot baseline\r\n2. set_config(...)     ← inject the misbehaviour\r\n3. [run client flow]   ← trigger the OAuth flow from your client\r\n4. list_logs           ← verify what the client sent and what IdP returned\r\n5. set_config(...)     ← restore to baseline (or next test)\r\n```\r\n\r\n---\r\n\r\n## Quick-Start Config Recipes\r\n\r\nThese are the most common test scenarios. For full JSON configs and more configs, see **`references\u002Fconfig-recipes.md`**.\r\n\r\n### 1. Remove JWT Signature (CVE-2020-28042)\r\n```json\r\n{ \"id_token_config\": { \"remove_signature\": true } }\r\n```\r\nVerify your client rejects tokens with no signature segment.\r\n\r\n### 2. alg:none Attack (CVE-2015-9235)\r\n```json\r\n{ \"id_token_config\": { \"alg\": \"none\" } }\r\n```\r\nVerify your client blocks the `none` algorithm.\r\n\r\n### 3. Wrong Signing Key\r\n```json\r\n{ \"id_token_config\": { \"use_wrong_key\": true } }\r\n```\r\nSigns with a key not in `\u002F.well-known\u002Fjwks.json`. Client must reject.\r\n\r\n### 4. CSRF — Replace State Parameter\r\n```json\r\n{\r\n  \"auth_action\": {\r\n    \"action_type\": \"redirect\",\r\n    \"redirect\": {\r\n      \"default_parameter_action\": \"passthrough\",\r\n      \"parameters\": [{ \"id\": \"state\", \"action\": \"set\", \"values\": [\"tampered_state\"] }],\r\n      \"redirect_target\": { \"use_custom_redirect_uri\": false, \"target\": \"\", \"custom_key\": \"\" },\r\n      \"use_hash_fragment\": false\r\n    }\r\n  }\r\n}\r\n```\r\nVerify your client rejects mismatched `state` (Login CSRF protection).\r\n\r\n### 5. Expired Token\r\nSet the `exp` claim to yesterday:\r\n```json\r\n{\r\n  \"id_token_config\": {\r\n    \"claims\": [\r\n      { \"id\": \"exp\", \"values\": [\"{{with $yesterday := .Time.AddDate 0 0 -1}}{{$yesterday.Unix}}{{end}}\"], \"json_type\": \"number\" }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n### 6. Invalid Nonce\r\n```json\r\n{\r\n  \"id_token_config\": {\r\n    \"claims\": [{ \"id\": \"nonce\", \"values\": [\"wrong_nonce\"], \"json_type\": \"string\" }]\r\n  }\r\n}\r\n```\r\n\r\n### 7. Invalid Issuer\r\n```json\r\n{\r\n  \"id_token_config\": {\r\n    \"claims\": [{ \"id\": \"iss\", \"values\": [\"https:\u002F\u002Fevil.example.com\"], \"json_type\": \"string\" }]\r\n  }\r\n}\r\n```\r\n\r\n---\r\n\r\n## Reading Logs\r\n\r\nAfter running a test, call `list_logs` to inspect what happened. Logs show:\r\n- Inbound request to each endpoint (method, headers, parameters)\r\n- What the IdP returned\r\n\r\nUse logs to confirm the client sent the right parameters (e.g., `code_verifier` for PKCE) and to debug unexpected behavior.\r\n\r\n---\r\n\r\n## Restoring to Baseline\r\n\r\nAfter testing, restore the original config. Best practice: call `get_config` at the start and save the JSON; then pass it back verbatim via `set_config` to restore.\r\n\r\n---\r\n\r\n## Going Deeper\r\n\r\nFor advanced scenarios, full JSON schemas, Mix-up attack configs, PKCE bypass, implicit flow setup, and templating reference, read:\r\n→ **`references\u002Fconfig-recipes.md`** — full config library with complete JSON configs\r\n→ **`references\u002Fschema-reference.md`** — complete `set_config` field reference","# Pseudo Identity Provider — OAuth\u002FOIDC Security Testing\r\n\r\nPseudo IdP is a **fake OAuth2\u002FOIDC Identity Provider** you control via MCP. It exposes real OIDC endpoints (Discovery, Authorization, Token, UserInfo) but lets you configure malformed or malicious behavior to verify your client's security checks.\r\n\r\n## MCP Tools Available\r\n\r\nThree tools are exposed by the `Psuedo Idp` MCP connector:\r\n\r\n| Tool | Purpose |\r\n|------|---------|\r\n| `Psuedo Idp:get_config` | Fetch the current full configuration as JSON |\r\n| `Psuedo Idp:set_config` | Update one or more endpoint configurations |\r\n| `Psuedo Idp:list_logs` | View recent request\u002Fresponse logs |\r\n\r\n**Always call `get_config` first** before making changes so you have the baseline and can restore it.\r\nMake sure to set the entire config structure and not only the values you want to change. The examples\r\nshow only specific fields to change, but you will need to include the entire config including the default values\r\nthat remain unchanged and the fields you have changed.\r\n\r\n---\r\n\r\n## Core Concepts\r\n\r\n### Endpoints and Their Config Keys\r\n\r\n| Endpoint | URL path | Config key in `set_config` |\r\n|----------|----------|---------------------------|\r\n| Authorization | `\u002Foauth2\u002Fauth` | `auth_action` |\r\n| Token | `\u002Foauth2\u002Ftoken` | `token_action` |\r\n| UserInfo | `\u002Foauth2\u002Fuserinfo` | `userinfo_action` |\r\n| Discovery | `\u002F.well-known\u002Fopenid-configuration` | `discovery_action` |\r\n| Callback | `\u002Fcallback` | `callback_action` |\r\n| ID Token (JWT) | (embedded in token response) | `id_token_config` |\r\n\r\n### Endpoint Action Types\r\n\r\nEach endpoint (except `id_token_config`) uses an `action_type` field:\r\n\r\n- **`redirect`** (auth only) — Redirect the browser to a callback URI with configurable parameters\r\n- **`respond`** — Return a successful JSON or HTTP response\r\n- **`error`** — Return a specific HTTP error code\r\n- **`block`** — Hang and time out (useful for testing timeout handling)\r\n\r\n### Parameter Actions\r\n\r\nInside `parameters` arrays or `claims` arrays:\r\n\r\n| Action | Behaviour |\r\n|--------|-----------|\r\n| `passthrough` | Keep the value from the inbound request |\r\n| `set` | Set an explicit value (supports Go templates — see Level 2) |\r\n| `omit` | Remove the parameter from the response |\r\n| `random` | Set to a random base64 string |\r\n| `custom` | Invoke a named custom Go processor (e.g., `signed_token_id` for JWT generation) |\r\n\r\n---\r\n\r\n## Workflow Pattern\r\n\r\n```\r\n1. get_config          ← snapshot baseline\r\n2. set_config(...)     ← inject the misbehaviour\r\n3. [run client flow]   ← trigger the OAuth flow from your client\r\n4. list_logs           ← verify what the client sent and what IdP returned\r\n5. set_config(...)     ← restore to baseline (or next test)\r\n```\r\n\r\n---\r\n\r\n## Quick-Start Config Recipes\r\n\r\nThese are the most common test scenarios. For full JSON configs and more configs, see **`references\u002Fconfig-recipes.md`**.\r\n\r\n### 1. Remove JWT Signature (CVE-2020-28042)\r\n```json\r\n{ \"id_token_config\": { \"remove_signature\": true } }\r\n```\r\nVerify your client rejects tokens with no signature segment.\r\n\r\n### 2. alg:none Attack (CVE-2015-9235)\r\n```json\r\n{ \"id_token_config\": { \"alg\": \"none\" } }\r\n```\r\nVerify your client blocks the `none` algorithm.\r\n\r\n### 3. Wrong Signing Key\r\n```json\r\n{ \"id_token_config\": { \"use_wrong_key\": true } }\r\n```\r\nSigns with a key not in `\u002F.well-known\u002Fjwks.json`. Client must reject.\r\n\r\n### 4. CSRF — Replace State Parameter\r\n```json\r\n{\r\n  \"auth_action\": {\r\n    \"action_type\": \"redirect\",\r\n    \"redirect\": {\r\n      \"default_parameter_action\": \"passthrough\",\r\n      \"parameters\": [{ \"id\": \"state\", \"action\": \"set\", \"values\": [\"tampered_state\"] }],\r\n      \"redirect_target\": { \"use_custom_redirect_uri\": false, \"target\": \"\", \"custom_key\": \"\" },\r\n      \"use_hash_fragment\": false\r\n    }\r\n  }\r\n}\r\n```\r\nVerify your client rejects mismatched `state` (Login CSRF protection).\r\n\r\n### 5. Expired Token\r\nSet the `exp` claim to yesterday:\r\n```json\r\n{\r\n  \"id_token_config\": {\r\n    \"claims\": [\r\n      { \"id\": \"exp\", \"values\": [\"{{with $yesterday := .Time.AddDate 0 0 -1}}{{$yesterday.Unix}}{{end}}\"], \"json_type\": \"number\" }\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n### 6. Invalid Nonce\r\n```json\r\n{\r\n  \"id_token_config\": {\r\n    \"claims\": [{ \"id\": \"nonce\", \"values\": [\"wrong_nonce\"], \"json_type\": \"string\" }]\r\n  }\r\n}\r\n```\r\n\r\n### 7. Invalid Issuer\r\n```json\r\n{\r\n  \"id_token_config\": {\r\n    \"claims\": [{ \"id\": \"iss\", \"values\": [\"https:\u002F\u002Fevil.example.com\"], \"json_type\": \"string\" }]\r\n  }\r\n}\r\n```\r\n\r\n---\r\n\r\n## Reading Logs\r\n\r\nAfter running a test, call `list_logs` to inspect what happened. Logs show:\r\n- Inbound request to each endpoint (method, headers, parameters)\r\n- What the IdP returned\r\n\r\nUse logs to confirm the client sent the right parameters (e.g., `code_verifier` for PKCE) and to debug unexpected behavior.\r\n\r\n---\r\n\r\n## Restoring to Baseline\r\n\r\nAfter testing, restore the original config. Best practice: call `get_config` at the start and save the JSON; then pass it back verbatim via `set_config` to restore.\r\n\r\n---\r\n\r\n## Going Deeper\r\n\r\nFor advanced scenarios, full JSON schemas, Mix-up attack configs, PKCE bypass, implicit flow setup, and templating reference, read:\r\n→ **`references\u002Fconfig-recipes.md`** — full config library with complete JSON configs\r\n→ **`references\u002Fschema-reference.md`** — complete `set_config` field reference",{"name":5,"description":7},"main","e5d30a4827376e7d69ce6259e25b63306230cfe9","src\u002Fmcp\u002Fskills\u002Fpseudo-idp",9,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fpseudo-identity-provider","https:\u002F\u002Fgithub.com\u002Fgoogle","https:\u002F\u002Fopensource.google\u002F","Google ❤️ Open Source","2026-07-10 18:51:29",{"source":9,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add google\u002Fpseudo-identity-provider --skill pseudo-idp",{"tool":56,"command":57},"bunx","bunx skills add google\u002Fpseudo-identity-provider --skill pseudo-idp",{"tool":59,"command":60},"pnpm","pnpm dlx skills add google\u002Fpseudo-identity-provider --skill pseudo-idp","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fpseudo-identity-provider\u002Fblob\u002Fmain\u002Fsrc\u002Fmcp\u002Fskills\u002Fpseudo-idp\u002Fskill.md",true,[64,70],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"references\u002Fconfig-recipes.md","REFERENCE","参考文档",9367,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fpseudo-identity-provider\u002Fblob\u002Fmain\u002Fsrc\u002Fmcp\u002Fskills\u002Fpseudo-idp\u002Freferences\u002Fconfig-recipes.md",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Fschema-reference.md",6225,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fpseudo-identity-provider\u002Fblob\u002Fmain\u002Fsrc\u002Fmcp\u002Fskills\u002Fpseudo-idp\u002Freferences\u002Fschema-reference.md",[]]