Back to skill

Security audit

Jq Json Processor

Security checks for vulnerabilities and agentic risk

Overview

This is a simple jq reference skill with disclosed examples; its file-write and curl examples are user-run commands, not hidden behavior.

Install only if you want jq command examples available to your agent. Review commands before running them on real files, especially examples that overwrite package.json, and avoid using curl examples with private endpoints or secrets unless you intend that network request.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (3)

Missing User Warnings

Medium
Confidence
90% confidence
Finding
The markdown includes a 'Modify and save' example that writes a transformed JSON file back to disk via a temporary file and `mv`, which can overwrite the original `package.json`. The surrounding skill description does not warn users that some examples perform file-modifying operations or advise reviewing paths/backups before running them.

External Transmission

Medium
Category
Data Exfiltration
Content
**Extract specific fields from API response:**
```bash
curl -s https://api.github.com/users/octocat | jq '{name: .name, repos: .public_repos, followers: .followers}'
```

**Convert CSV-like data:**
Confidence
50% confidence
Finding
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

External Transmission

Medium
Category
Data Exfiltration
Content
**Debug API responses:**
```bash
curl -s https://api.example.com/data | jq '.'
```

## Tips
Confidence
50% confidence
Finding
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Static analysis

No suspicious patterns detected.