Urgent.News

What's breaking now, across hundreds of outlets.

Tech

How to Evaluate and Block SQL Injection Attempts Hidden in JSON Bodies

An API can reject suspicious query strings while still accepting dangerous input inside a JSON request body. A search endpoint might receive {"filter":"pending"} , then concatenate that value into a database query. If an attacker replaces the value with SQL syntax, the vulnerability is in how the application builds the query. JSON is only the delivery format. AI-assisted automation makes it…

To evaluate and block SQL injection attempts hidden in JSON bodies, follow these steps:

1. Identify the endpoint and establish safe test conditions.

2. Install SafeLine, a self-hosted WAF that filters HTTP/S traffic and protects against SQL injection.

3. Configure the application and verify the traffic path by sending requests through the SafeLine server and checking for any issues.

4. Test JSON bodies as a separate acceptance requirement by changing string fields to SQL injection probes in a controlled environment.

5. Make the production decision based on evidence that normal requests work, malicious requests are blocked, and application review confirms safe database access.

Remember to avoid copying credentials or complete sensitive request bodies into investigation notes and retain a small regression detection plan.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

When a review sends the plan back

First published on openspec-ui.dev . A tester ran Review on an OpenSpec change and got five things to fix. They ran Propose again and saw no change in the files.

  • Review sends plan back for changes
  • Tester identifies five necessary fixes
  • Verdict "changes needed" triggers Update stage

How to Reply to a TikTok Comment With a Video (2026): Pick One Real Comment, Stick to Your Facts, Script It in 25 Seconds

Full disclosure: I built a comment-reply script tool on Capafy, so I'm biased. Everything below works with a notes app, the comment you want to answer and about fifteen minutes.

  • Select a real comment worthy of a reply, such as a question or objection.
  • Write only confirmed facts like numbers, experiences, and limitations.
  • Draft three reply angles: direct answer, demonstration, or reframed perspective.

A vs B: Placing Your WAF Before or After a JSON API Gateway

An automated attacker does not need a suspicious URL to probe for SQL injection. A normal-looking POST to a search endpoint can carry the payload inside a JSON filter, nested object, or array.

  • Option A places WAF before API gateway, inspecting JSON payloads first
  • Option B places WAF after API gateway, after request transformation
  • Testing required for both placements, focusing on WAF decisions and application actions

Package a Chrome Extension Without Store Upload Errors

Originally published on ExtensionLaunch . If you want to package a Chrome extension for the Chrome Web Store, the file you need is a ZIP, not the CRX that Chrome's "Pack extension" button gives you.

  • Use ZIP format, not CRX, for Chrome extension uploads
  • Ensure ZIP contains extension files directly, not nested folders
  • Update version number in manifest.json to avoid rejection

More from Sunday, 29 November 2026 →