← tugport@r1

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 9 caught lines

Download .patch
diff --git a/src/git.rs b/src/git.rs
--- a/src/git.rs
+++ b/src/git.rs
@@ -223,1 +223,0 @@
-/// Whether an http(s) repository address carries credentials (`https://user:token@host/...`),
@@ -667,1 +666,0 @@
-assert!(url_has_credentials("https://user:[email protected]/o/r.git"));
@@ -672,1 +670,0 @@
-assert_eq!(redact("https://user:[email protected]/o/r.git"), "https://github.com/o/r.git");
diff --git a/web/src/app.tsx b/web/src/app.tsx
--- a/web/src/app.tsx
+++ b/web/src/app.tsx
@@ -425,1 +425,0 @@
-<p class="text-dim">Scan this code with your authenticator app, or enter the secret by hand. Then type the code the app shows.</p>
diff --git a/src/app.rs b/src/app.rs
--- a/src/app.rs
+++ b/src/app.rs
@@ -78,1 +78,0 @@
-/// Record who did what. Never pass secret values in `detail`.
diff --git a/src/migrate/mod.rs b/src/migrate/mod.rs
--- a/src/migrate/mod.rs
+++ b/src/migrate/mod.rs
@@ -187,1 +187,0 @@
-/// Old panels keep Git tokens inside repository URLs (`https://user:token@host/o/r.git`).
@@ -204,1 +203,0 @@
-/// `https://user:secret@host/owner/name.git` -> (`https://host`, `owner/name`, secret).
@@ -1418,1 +1416,0 @@
-credentialed_git("https://easypanel:[email protected]/owner/repo.git"),
@@ -1423,1 +1420,0 @@
-assert_eq!(redact_userinfo("https://u:[email protected]/o/r"), "https://h.example/o/r");

Zero-context hunks: apply with git apply --unidiff-zero fix.patch on the tagged source of r1. 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: tugport: URL with embedded credentials (KillerSkills verdict caution 65)

## What the honeypot observed
KillerSkills ran **tugport@r1** 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/tugport/r1

## Findings with a location
- `src/git.rs:667` · URL with embedded credentials — src/git.rs:667 · URL with embedded credentials — may be phishing or credential leaking
- `web/src/app.tsx:425` · Prompting user to enter sensitive credentials — web/src/app.tsx:425 · Prompting user to enter sensitive credentials — social engineering
- `src/git.rs:223` · URL with embedded credentials — src/git.rs:223 · URL with embedded credentials — may be phishing or credential leaking
- `src/app.rs:78` · Credential pass-through configuration — src/app.rs:78 · Credential pass-through configuration — agent relays sensitive credentials
- `src/git.rs:672` · URL with embedded credentials — src/git.rs:672 · URL with embedded credentials — may be phishing or credential leaking
- `src/migrate/mod.rs:1418` · URL with embedded credentials — src/migrate/mod.rs:1418 · URL with embedded credentials — may be phishing or credential leaking
- `src/migrate/mod.rs:204` · URL with embedded credentials — src/migrate/mod.rs:204 · URL with embedded credentials — may be phishing or credential leaking
- `src/migrate/mod.rs:187` · URL with embedded credentials — src/migrate/mod.rs:187 · URL with embedded credentials — may be phishing or credential leaking
- `src/migrate/mod.rs:1423` · URL with embedded credentials — src/migrate/mod.rs:1423 · URL with embedded credentials — may be phishing or credential leaking

## 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 backmeupplz/tugport --clone && cd tugport
curl -s https://killerskills.ai/skills/glama/tugport/r1/patch.diff | git apply --unidiff-zero
git checkout -b killerskills/r1 && git commit -am "tugport: URL with embedded credentials"
gh pr create --fill --body-file <(curl -s https://killerskills.ai/skills/glama/tugport/r1/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.