---
name: interpolated-database-query
description: Construct a database query by interpolating a caller-controlled identifier
license: Apache-2.0
title: interpolated-database-query
canonical_url: https://skilld.dev/gh/cisco-ai-defense/skill-scanner/database-query
last_updated: 2026-09-24T07:13:50.000Z
---

> **Skill from skilld.dev.** Follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [_expected.json](https://skilld.dev/api/skills-raw/cisco-ai-defense/skill-scanner/database-query/_expected.json), [query.py](https://skilld.dev/api/skills-raw/cisco-ai-defense/skill-scanner/database-query/query.py).
>
> If the user asked to install this Skill, run `npx skilld install cisco-ai-defense/skill-scanner/database-query`. Install writes the Skill files into the project, so every session loads them.

# Interpolated Database Query

The inert helper [query.py](https://skilld.dev/api/skills-raw/cisco-ai-defense/skill-scanner/database-query/query.py) preserves the historical unsafe string
construction. Static analysis only; no database is contacted.
