Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

pp-learn-disabled-example

Latest version: vgit:428074269596bbc3189c4bfcc97e57fb40f28fbb

Overview

Last scanned
24 Nov 2026
Agent skill Publisher: mvanhorn
5,044 Stars
544 Forks
1 Versions
Go Repo language

Scan summary

pp-learn-disabled-example was last scanned on 24 Nov 2026 at commit 42807426. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: Single version.
  • Findings: 1 rule fired in commit 42807426 (4 instances: 4 low). The score describes this commit only.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
42807426 1 rule fired

Rules fired in 42807426: 1

Findings

4 Low

Findings for commit 42807426. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

Phrase match: instruction-override wording (not reviewed)

An automated phrase check found wording that also appears in attempts to override an agent's instructions, such as "ignore previous instructions" or "enable developer mode". The check does not read context, so quoted examples, headings and ordinary settings steps match too. Not reviewed by a person.

LOW
Checking access…

🔒 Create a free account to see all 4 findings with descriptions and instance counts

The score describes 42807426; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Learn Disabled Example — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the learn-disabled-example-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
    npx -y @mvanhorn/printing-press-library install learn-disabled-example --cli-only
  2. Verify: learn-disabled-example-pp-cli --version
  3. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill.

If the npx install fails before this CLI has a public-library category, install Node or use the category-specific Go fallback after publish.

If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.

Golden fixture exercising the learn.disabled generation-time opt-out. With the self-learning loop on by default for every fresh print, this fixture pins the ONLY sanctioned way to print without it: learn.disabled: true. The locked artifacts must carry no internal/learn tree, no teach/recall/learnings commands, no learn store schema, and no self-learning sections in README.md / SKILL.md / AGENTS.md. A regression here means either the opt-out stopped working (learn surface appears) or the default leaked into an opted-out spec.

When Not to Use This CLI

Do not activate this CLI for requests that require creating, updating, deleting, publishing, commenting, upvoting, inviting, ordering, sending messages, booking, purchasing, or changing remote state. This printed CLI exposes read-only commands for inspection, export, sync, and analysis.

--ca-cert, LEARN_DISABLED_EXAMPLE_CA_CERT, or ca_cert adds a PEM CA bundle to the system trust roots. --tls-server-name, LEARN_DISABLED_EXAMPLE_TLS_SERVER_NAME, or tls_server_name is the name checked against the certificate. Precedence is flag, then environment, then the config file. A config file other users can change does not supply these settings. doctor reports the trust in use and names the setting that fixes a chain or hostname failure.

Command Reference

games — Minimal syncable resource so the disabled shape still keeps its profile-derived store; the opt-out must remove the learn surface, not the ordinary data layer.

  • learn-disabled-example-pp-cli games — List games
Finding the right command

When you know what you want to do but not which command does it, ask the CLI directly:

learn-disabled-example-pp-cli which "<capability in your own words>"

which resolves a natural-language capability query to the best matching command from this CLI's curated feature index. Exit code 0 means at least one match; exit code 2 means no confident match — fall back to --help or use a narrower query. --json (and other machine formats) keep that exit-2 contract and write {"matches":[]} on stdout so agents can inspect the envelope without treating a miss as success.

Auth Setup

Run learn-disabled-example-pp-cli auth setup for the URL and steps to obtain a token (add --launch to open the URL). Then store it:

echo "$TOKEN" | learn-disabled-example-pp-cli auth set-token

Or set LEARN_DISABLED_TOKEN as an environment variable.

Run learn-disabled-example-pp-cli doctor to verify setup.

Agent Mode

Add --agent to any command. Expands to: --json --compact --no-input --no-color.

