sql-server-toolkit

AdvisoryAudited by Static analysis on Apr 30, 2026.

Overview

No suspicious patterns detected.

Findings (0)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

A mistaken command could change schemas, run migrations on the wrong database, or overwrite an existing backup file.

Why it was flagged

The skill documents raw SQL Server command execution and a backup command that can overwrite backup media. This is expected for the toolkit, but it is high-impact if run against the wrong database or path.

Skill content
sqlcmd -S localhost -d MyDatabase -i script.sql ... BACKUP DATABASE MyDatabase ... WITH FORMAT, INIT;
Recommendation

Review each SQL script, confirm the server/database/path, and require explicit user approval before migrations, restores, bulk imports/exports, or backup commands using FORMAT/INIT.

What this means

Using a broad admin account could let a mistaken or overbroad command affect more data than intended, and command-line passwords may be exposed in shell history or process listings.

Why it was flagged

The example shows SQL Server password authentication using the sa account placeholder. This is a common SQL Server example, but sa is typically a highly privileged login.

Skill content
sqlcmd -S localhost -U sa -P YourPassword
Recommendation

Prefer Windows Authentication or a least-privileged SQL login, avoid putting real passwords directly on the command line, and limit permissions to the target database and task.

What this means

Performance output could reveal sensitive query details if copied into chat logs, tickets, or shared reports.

Why it was flagged

The diagnostics script retrieves cached SQL text from SQL Server. This is purpose-aligned for performance troubleshooting, but query text can contain sensitive table names, parameters, or literals.

Skill content
qt.text
FROM sys.dm_exec_query_stats qs
CROSS APPLY sys.dm_exec_sql_text(qs.sql_handle) qt
Recommendation

Treat diagnostic output as sensitive, redact query text before sharing, and grant DMV access only to users who need it.

What this means

Users may install command-line tools outside the skill review path, so tool provenance and version safety are their responsibility.

Why it was flagged

The README requires external SQL Server tooling, while the registry metadata declares no required binaries and there is no install spec. This is not suspicious by itself, but users must source those dependencies separately.

Skill content
## Requirements
- sqlcmd
- bcp
- Microsoft SQL Server
Recommendation

Install sqlcmd and bcp from trusted Microsoft sources, verify versions, and consider updating metadata to declare these requirements.