SShortSingh.
Back to feed

MCP Tool Servers Can Leak Developer Secrets Through Inherited Environment Variables

0
·2 views

Anthropic's Model Context Protocol is widely used to give AI coding agents shell, database, and API access on local developer machines. The article argues that many local MCP implementations spawn tool servers over stdio with the full parent environment inherited, exposing cloud credentials, tokens, and connection strings. A compromised dependency or prompt-injected tool could read these variables and send them to an external server without triggering shell approval prompts. The author also describes risks from dynamically mutated tool schemas, adversarial instructions hidden in tool descriptions, and undeclared side effects. The recommended mitigation is to stop passing the full environment to MCP processes and instead enforce a strict minimal allowlist, along with sandboxed runtime isolation.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Rotating GBase 8a Database Passwords Without Locking Out Applications

GBase 8a locks accounts after a set number of failed logins, so applications still using an old password after a change can cause lockouts. Existing connections keep working after a password change, and only newly opened connections are checked against the new password. The article outlines several rotation approaches: a shared encrypted config file on network storage, centralized configuration centers like Nacos or Consul that push updates to applications, a dedicated password table read by a stable account with stored-procedure-driven updates, and external secret managers such as KMS or Vault. Across all methods, passwords stay encrypted and applications must be able to fetch the latest credential whenever they open a new connection.

0
ProgrammingDEV Community ·

eMondrian's open-source MCP server lets AI agents query governed business metrics

eMondrian is an open-source semantic layer and OLAP server whose MCP server ships in the free Community edition without a license key. Through it, AI agents such as Claude can browse cubes and measures and run MDX queries, so figures come from the model's definitions rather than guessed joins. With the DAX module, a 30-day free evaluation key enables DAX queries and Power BI report building. The same MCP server lets agents set up the semantic layer itself, including connecting databases, writing cubes, defining roles, and creating dashboards. A public read-only demo over 182 million US flight records is available for anyone to try.

0
ProgrammingDEV Community ·

Confluence Data Center Reaches End of Life in 2029, Prompting Self-Hosted Wiki Search

Atlassian has set a timeline for retiring Confluence Data Center, with new Data Center subscriptions no longer sold as of March 2026 and existing customers able to buy new licences until March 2028. The product reaches end of life on 28 March 2029, when licences expire and instances become read-only, though security fixes continue until then. Teams that want to keep their knowledge bases on their own servers are therefore being urged to start evaluating alternatives now, since large migrations involving macros, permissions and attachments take considerable time. The article compares six open source wiki options, including BookStack, Wiki.js, Outline and Docmost, noting differences in licensing, features and migration trade-offs. It advises organisations to first separate how they actually use Confluence, as wikis suit reference documentation and collaborative drafting better than file storage or discussion records.

0
ProgrammingDEV Community ·

Fixing Silent Failures in n8n Workflows with a Practical Checklist

Silent failures in n8n occur when a workflow completes without errors yet produces no expected output, making them especially hard to diagnose. The article outlines ten common patterns, including missing webhook URLs, uncaught node errors, API authentication or rate-limit problems, and empty input data. For each pattern it lists the typical symptom, the likely cause, and a quick fix such as using Error Triggers, enabling Continue on error, or verifying environment variables. A reusable checklist is provided to run after each deployment, and a real example shows a webhook workflow that failed because an environment variable was undefined in a new container.