SShortSingh.
Back to feed

Why MCP gateways alone fail to stop AI hallucinations on live ERP data

0
·12 views

Teams deploying Model Context Protocol infrastructure often assume LLM proxies and MCP gateways will govern database access, but a security review can stall once they realize these gateways only inspect JSON-RPC envelopes and tool names. The downstream SQL or OData servers still run raw queries against ERP tables that lack declared relationships, typically through one shared service account. The article argues that a gateway cannot convey how ERP, CRM, and manufacturing tables relate, nor interpret cryptic status codes or prevent unsafe writes disguised as valid calls. It recommends keeping gateway-level controls for authentication, rate limits, and tracing, while adding a separate enterprise ontology layer that enforces row and column permissions and mediates operational changes.

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 ·

Graveyard Broker uses an evidence-first Kiro workflow to keep AI output honest

A developer built Graveyard Broker, a Kiroween hackathon app that scans an abandoned GitHub repository and advises whether to revive, sell, or archive it, flagging sale blockers and drafting a listing. The main challenge was trust, since AI agents and models tend to fabricate claims about security or value. To prevent this, the developer used Kiro steering files that act as standing rules, such as presenting value as a range and always telling owners to rotate leaked keys. Technical boundaries separate deterministic scanner code, which alone decides what counts as a secret or vulnerability, from the AI model, which only phrases results. Requirements are written as testable statements in spec files and mapped to code and tests, and the model's output is validated so that any sentence lacking verifiable fact citations or containing hype language is discarded.

0
ProgrammingDEV Community ·

Reef Pairs puzzle guarantees one solution per daily board via exhaustive search

Reef Pairs is a daily logic puzzle on JumpBud in which a 4×5 grid of shaped tiles must be joined into ten dominoes, with each shape pairing used exactly once. The builder insists every daily board have a single valid solution so that no player is left with an ambiguous answer. Counting the tilings of a 4×5 grid gives 95 possibilities, which makes a brute-force solver practical and fast, taking about 0.035 ms per board. Random boards were mostly unsolvable or had multiple answers, so the developer generates a planted solution and then verifies uniqueness, keeping only the few boards that pass. The verified pool of 365 boards is stored client-side, with the daily board selected by a deterministic date-based formula requiring no server.

0
ProgrammingDEV Community ·

Tencent's Hy4 Safety Claims Rest Mostly on Vendor Statements

Tencent released Hy4 as an open source model and said its training data excludes offensive cyber exploitation material. The company also promised to publish model weights and a system card, but these had not been verified as publicly available at the time of the analysis. Reuters reported Tencent's claim of internal safety tests and defensive-only cybersecurity training data, though it did not cite any independent verification. The author argues that a training data exclusion affects inputs rather than proving safe outputs, since general capabilities can still enable harmful content and open weights can be fine-tuned. Teams are therefore advised to independently test the model with their own red team evaluations before deploying it in production.

0
ProgrammingDEV Community ·

DKIM Key Rotation Needs Three Release Gates Tied to Verified DNS Records

The article argues that DKIM key rotation on customer publication domains should run as a gated release rather than a calendar-driven DNS change. Rotation should publish and verify the replacement key before switching signing, and retire the old key only after a set observation period. A separate emergency path is recommended if a key may be compromised, where restoring trust can take priority over older message verification. The author notes that a working website connection does not prove DMARC-aligned mail authentication, since RFC 7489 ties DMARC to authenticated identifiers matching the From domain. The proposed workflow records each rotation as a reviewable change with three gates: approving intent, verifying publication, and authorizing retirement.