← detour@0.5.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. 62 · Caution

Evidence

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

Diff · removes 14 caught lines

Download .patch
diff --git a/src/i18n/teams.ts b/src/i18n/teams.ts
--- a/src/i18n/teams.ts
+++ b/src/i18n/teams.ts
@@ -24,1 +24,0 @@
-proxySecretChanged: (name: string) => `Proxy "${name}": login changed`,
@@ -140,1 +139,0 @@
-tokenHint: (repo: string) => `On GitHub, choose ${repo} under Repository access, then paste the token here.`,
@@ -293,1 +291,0 @@
-proxySecretChanged: (name: string) => `Прокси «${name}»: вход изменён`,
diff --git a/src/components/TeamsView.tsx b/src/components/TeamsView.tsx
--- a/src/components/TeamsView.tsx
+++ b/src/components/TeamsView.tsx
@@ -30,1 +30,0 @@
-case "secretChanged": return a.coll === "key" ? x.keyChanged(a.name) : a.coll === "proxy" ? x.proxySecretChanged(a.name) : x.passwordChanged(a.name);
diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -68,1 +68,0 @@
-… for servers without a desktop, the release has it alone (`detour-cli-<version>-<system>`). For iPhone and iPad, get [Detour SSH](https://apps.apple.com/app/id68360017…
@@ -90,1 +89,0 @@
-<summary>Release builds</summary> Release builds sign their update files with the updater key: set `TAURI_SIGNING_PRIVATE_KEY` (and `TAURI_SIGNING_PRIVATE_KEY_P
diff --git a/src/components/ProxiesView.tsx b/src/components/ProxiesView.tsx
--- a/src/components/ProxiesView.tsx
+++ b/src/components/ProxiesView.tsx
@@ -5,1 +5,0 @@
-import type { ProxyKind, ProxySecret, ProxyType, SavedProxy } from "../lib/types";
@@ -28,1 +27,0 @@
-export function savedAfter(saved: ProxySecret[], typed: Partial<Record<ProxySecret, string>>): ProxySecret[] {
@@ -30,1 +28,0 @@
-for (const [k, v] of Object.entries(typed) as [ProxySecret, string][]) {
diff --git a/src/lib/types.ts b/src/lib/types.ts
--- a/src/lib/types.ts
+++ b/src/lib/types.ts
@@ -152,1 +152,0 @@
-export type ProxySecret = "password" | "privateKey" | "presharedKey" | "uuid";
@@ -161,1 +160,0 @@
-saved: ProxySecret[];
@@ -163,1 +161,0 @@
-newSecrets?: Partial<Record<ProxySecret, string>>;
diff --git a/src/lib/api.ts b/src/lib/api.ts
--- a/src/lib/api.ts
+++ b/src/lib/api.ts
@@ -19,1 +19,0 @@
-import type { ActivityItem, Coll, Conflict, Group, GroupPrefs, Host, Layout, Level, OwnLogin, Problem, ProxyKind, ProxySecret, Role, SavedProxy, Snippet, SshKey, Tunnel } from "./types";
@@ -162,1 +161,0 @@
-secrets: Partial<Record<ProxySecret, string>>;

Zero-context hunks: apply with git apply --unidiff-zero fix.patch on the tagged source of 0.5.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: detour: Prompting user to enter sensitive credentials (KillerSkills verdict caution 62)

## 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 62/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/detour/0.5.0

## Findings with a location
- `src/i18n/teams.ts:140` · Prompting user to enter sensitive credentials — src/i18n/teams.ts:140 · Prompting user to enter sensitive credentials — social engineering
- `src/components/TeamsView.tsx:30` · Credential pass-through configuration — src/components/TeamsView.tsx:30 · Credential pass-through configuration — agent relays sensitive credentials
- `README.md:90` · Collapsed <details> block carrying instructions — README.md:90 · Collapsed <details> block carrying instructions
- `src/components/ProxiesView.tsx:5` · Credential pass-through configuration — src/components/ProxiesView.tsx:5 · Credential pass-through configuration — agent relays sensitive credentials
- `src/components/ProxiesView.tsx:28` · Credential pass-through configuration — src/components/ProxiesView.tsx:28 · Credential pass-through configuration — agent relays sensitive credentials
- `src/components/ProxiesView.tsx:30` · Credential pass-through configuration — src/components/ProxiesView.tsx:30 · Credential pass-through configuration — agent relays sensitive credentials
- `src/lib/types.ts:163` · Credential pass-through configuration — src/lib/types.ts:163 · Credential pass-through configuration — agent relays sensitive credentials
- `src/i18n/teams.ts:24` · Credential pass-through configuration — src/i18n/teams.ts:24 · Credential pass-through configuration — agent relays sensitive credentials
- `src/lib/types.ts:161` · Credential pass-through configuration — src/lib/types.ts:161 · Credential pass-through configuration — agent relays sensitive credentials
- `src/lib/api.ts:19` · Credential pass-through configuration — src/lib/api.ts:19 · Credential pass-through configuration — agent relays sensitive credentials
- `src/i18n/teams.ts:293` · Credential pass-through configuration — src/i18n/teams.ts:293 · Credential pass-through configuration — agent relays sensitive credentials
- `src/lib/api.ts:162` · Credential pass-through configuration — src/lib/api.ts:162 · Credential pass-through configuration — agent relays sensitive credentials

## Proposed change
The attached patch removes the 14 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 INotSleep/Detour --clone && cd Detour
curl -s https://killerskills.ai/skills/glama/detour/0.5.0/patch.diff | git apply --unidiff-zero
git checkout -b killerskills/0.5.0 && git commit -am "detour: Prompting user to enter sensitive credentials"
gh pr create --fill --body-file <(curl -s https://killerskills.ai/skills/glama/detour/0.5.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.