← ctxcap@1.6.0

Propose a patch

A fix the maintainer can act on, with the evidence attached. It opens under your GitHub account in your browser; KillerSkills holds no token and never modifies the package. The fix is verified the only way we verify anything: the next crawl re-runs the new version in the honeypot. 61 · Caution

Evidence

The sandbox observed nothing beyond the static findings; the proposal cites those.

Diff · removes 9 caught lines

Download .patch
diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -352,1 +352,0 @@
-ctxcap-ignore
diff --git a/scripts/leaderboard-page.mjs b/scripts/leaderboard-page.mjs
--- a/scripts/leaderboard-page.mjs
+++ b/scripts/leaderboard-page.mjs
@@ -103,1 +103,0 @@
-…ompare-title"> <h2 id="compare-title">Where does your file sit?</h2> <p>Enter the token count of one context file. It is placed against the ${rows.length} files in thi…
diff --git a/examples/boilerplate/README.md b/examples/boilerplate/README.md
--- a/examples/boilerplate/README.md
+++ b/examples/boilerplate/README.md
@@ -15,1 +15,0 @@
-you edit `AGENTS.md` before committing, refresh it:
@@ -19,1 +18,0 @@
-npx ctxcap --update-baseline   # after any edit to AGENTS.md
diff --git a/DISCOVERY.md b/DISCOVERY.md
--- a/DISCOVERY.md
+++ b/DISCOVERY.md
@@ -89,1 +89,0 @@
-…ven an edit to `README.md` on stdin | Exit 0, no output. | | The same, given an edit to `CLAUDE.md` | Exit 0. One JSON object: `hookSpecificOutput.additionalContext` = "ctxcap: C…
@@ -130,1 +129,0 @@
-…d` | The edit lands. No hook message, no hook error | not run | | 3 | Ask it to add one line to `CLAUDE.md` | The edit lands and is not blocked or retried. Claude is told the new count (…
@@ -146,1 +144,0 @@
-| 2 | Ask it to add one line to `CLAUDE.md` | It reports the token count before and after | not run |
diff --git a/test/wire.test.js b/test/wire.test.js
--- a/test/wire.test.js
+++ b/test/wire.test.js
@@ -128,1 +128,0 @@
-const direct = hook(dir, 'post-edit', { tool_name: 'Write', tool_input: { file_path: 'AGENTS.md' } });
diff --git a/PROJECT_OVERVIEW.md b/PROJECT_OVERVIEW.md
--- a/PROJECT_OVERVIEW.md
+++ b/PROJECT_OVERVIEW.md
@@ -9,1 +9,0 @@
-Every modern engineering repository is becoming an agent harness: developers write `CLAUDE.md`, `AGENTS.md`, `.cursor/rules/`, and `.github/copilot-instructions.md`.

Zero-context hunks: apply with git apply --unidiff-zero fix.patch on the tagged source of 1.6.0. If the behavior is intended, declare it (host under permissions.network, a line in the README) instead of removing it; the next crawl scores declarations.

Issue / PR body

Title: ctxcap: HTML comment carrying imperative instructions to the agent (KillerSkills verdict caution 61)

## What the honeypot observed
KillerSkills ran **[email protected]** in an isolated sandbox (decoy credentials, recording proxy, syscall trace; engine 1.9.2) and scored it **CAUTION 61/100**. Summary: no network, touches nothing outside the project, writes no memory.

- See the findings below.

Full trace and findings: https://killerskills.ai/skills/glama/ctxcap/1.6.0

## Findings with a location
- `README.md:352` · HTML comment carrying imperative instructions to the agent — README.md:352 · HTML comment carrying imperative instructions to the agent
- `scripts/leaderboard-page.mjs:103` · Prompting user to enter sensitive credentials — scripts/leaderboard-page.mjs:103 · Prompting user to enter sensitive credentials — social engineering
- `examples/boilerplate/README.md:15` · Instructs the agent to modify its persistent memory or instruction files — examples/boilerplate/README.md:15 · Instructs the agent to modify its persistent memory or instruction files · informational: not an instruction file
- `DISCOVERY.md:89` · Instructs the agent to modify its persistent memory or instruction files — DISCOVERY.md:89 · Instructs the agent to modify its persistent memory or instruction files · informational: not an instruction file
- `DISCOVERY.md:146` · Instructs the agent to modify its persistent memory or instruction files — DISCOVERY.md:146 · Instructs the agent to modify its persistent memory or instruction files · informational: not an instruction file
- `test/wire.test.js:128` · Instructs the agent to modify its persistent memory or instruction files — test/wire.test.js:128 · Instructs the agent to modify its persistent memory or instruction files · informational: not an instruction file
- `DISCOVERY.md:130` · Instructs the agent to modify its persistent memory or instruction files — DISCOVERY.md:130 · Instructs the agent to modify its persistent memory or instruction files · informational: not an instruction file
- `PROJECT_OVERVIEW.md:9` · Instructs the agent to modify its persistent memory or instruction files — PROJECT_OVERVIEW.md:9 · Instructs the agent to modify its persistent memory or instruction files · informational: not an instruction file
- `examples/boilerplate/README.md:19` · Instructs the agent to modify its persistent memory or instruction files — examples/boilerplate/README.md:19 · Instructs the agent to modify its persistent memory or instruction files · informational: not an instruction file

## Proposed change
The attached patch removes the 9 lines above. If the behavior is intended, the fix is to declare it instead: list the host under `permissions.network` (or the MCP manifest) and say in the README why the package needs it; the next crawl will re-score it with the declaration taken into account.

## How this will be verified
Nothing is "verified safe" by assertion. When a new version is published, KillerSkills re-runs it in the honeypot and the verdict page updates; you can trigger it early from the verdict page ("Re-scan after I publish a fix"). Reply here or at [email protected] if you believe the verdict is wrong; disputes are reviewed by a person and the outcome is published on the verdict page.

_Proposed through killerskills.ai/threats by a user of the package, under their own GitHub account. The evidence is public; the package was never modified by KillerSkills._
# or from a terminal, under your own account:
gh repo fork Naeha-S/ctxcap --clone && cd ctxcap
curl -s https://killerskills.ai/skills/glama/ctxcap/1.6.0/patch.diff | git apply --unidiff-zero
git checkout -b killerskills/1.6.0 && git commit -am "ctxcap: HTML comment carrying imperative instructions to the agent"
gh pr create --fill --body-file <(curl -s https://killerskills.ai/skills/glama/ctxcap/1.6.0/patch.md)

We count proposals opened, not merged: a merge shows up as a new version that the crawl re-runs. Disputes: the maintainer can contest the verdict from its page; a person reviews it and the outcome is published.