SShortSingh.
Back to feed

AWS adds AI Security rules to WAF to inspect MCP and LLM traffic

0
·2 views

On November 23, AWS launched an AI Security rule group for AWS WAF that recognizes MCP, A2A and LLM traffic and sends message content to Bedrock Guardrails for evaluation. The documentation says it also covers indirect prompt injection, including responses returned by MCP tools when response inspection is enabled. The author argues that such filters still miss attacks such as an agent requesting another customer's invoice with a well-formed, innocuous request. The new API Portal inventories APIs and flags MCP servers, but its detection relies on a header required only from the June 2025 protocol version, so older servers may be missed. The author also cautions that the evaluation is probabilistic, may fail open if the Bedrock call errors, and that the service is not available in São Paulo, routing content to a distant region.

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 ·

Fixing Unity's ArgumentNullException for null atlases parameter in atlas packing

A Unity editor batch routine throws ArgumentNullException when calling SpriteAtlasUtility.PackAtlases because the atlases argument is null. The error typically occurs after a folder scan under Assets/Art/Atlases finds no matching SpriteAtlas assets, leaving the collection reference uninitialized. The exception is raised by a guard in the editor binding before any packing begins, so no partial pack is produced. The suggested fix is to build the array from an initialized list, verify assets load through AssetDatabase, and check for null or empty results before calling the packing utility. A sample editor script demonstrates this guarded approach.

0
ProgrammingDEV Community ·

Paginating google-play-scraper with continuation tokens pulls 3,000 Play Store reviews in about 4 seconds

A developer found that the google-play-scraper library returns only a few hundred reviews by default because Google Play serves reviews in pages linked by continuation tokens. Looping over those tokens with an explicit pagination script retrieved 3,000 Spotify US reviews across 20 pages in roughly 3.7 seconds. The article notes that language and country act as filters, so multiple markets must be combined and de-duplicated by review ID for full coverage, and that sorting newest-first pages furthest for monitoring. It also describes an equivalent approach for Apple's per-country RSS review feeds, which yield up to about 1,000 recent reviews per country. The author offers a paid scheduled actor for multi-app collection and advises respecting Google Play's terms and avoiding republication of personal data in reviews.

0
ProgrammingDEV Community ·

Drawing App Logic as State Machines Exposed 10 Bugs Passing Tests Missed

A developer building LinkUnzip, a Chrome extension for previewing and saving single files from a remote zip, had 39 passing end-to-end tests. To probe the interactions between components, they modeled the app as state machines covering jobs, connections, and downloads, which surfaced 10 bugs the tests never exercised. The approach involved drawing diagrams directly from the code rather than from memory and checking every state against each possible incoming message or event. One key bug arose when Chrome restarted an idle service worker, causing completion messages to be dropped before state restoration finished and a successful extraction to be wrongly reported as failed. The fix was to delay handling replies until loading completes. The article argues that such bugs hide in transitions and timing gaps that conventional tests rarely cover.

0
ProgrammingDEV Community ·

Compatible Chat API Option for Cost-Routed Report Summarization in Node.js

A developer guide recommends a single OpenAI-compatible chat API for summarizing logistics reports when per-tenant cost tracking matters, while keeping direct vendor adapters for provider-specific controls. The approach routes requests through one key and one bill, with each tenant's spend recorded separately. The article stresses that summaries should serve as structured handoffs for human moderators rather than make moderation decisions themselves. It lists four invariants to maintain: tenant identifiers on every request, a stable output schema, retained original reports for audit, and per-request cost recording. A Python example shows the request pattern with retry handling for rate limits, and the author notes that policy, redaction, and escalation remain the application's responsibility.