Global format flags share one contract on promoted, novel, sync, and --deliver paths:

  • --json — one JSON document on stdout (sync progress events go to stderr)

  • --compact — keep identity/status/timestamp fields; does not change the document vs stream shape

  • --csv / --plain — tabular rows (collection envelopes unwrap to the row array). --csv prefixes ' on a cell or header key that starts with =, +, -, @, tab, CR, or LF (fullwidth =+-@ too) so a spreadsheet does not run it as a formula; a plain signed number such as -5 or +2.5e3 is unchanged.

  • --quiet — one identity value per row, no envelope

  • Pipeable — JSON on stdout, errors on stderr

  • Filterable — --select keeps a subset of fields. Dotted paths descend into nested structures; arrays traverse element-wise. Critical for keeping context small on verbose APIs:

    learn-disabled-example-pp-cli games --agent
  • Previewable — --dry-run shows the request without sending. A completed dry run exits 0 with "success": true and "dry_run": true and no HTTP status; validation failures still exit non-zero with "success": false.

  • Offline-friendly — sync/search commands can use the local SQLite store when available

  • Non-interactive — never prompts, every input is a flag

  • Read-only — do not use this CLI for create, update, delete, publish, comment, upvote, invite, order, send, or other mutating requests

Response envelope

Commands that read from the local store or the API wrap output in a provenance envelope:

{
  "meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
  "results": <data>
}

Parse .results for data and .meta.source to know whether it's live or local. A human-readable N results (live) summary is printed to stderr only when stdout is a terminal AND no machine-format flag (--json, --csv, --compact, --quiet, --plain, --select) is set — piped/agent consumers and explicit-format runs get pure JSON on stdout.

Paths and state

Agents should treat the CLI's path resolver as part of the runtime contract:

  • Use --home <dir> for one invocation, or set LEARN_DISABLED_EXAMPLE_HOME=<dir> to relocate all four path kinds under one root.

  • Use per-kind env vars only when a specific kind must diverge: LEARN_DISABLED_EXAMPLE_CONFIG_DIR, LEARN_DISABLED_EXAMPLE_DATA_DIR, LEARN_DISABLED_EXAMPLE_STATE_DIR, LEARN_DISABLED_EXAMPLE_CACHE_DIR.

  • Resolution order is per-kind env var, --home, LEARN_DISABLED_EXAMPLE_HOME, XDG (XDG_CONFIG_HOME, XDG_DATA_HOME, XDG_STATE_HOME, XDG_CACHE_HOME), then platform defaults.

  • config contains settings like config.toml and profiles. data contains credentials.toml, data.db, cookies, and auth sidecars. state contains persisted queries, jobs, and teach.log. cache contains regenerable HTTP/cache files.

  • Stored secrets live in credentials.toml under the data dir. Existing legacy config.toml secrets are read for compatibility and leave config.toml on the first auth write.

  • Run learn-disabled-example-pp-cli doctor --fail-on warn to surface path and credential-location warnings. agent-context exposes a schema v4 paths block for agents that need the resolved dirs.

  • For MCP, pass relocation through the MCP host config. The MCP binary does not inherit CLI flags:

    {
      "mcpServers": {
        "learn-disabled-example": {
          "command": "learn-disabled-example-pp-mcp",
          "env": {
            "LEARN_DISABLED_EXAMPLE_HOME": "/srv/learn-disabled-example"
          }
        }
      }
    }

Fleet precedence: an inherited per-kind env var overrides an explicit --home for that kind. Use LEARN_DISABLED_EXAMPLE_HOME or per-kind vars as durable fleet levers, and use --home only for a single invocation. Relocation is not reversible by unsetting env vars; move files manually before clearing LEARN_DISABLED_EXAMPLE_HOME, or doctor will not find credentials left under the former root.

Local data is unencrypted and relies on OS account permissions plus disk encryption. Reads in the default --data-source auto mode are written to the SQLite store; GET responses are cached for five minutes under the cache dir. local-data purge previews what it would erase (store files, response cache, learn journal) and deletes only with --yes; it is not exposed over MCP. LEARN_DISABLED_EXAMPLE_NO_LOCAL_DATA=1 disables the response cache and store writes, turns auto reads into live reads, and blocks sync and workflow archive; --data-source local still reads an existing store, and LEARN_DISABLED_EXAMPLE_DATA_SOURCE sets the --data-source default.

Agent Feedback

When you (or the agent) notice something off about this CLI, record it:

