File tree Expand file tree Collapse file tree
nutrient-document-processing Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -117,3 +117,14 @@ Read only what you need:
117117- Do not log secrets.
118118- All client methods are async and should run via ` asyncio.run(main()) ` .
119119- If import fails, install dependency with ` uv add nutrient-dws ` .
120+
121+ ## Security Hardening Addendum
122+
123+ - Prefer a pinned, preinstalled MCP server binary over runtime package fetches.
124+ - Preferred: ` npm i -g @nutrient-sdk/dws-mcp-server@<pinned-version> `
125+ - Avoid unpinned runtime fetch in production paths.
126+ - Never store ` NUTRIENT_DWS_API_KEY ` in committed JSON config files.
127+ - Use process env injection at runtime (shell/export, secrets manager, or host env).
128+ - Restrict file access with ` SANDBOX_PATH ` to the minimum required working directory.
129+ - Before enabling MCP mode in production, verify package provenance and lock version.
130+
You can’t perform that action at this time.
0 commit comments