{"name":"io.github.mughalhere/prompt-protection","slug":"mughalhere-prompt-protection","title":"prompt-protection","description":"Scan prompts, tool definitions and model output for injection, and guard agent tool calls.","url":"https://mcp.market/server/mughalhere-prompt-protection","rating":null,"grade":"A","score":92,"certified":false,"status":"active","category":"ai","tags":["ai","security"],"presence":{"score":38,"stars":3,"forks":0,"downloads_week":575,"last_push_at":"2026-09-18T18:49:46.000Z","license":"MIT"},"uptime":null,"claimed":false,"transport":"npm","callable_via_gateway":false,"default_price_micros":0,"repository":"https://github.com/mughalhere/prompt-protection","website":"https://mughalhere.github.io/prompt-protection/","version":"3.1.1","remotes":[],"packages":[{"registryType":"npm","registryBaseUrl":"https://registry.npmjs.org","identifier":"prompt-protection","version":"3.1.1","transport":{"type":"stdio"}}],"tools":[{"name":"check_tool_call","description":"Check a model-proposed tool call against provenance policy before executing it: blocks when untrusted data (URLs, emails, paths, verbatim payloads) flows into a network / email / exec / file / payment sink, flags when an injection-scored source preceded it. Pass `sources` for a stateless check; otherwise uses sources registered with register_source. `userText` marks destinations the user named as ","write_action":false,"price_micros":0,"input_schema":null},{"name":"detect_canary","description":"Check model output for a leaked system-prompt canary token in any form (exact, spaced, base64, hex, reversed, partial). Optionally compares the output against the system prompt for verbatim overlap.","write_action":false,"price_micros":0,"input_schema":null},{"name":"register_source","description":"Register an untrusted tool result (email, web page, file, RAG chunk) with the tool-call guard so later check_tool_call decisions can trace data flowing out of it. Returns the injection scan of the source.","write_action":false,"price_micros":0,"input_schema":null},{"name":"scan_output","description":"Scan model output for signs of compromise: leaked system prompts, exposed credentials, PII, or relayed injection aimed at a downstream consumer.","write_action":false,"price_micros":0,"input_schema":null},{"name":"scan_prompt","description":"Scan untrusted user text for prompt injection, jailbreaks, and data exfiltration before it reaches the model. Returns a verdict (allow / flag / block).","write_action":false,"price_micros":0,"input_schema":null},{"name":"scan_tool_definition","description":"Scan a tool/function definition (name, description, parameter schema) for tool poisoning, hidden instructions, concealment directives, or exfiltration embedded in the metadata. Call before trusting a newly discovered tool.","write_action":false,"price_micros":0,"input_schema":null}],"scan":{"score":92,"grade":"A","scanned_at":"2026-09-19T19:48:47.328Z","report":{"scannerVersion":"0.1.5","scannedAt":"2026-09-19T19:48:47.296Z","components":{"code":{"score":25,"max":25,"notes":["66 source files scanned"]},"reliability":{"score":-1,"max":20,"notes":["no gateway calls yet and no remote to probe"]},"poisoning":{"score":-1,"max":15,"notes":["tools not inspected (local package is not executed); not counted"]},"auth":{"score":12,"max":15,"notes":["local package, no credentials required"]},"maintenance":{"score":15,"max":15,"notes":["last push 1 days ago"]},"identity":{"score":8,"max":10,"notes":["registry namespace matches repository owner","GitHub account older than a year"]}},"findings":[],"inputs":{"packages":[{"registryType":"npm","identifier":"prompt-protection","version":"3.1.1","found":true,"license":"MIT","hasInstallScripts":false,"dependencyCount":0,"publishedAt":"2026-09-15T17:30:38.837Z","repositoryUrl":"git+https://github.com/mughalhere/prompt-protection.git","weeklyDownloads":575}],"repo":{"found":true,"owner":"mughalhere","repo":"prompt-protection","archived":false,"pushedAt":"2026-09-18T18:49:46Z","stars":3,"forks":0,"openIssues":1,"ownerType":"User","ownerAvatarUrl":"https://avatars.githubusercontent.com/u/37629854?v=4","ownerCreatedAt":"2018-03-21T16:04:36Z","license":"MIT"},"icon":{"url":"https://avatars.githubusercontent.com/u/37629854?v=4&s=128","source":"registry"},"presence":{"stars":3,"forks":0,"downloadsWeek":575,"license":"MIT","lastPushAt":"2026-09-18T18:49:46.000Z","score":38}}}},"grade_history":[],"reviews":[]}