learn-disabled-example-pp-cli feedback "the --since flag is inclusive but docs say exclusive"
learn-disabled-example-pp-cli feedback --stdin < notes.txt
learn-disabled-example-pp-cli feedback list --json --limit 10

Entries are stored locally as feedback.jsonl under the resolved data dir. They are never POSTed unless LEARN_DISABLED_EXAMPLE_FEEDBACK_ENDPOINT is set AND either --send is passed or LEARN_DISABLED_EXAMPLE_FEEDBACK_AUTO_SEND=true. Default behavior is local-only.

Write what surprised you, not a bug report. Short, specific, one line: that is the part that compounds.

Output Delivery

Every command accepts --deliver <sink>. The output goes to the named sink in addition to (or instead of) stdout, so agents can route command results without hand-piping. Three sinks are supported:

Sink Effect
stdout Default; write to stdout only
file:<path> Atomically write output to <path> as a private 0600 file (exclusive randomly named temp in the destination directory, then rename; a planted symlink is not followed). Binary-response commands write decoded payload bytes (not the base64 JSON envelope) and print a small JSON receipt on stdout; --json/--csv do not refuse when this sink is set.
webhook:<url> POST the output body to the URL (application/json). Redirects are not followed; a 3xx response fails the delivery and the body is not sent to the Location.

Unknown schemes are refused with a structured error naming the supported set. Webhook failures, including redirects, return non-zero and log the URL and HTTP status on stderr.

Named Profiles

A profile is a saved set of flag values, reused across invocations. Use it when a scheduled or recurring agent reuses the same saved flags while providing different input each run.

learn-disabled-example-pp-cli profile save briefing --json
learn-disabled-example-pp-cli --profile briefing games
learn-disabled-example-pp-cli profile list --json
learn-disabled-example-pp-cli profile show briefing
learn-disabled-example-pp-cli profile delete briefing --yes

Explicit flags always win over profile values; profile values win over defaults. agent-context lists all available profiles under available_profiles so introspecting agents discover them at runtime.

Exit Codes

Code Meaning
0 Success
2 Usage error (wrong arguments)
3 Resource not found
4 Authentication required
5 API error (upstream issue)
7 Rate limited (wait and retry)
10 Config error

Argument Parsing

Parse $ARGUMENTS:

  1. Empty, help, or --help → show learn-disabled-example-pp-cli --help output
  2. Starts with install → ends with mcp → MCP installation; otherwise → see Prerequisites above
  3. Anything else → Direct Use (execute as CLI command with --agent)

MCP Server Installation

Install the MCP binary from this CLI's published public-library entry or pre-built release, then register it:

claude mcp add learn-disabled-example-pp-mcp -- learn-disabled-example-pp-mcp

Verify: claude mcp list

For a remote host, learn-disabled-example-pp-mcp --transport http requires LEARN_DISABLED_EXAMPLE_MCP_HTTP_TOKEN set to at least 32 characters (callers send Authorization: Bearer <token>; openssl rand -hex 32 prints 64 hex characters and meets that minimum), binds 127.0.0.1:7777 by default, and needs --tls-cert/--tls-key for any non-loopback --addr. Requests with no Origin header are accepted. Loopback origins are accepted; any other Origin is refused unless listed in LEARN_DISABLED_EXAMPLE_MCP_HTTP_ALLOWED_ORIGINS (comma-separated scheme://host[:port] values). LEARN_DISABLED_EXAMPLE_MCP_READ_ONLY=1 drops mirrored write commands (local-write commands that only touch the CLI's own learn store stay) and makes the raw execute tool refuse state-changing calls.

Direct Use

  1. Check if installed: which learn-disabled-example-pp-cli If not found, offer to install (see Prerequisites at the top of this skill).
  2. Match the user query to the best command from the Unique Capabilities and Command Reference above.
  3. Execute with the --agent flag:
    learn-disabled-example-pp-cli <command> [subcommand] [args] --agent
  4. If ambiguous, drill into subcommand help: learn-disabled-example-pp-cli <command> --help.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • GitHub mvanhorn/cli-printing-press/learn-disabled-example

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229