You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MCP: run SkillShield's text rules on decoded tool descriptions #134
Starts after #133 (reading MCP tool listings) is merged. You are welcome to claim it now and read up while you wait.
What is missing
SkillShield already reads a .json tool listing as plain text, so a plain "ignore all previous instructions" in a tool description is caught. But JSON can hide text behind escape codes, and those are read as-is:
"Ig\u200bnore all previous instructions" (an escaped zero-width character) is missed.
Unicode tag characters written as JSON escapes (\udb40\udc69…) are flagged only as "obfuscation", and the hidden instruction is never decoded or shown.
This replaces mcpscan's MR-001 (tool poisoning) and MR-008 (suspicious URLs), and covers mcpscan's open issue obielin/mcpscan#9 (hidden instructions in tool descriptions). It gives MCP the detection SkillShield already has for skills, including hidden-Unicode and Chinese and Japanese detection.
What done looks like
For a tool listing, the existing text rules (SG-001 to SG-015) run on each tool's decodedname, description and the text inside its inputSchema (property descriptions, titles, defaults, enum values), as well as on the raw file.
Findings name the tool and point at its line, and the same finding is not reported twice for the raw and decoded text.
Tests: the two examples above, a plain injection, a suspicious URL (https://abc123.ngrok.io/collect) in a property description, and a safe listing with ordinary descriptions.
Before you start, read CONTRIBUTING.md, especially "Adding or changing a detection rule" and "Test samples must be safe". Comment /assign here to claim the issue.
If there is no activity from you for 10 days you'll get a reminder, and after 14 days the issue is released for someone else. Any comment from you counts as activity, and an open pull request that mentions this issue pauses the clock. Comment /extend if you need more time, or /unassign to let it go.
Activity
docs(readme): describe MCP scanning as it works today
docs(readme): document scanning MCP tool listings (#147)
github-actions commentedon Nov 21, 2026
@cardtable GitHub didn't accept the assignment. A maintainer will assign it to you by hand.
cardtable commentedon Nov 21, 2026
/assign
github-actions commentedon Nov 21, 2026
@cardtable it's yours, thanks for picking this up! Please read CONTRIBUTING.md before you start.
If there is no activity from you for 10 days you'll get a reminder, and after 14 days the issue is released for someone else. Any comment from you counts as activity, and an open pull request that mentions this issue pauses the clock. Comment
/extendif you need more time, or/unassignto let it go.