← keepcontext@1.1.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. 65 · Caution

Evidence

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

Diff · removes 8 caught lines

Download .patch
diff --git a/CLAUDE.md b/CLAUDE.md
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -13,1 +13,0 @@
-- `npm run inject -- /path/to/repo`: write AGENTS.md / CLAUDE.md / GEMINI.md / Cursor rule into a local clone
diff --git a/public/app.js b/public/app.js
--- a/public/app.js
+++ b/public/app.js
@@ -580,1 +580,0 @@
-['Claude app (claude.ai, desktop, mobile)', 'Settings → Connectors → Add custom connector → name KeepContext → paste the secret URL → No sign-in. (Or the /mcp URL plus a request header "Authorization:
@@ -582,1 +581,0 @@
-['Gemini (web)', 'Customise → Connectors → + Custom → paste the secret URL → Next. Gemini can also read the Google Doc mirror (Gems → Knowledge).', secret],
@@ -641,1 +639,0 @@
-cursor: [['Cursor', 'Run in any terminal, then paste the token when asked (needs Node.js):', local('cursor')], ['Or ~/.cursor/mcp.json (keep it private: chmod 600)', '', JSON.stringify({ mcpServers: {
@@ -642,1 +639,0 @@
-antigravity: [['Antigravity', 'Run in any terminal, then paste the token when asked (needs Node.js):', local('antigravity')], ['Or ~/.gemini/antigravity/mcp_config.json (chmod 600)', '', JSON.stringif
diff --git a/src/settings.js b/src/settings.js
--- a/src/settings.js
+++ b/src/settings.js
@@ -126,1 +126,0 @@
-if (!token) throw new Error('Paste the token GitHub showed you.');
diff --git a/public/index.html b/public/index.html
--- a/public/index.html
+++ b/public/index.html
@@ -183,1 +183,0 @@
-APPS: one connection (token) per app and account
diff --git a/scripts/inject.mjs b/scripts/inject.mjs
--- a/scripts/inject.mjs
+++ b/scripts/inject.mjs
@@ -1,1 +1,0 @@
-// Write AGENTS.md / CLAUDE.md / GEMINI.md / .cursor/rules into a LOCAL repo clone.

Zero-context hunks: apply with git apply --unidiff-zero fix.patch on the tagged source of 1.1.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: keepcontext: Instructs the agent to modify its persistent memory or instruction files (KillerSkills verdict caution 65)

## 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 65/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/keepcontext/1.1.0

## Findings with a location
- `CLAUDE.md:13` · Instructs the agent to modify its persistent memory or instruction files — CLAUDE.md:13 · Instructs the agent to modify its persistent memory or instruction files
- `public/app.js:642` · Prompting user to enter sensitive credentials — public/app.js:642 · Prompting user to enter sensitive credentials — social engineering
- `public/app.js:582` · Prompting user to enter sensitive credentials — public/app.js:582 · Prompting user to enter sensitive credentials — social engineering
- `public/app.js:580` · Prompting user to enter sensitive credentials — public/app.js:580 · Prompting user to enter sensitive credentials — social engineering
- `public/app.js:641` · Prompting user to enter sensitive credentials — public/app.js:641 · Prompting user to enter sensitive credentials — social engineering
- `src/settings.js:126` · Prompting user to enter sensitive credentials — src/settings.js:126 · Prompting user to enter sensitive credentials — social engineering
- `public/index.html:183` · HTML comment carrying imperative instructions to the agent — public/index.html:183 · HTML comment carrying imperative instructions to the agent · informational: not an instruction file · informational: not an instruction file · informational: not an instruction
- `scripts/inject.mjs:1` · Instructs the agent to modify its persistent memory or instruction files — scripts/inject.mjs:1 · Instructs the agent to modify its persistent memory or instruction files · informational: not an instruction file · informational: not an instruction file · informational: not a

## Proposed change
The attached patch removes the 8 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 darshanbajgain/keepcontext --clone && cd keepcontext
curl -s https://killerskills.ai/skills/glama/keepcontext/1.1.0/patch.diff | git apply --unidiff-zero
git checkout -b killerskills/1.1.0 && git commit -am "keepcontext: Instructs the agent to modify its persistent memory or instruction files"
gh pr create --fill --body-file <(curl -s https://killerskills.ai/skills/glama/keepcontext/1.1.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.