razorpay/slashdocs
Give your agents the power to publish reviewable HTML documents. Self-hosted server + CLI + remote MCP; agents push, humans review with comments and versions.
f4a7a1a102ddgithub.com/razorpay/slashdocsPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
Prompt Integrity, Secrets & Credentials and Behavior Transparency are not analysed and have no number.
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety and Capability Exposure are shown as partly traced instead of a score: no finding there is not a clean result.
- Prompt Integrity and Secrets & Credentials: no tool description could be read from the code
- Behavior Transparency: no tool description could be read to compare with the code
- In 87 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- 134 source files could be read only in part
- 3 places in the code register tools whose names are computed at run time; how many tools that makes cannot be read from the code
Top risks in plain words
- MEDIUM5 production dependencies have known vulnerabilities (worst: medium).
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Update its vulnerable packages
Use
github.com/klauspost/compress1.20.2 or later,github.com/mark3labs/mcp-go1.5.1-0.20261109144041-2f5b9637ea84 or later,github.com/quic-go/quic-go0.59.1 or later,golang.org/x/crypto0.58.1-0.20261009181718-2f1f834330b2 or later and 1 more. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 55 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
create_documentNo tool was seen to: start other programs on the machine; read or write files; read passwords, tokens or keys; read environment variables; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
1 request address could not be settled from the code (built at run time).
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- web or API responses1 tool · create_document
Not all three are present in the tools the scanner traced.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (55: 55 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool
No description.
create_commenttool
No description.
create_documenttool Networkoutside text
No description.
create_foldertool
No description.
create_point_commenttool
No description.
create_service_account_transfertool
No description.
delete_commenttool
No description.
delete_documenttool
No description.
delete_foldertool
No description.
edit_documenttool
No description.
get_authoring_guidelinestool
No description.
get_documenttool
No description.
get_document_htmltool
No description.
get_document_versiontool
No description.
get_foldertool
No description.
get_server_configtool
No description.
list_commentstool
No description.
list_document_accesstool
No description.
list_document_access_requeststool
No description.
list_document_approvalstool
No description.
list_document_approverstool
No description.
list_document_versionstool
No description.
list_documentstool
No description.
list_folder_accesstool
No description.
list_folder_documentstool
No description.
list_folderstool
No description.
list_service_account_keystool
No description.
list_service_account_transferstool
No description.
list_service_accountstool
No description.
move_documenttool
No description.
move_document_to_foldertool
No description.
move_document_to_roottool
No description.
move_foldertool
No description.
remove_document_approvertool
No description.
rename_documenttool
No description.
rename_foldertool
No description.
reply_commenttool
No description.
request_document_accesstool
No description.
request_document_approvaltool
No description.
revoke_document_granttool
No description.
revoke_folder_granttool
No description.
revoke_service_account_keytool
No description.
search_folderstool
No description.
server_movedtool
No description.
set_document_labelstool
No description.
share_documenttool
No description.
share_foldertool
No description.
update_commenttool
No description.
update_documenttool
No description.
update_document_granttool
No description.
update_folder_granttool
No description.
update_service_accounttool
No description.
whoamitool
No description.
Text the model reads (55)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
list_document_approvals tool
list_document_approvers tool
request_document_approval tool
remove_document_approver tool
list_documents tool
get_document tool
create_document tool
rename_document tool
delete_document tool
set_document_labels tool
move_document tool
list_document_versions tool
get_document_version tool
get_document_html tool
update_document tool
edit_document tool
list_comments tool
create_comment tool
reply_comment tool
create_point_comment tool
update_comment tool
delete_comment tool
(name computed at run time) tool
(name computed at run time) tool
request_document_access tool
list_document_access_requests tool
list_document_access tool
share_document tool
update_document_grant tool
revoke_document_grant tool
list_folders tool
search_folders tool
get_folder tool
create_folder tool
rename_folder tool
move_folder tool
delete_folder tool
list_folder_access tool
share_folder tool
update_folder_grant tool
revoke_folder_grant tool
list_folder_documents tool
move_document_to_folder tool
move_document_to_root tool
whoami tool
get_server_config tool
get_authoring_guidelines tool
list_service_accounts tool
update_service_account tool
list_service_account_keys tool
revoke_service_account_key tool
list_service_account_transfers tool
create_service_account_transfer tool
(name computed at run time) tool
server_moved tool
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 55 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 55 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 55 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 55 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 55 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 55 capabilities; 55 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 55 capabilities; 55 more call code the scanner could not follow, where it may happen
- Tools that call the network1 of 55 capabilities call the network; 54 more call code the scanner could not follow, where it may happen
Where the code is: 55 handlers in 6 files at commit f4a7a1a102dd
api/internal/server/mcp_approvals.golist_document_approvals, list_document_approvers, request_document_approval, remove_document_approverapi/internal/server/mcp_documents.golist_documents, get_document, create_document, rename_document, delete_document, set_document_labels, move_document, list_document_versions, get_document_version, get_document_html, update_document, edit_document +14api/internal/server/mcp_folders.golist_folders, search_folders, get_folder, create_folder, rename_folder, move_folder, delete_folder, list_folder_access, share_folder, update_folder_grant, revoke_folder_grant, list_folder_documents +2api/internal/server/mcp_general.gowhoami, get_server_config, get_authoring_guidelinesapi/internal/server/mcp_service_accounts.golist_service_accounts, update_service_account, list_service_account_keys, revoke_service_account_key, list_service_account_transfers, create_service_account_transfer, (name computed at run time)api/internal/server/moved.goserver_moved
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityNot checked: no tool description could be read from the code
- Dependency manifests2 manifests: frontend/package.json, go.mod
- Lockfiles checked against OSV2 files resolved and checked against the OSV database
- Known vulnerabilities in production dependencies MEDIUM5 production packages with known advisories
- Known vulnerabilities in other dependencies3 packages with advisories used only for development, tests or examples; an install of the server leaves them out
- MCP SDK versiongithub.com/mark3labs/mcp-go v1.5.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkNot checked: no tool description could be read from the code
- Tools that read credentialsNot seen in the traced code of 55 capabilities; 55 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionNot checked: no tool description could be read to compare with the code
- Tool descriptions presentEvery tool has a description the model and the user can read (55 only in code no tool reaches)
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (5 in production)
github.com/quic-go/quic-goGo v0.59.0 MEDIUM 2 advisories 0.59.1
- MEDIUMGHSA-vvgj-x9jq-8cj9 CVE-2026-40898 GO-2026-5676quic-go: HTTP/3 QPACK Trailer Expansion Memory Exhaustion
- MEDIUMGO-2026-5676 CVE-2026-40898 GHSA-vvgj-x9jq-8cj9HTTP/3 QPACK Trailer Expansion Memory Exhaustion in github.com/quic-go/quic-go
golang.org/x/netGo v0.61.0 MEDIUM 2 advisories 0.62.0
- MEDIUMGO-2026-6860 CVE-2026-78661Avoid quadratic complexity when coalescing text nodes in html in golang.org/x/net
- MEDIUMGO-2026-6866 CVE-2026-97045Check all ancestor namespace transitions when rendering raw text in html in golang.org/x/net
github.com/klauspost/compressGo v1.20.1 MEDIUM 1 advisory 1.20.2
- MEDIUMGO-2026-6865 CVE-2026-116591 GHSA-fpmh-frq8-7rj8Panic on two-block frames in github.com/klauspost/compress
github.com/mark3labs/mcp-goGo v1.5.0 MEDIUM 1 advisory 2026-11-09
- MEDIUMGO-2026-6911SSRF and credential leak via unvalidated redirects and SSE endpoint origin in github.com/mark3labs/mcp-go
golang.org/x/cryptoGo v0.58.0 MEDIUM 1 advisory 2026-10-09
- MEDIUMGO-2026-5932The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues
3 vulnerable packages outside the server itself (used only for development, tests or examples, not shipped)
browserslistnpm 4.28.5 HIGH 2 advisories 4.28.7
- HIGHGHSA-c83g-rgw3-j3cx CVE-2026-73089Browserslist: Unbounded memory growth (no cache eviction) via distinct query results, leading to eventual OOM
- HIGHGHSA-73wf-gq98-2v4g CVE-2026-73088Browserslist: Uncaught crash / prototype write via untrusted browserslist-stats.json custom stats (normalizeStats)
zodnpm 4.4.3 HIGH 1 advisory 4.6.6
- HIGHGHSA-mrhx-c7xc-m3w5 CVE-2023-54404Zod can exhaust memory while validating oversized constrained collections
minimatchnpm 10.2.6 MEDIUM 1 advisory 11.0.1
- MEDIUMGHSA-g3hv-75wg-m249 CVE-2026-118764minimatch has potential denial of service via globparts amplification
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | Streamable HTTP |
| Sign-in | not checked needs the live server |
| MCP SDK | github.com/mark3labs/mcp-go v1.5.0 |
| Servers in the code | 2 (slashdocs) |
The project's own security
| Security policy | yes SECURITY.md |
|---|---|
| Private reporting | the policy does not name a private channel |
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-15 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 1 catalog (github_search) |
|---|---|
| License | MIT |
| Created | 2026-06-04 |
| Topics | ai-agents claude-code code-review documents golang html mcp mcp-server react self-hosted |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.