deepsafe-scan

Analyze AI agent configurations for secrets, PII, prompt injection, and backdoors.

75|11|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/XiaoYiWeio/deepsafe-scan --skill deepsafe-scan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deepsafe-scan
Source: https://github.com/XiaoYiWeio/deepsafe-scan/tree/main
Command: npx skills add https://github.com/XiaoYiWeio/deepsafe-scan --skill deepsafe-scan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python3.

What problem does it solve?

DeepSafe Scan provides a preflight security check for AI coding agents by examining deployment/posture configs, installed Skills and MCP servers, memory/sessions, and agent hook configurations for secrets, PII, prompt injections, and backdoors, enabling safer AI workflows.

Core Features & Use Cases

  • Static posture, memory, and hooks analysis across multiple agent platforms to reveal misconfigurations and credential exposure.
  • Static scanning of skills/MCP directories to detect hardcoded secrets, dangerous calls, and data exfiltration patterns, with optional LLM-assisted semantic analysis.
  • Memory/session review for secrets and PII leakage, plus prompts-injection risk assessment.
  • Hooks/delivery configuration analysis to identify potential backdoors or prompt-injection vectors.
  • Cross-platform compatibility: OpenClaw, Claude Code, Cursor, Codex, and OpenCode integration.

Quick Start

Run the scanner on your project to generate a comprehensive security report.

Frequently Asked Questions about deepsafe-scan

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan AI agent configurations for prompt injection and backdoors?

To scan AI agent configurations for prompt injection and backdoors, you run a static analysis check on deployment setups and installed MCP servers. This process examines memory, hooks, and skills to detect dangerous calls and exfiltration patterns.

What is the best way to detect secrets and PII leakage in AI agent memory?

The best way to detect secrets and PII leakage in AI agent memory is to perform a dedicated memory and session review. This static analysis identifies exposed credentials and personal data while assessing prompt injection risks.

Does this security scanner work with Claude Code, Cursor, and Codex workflows?

Yes, the security scanner works with Claude Code, Cursor, Codex, OpenClaw, and OpenCode workflows. It applies cross-platform compatibility to analyze posture, memory, and hooks configurations to identify credential exposure.

Do I need Python to run static analysis on MCP servers and agent hooks?

Yes, you need Python3 installed to run static analysis on MCP servers and agent hooks. The scanner uses Python to examine directories for hardcoded secrets, dangerous calls, and data exfiltration patterns.

Can I use LLM-enhanced analysis to detect complex attack patterns in agent skills?

Yes, you can use optional LLM-enhanced analysis to detect complex attack patterns in agent skills. This semantic analysis supplements static scanning to surface sophisticated exfiltration risks and backdoor vectors.

Why does my AI agent security report show false positives during posture analysis?

Posture analysis may show false positives when static analysis flags benign configurations as misconfigurations. Applying optional LLM-assisted semantic analysis helps contextualize the findings and reduce false positives.