best-json-formatter

Warn

Audited by Gen Agent Trust Hub on Jul 28, 2026

Risk Level: MEDIUMEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The skill relies on npx -y bestjsonformatter@latest to run its core functionality. Fetching a package with the @latest tag means the specific code being executed is not fixed, which poses a supply-chain risk if the package is updated with malicious or breaking changes.
  • [REMOTE_CODE_EXECUTION]: The use of npx to execute code downloaded from a remote registry at runtime is a form of remote code execution. The lack of version pinning or integrity checks makes this behavior less secure for an autonomous agent.
  • [PROMPT_INJECTION]: The skill is designed to read and manipulate JSON files, which creates a surface for indirect prompt injection.
  • Ingestion points: The agent is instructed to use commands like bjf check and bjf format on project files (SKILL.md).
  • Boundary markers: No specific delimiters or instructions are provided to the agent to treat the content of the JSON files as data only, increasing the risk that the agent might follow embedded commands.
  • Capability inventory: The skill grants the agent the ability to execute shell commands and potentially modify files.
  • Sanitization: The skill does not describe any mechanisms to sanitize the text within the JSON files before the agent processes or reads the output.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Jul 28, 2026, 07:24 PM
Security Audit — agent-trust-hub — best-json-formatter