Back to skill

Security audit

doc-desens-scanner

Security checks for vulnerabilities and agentic risk

Overview

This privacy tool needs review because its optional report exposes sensitive information that the sanitized document removes.

Do not share --report output: it can contain complete personal details and secret excerpts. Seek a version that removes raw samples and accurately declares file access. Limit access to explicitly selected inputs and manually review sanitized results because detection uses limited patterns. Host enforcement of the declared restrictions remains unverified.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (5)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The documented file-input workflow conflicts with filesystem: false, while the optional report exposes original sensitive values rather than only safe audit metadata. Including that report with an externally shared sanitized document can disclose complete phone numbers, short email addresses, and secret prefixes, directly undermining this skill's privacy purpose.

Content

No source excerpt is available for this finding.

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 63)May include surrounding context.

md
![LGD Powered](lgd-powered.png)

The audit report reintroduces unmasked sensitive information into the sanitized output.

High
Category
Excessive Agency
Confidence
100% confidence
Finding

With --report, the script prints up to 12 original characters from every sensitive match into the same stdout stream as the sanitized document. This reveals complete 11-digit phone numbers and short email addresses, as well as partial secrets, making output capture or external sharing unsafe.

Content

No source excerpt is available for this finding.

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: file_read.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

File-input mode reads the filesystem despite an explicit filesystem permission denial.

Medium
Category
Excessive Agency
Confidence
100% confidence
Finding

The --file branch reads a caller-supplied local path despite the explicit filesystem: false declaration, with no application-level path restriction. If the host relies on that declaration rather than enforcing a sandbox, the script can access files readable by its process; this does not demonstrate a bypass of an enforced filesystem denial.

Content

No source excerpt is available for this finding.