Back to skill

Security audit

Json Formatter Pro

Security checks for vulnerabilities and agentic risk

Overview

This is a straightforward JSON formatter/validator that reads user-specified JSON and only writes output when the user chooses an output path.

Before installing, note that using --output writes to disk and can overwrite the chosen destination file. Prefer stdout or a new output filename when formatting important JSON files.

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
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
90% confidence
Finding

The skill documentation describes file read/write behavior but does not declare any explicit tool scope such as permissions or allowed-tools. This creates an authorization ambiguity where an agent or platform may permit broader filesystem access than users expect, increasing the risk of unintended file disclosure or overwrite.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
83% confidence
Finding

This markdown file documents a behavior that affects user data by allowing output to be written to a specified file, including an example that saves results to a file. Under the markdown-specific warning criterion, there is no explicit user warning about file modification or overwrite risk.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
89% confidence
Finding

The file includes a Chinese usage scenario and expected output alongside English documentation, but it does not state that multilingual use is optional or that the skill is intended for a specific locale. Under the policy rule, forcing or assuming a language/locale without user opt-in can be a natural-language policy concern.

Content

No source excerpt is available for this finding.