Back to skill

Security audit

PRECC

Security checks for vulnerabilities and agentic risk

Overview

The skill is rated suspicious because its install instructions pipe a remote script directly into a shell, and scanners also report capabilities beyond its stated purpose; this is a security concern, not evidence of malicious intent.

Consider the verdict suspicious and review the installer and the skill's broader data access before installing. In particular, the instructions execute a remote script directly, while the scan reports session-history mining and other capabilities beyond the stated purpose. Scanning was partial because a referenced local path was missing, so the evidence is incomplete.

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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (7)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

Token prediction, recording actual token usage, training, and evaluation align with the declared ML oracle. Learning failure-fix patterns can support command correction, but ingesting all existing session history introduces a broader data-access scope not disclosed by the description; the chunk shows no opt-in check. Semantic code indexing/search and context-file compression are distinct capabilities not covered by the declared purpose. The chunk does not show a pre-execution command-correction hook or establish whether telemetry is actually collected.

Content

No source excerpt is available for this finding.

Agent Config Directory Access

High
Category
Agent Snooping
Confidence
90% confidence
Finding

Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.

Content

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

md
config:
        - ~/.local/share/precc/history.db
        - ~/.local/share/precc/heuristics.db
        - ~/.claude/settings.json
      env:
        - PRECC_LICENSE_KEY
    primaryEnv: PRECC_LICENSE_KEY

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

The installation command executes a mutable remote script directly with the user's privileges, without first inspecting or independently authenticating that script. Compromise of the script delivery infrastructure could execute arbitrary code and install a persistent agent hook; the claimed checksum verification of subsequently downloaded binaries does not authenticate the installer itself.

Content

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

Install

bash
curl -fsSL https://peria.ai/install.sh | bash
precc init

Chaining Abuse

High
Category
Tool Misuse
Confidence
97% confidence
Finding

The pipe sends downloaded content directly to a shell, making the remote response executable rather than inert data. This is the same installation vulnerability identified by SC2, not separate evidence of malicious chaining, and should not be counted twice in the overall risk assessment.

Content

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

Install

bash
curl -fsSL https://peria.ai/install.sh | bash
precc init

Agent Config Directory Access

High
Category
Agent Snooping
Confidence
90% confidence
Finding

Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.

Content

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

precc init

text

The install script downloads a platform-specific binary from GitHub Releases, verifies its SHA256 checksum, and places it in `~/.local/bin`. It then configures a PreToolUse hook in `~/.claude/settings.json`.

## Live Status Line

Agent Config Directory Access

High
Category
Agent Snooping
Confidence
90% confidence
Finding

Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.

Content

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

  • Tokens saved — estimated token savings from all corrections
  • Hook latency — average hook execution time

To enable manually, add to ~/.claude/settings.json:

json
{
  "statusLine": {

Agent Config Directory Access

High
Category
Agent Snooping
Confidence
90% confidence
Finding

Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.

Content

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

md
## What PRECC Modifies

- **`~/.claude/settings.json`** — Adds a `PreToolUse` hook entry pointing to `precc-hook`
- **`~/.local/share/precc/`** — SQLite databases for learned failure-fix patterns and skill heuristics
- **`~/.local/bin/`** — Installs `precc`, `precc-hook`, and `precc-learner` binaries