code-stealer-detector

code-stealer-detector is an agent for Claude Code from sifxprime/kodelyth-ecc. It costs 64 tokens per session (2,392 once invoked), scanned A, original, MIT.

A code-provenance reviewer that investigates where source code, libraries, fonts, images, and other assets came from and whether they can legally be used. Code provenance means the history and origin of a piece of code.

In plain words
What is it for?
Use it when reviewing pull requests, accepting AI-generated code, checking a company before acquisition, bundling third-party code, or preparing a project for open-source release.
Why use it?
It helps uncover copied code, missing licences, leaked private material, outdated bundled libraries, and other ownership or attribution risks.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it when reviewing pull requests, accepting AI-generated code, checking a company before acquisition, bundling third-party code, or preparing a project for open-source release.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sifxprime/kodelyth-ecc/code-stealer-detector
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/sifxprime/kodelyth-ecc

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for code-stealer-detector

README.md
[![agentmods](https://agentmods.dev/badge/agents/sifxprime/kodelyth-ecc/code-stealer-detector/github.svg)](https://agentmods.dev/agents/sifxprime/kodelyth-ecc/code-stealer-detector)
Your own site
<a href="https://agentmods.dev/agents/sifxprime/kodelyth-ecc/code-stealer-detector"><img src="https://agentmods.dev/badge/agents/sifxprime/kodelyth-ecc/code-stealer-detector/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for code-stealer-detector

Your own site · 80×15
<a href="https://agentmods.dev/agents/sifxprime/kodelyth-ecc/code-stealer-detector"><img src="https://agentmods.dev/badge/agents/sifxprime/kodelyth-ecc/code-stealer-detector.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,392 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00064 $0.02392
Opus 5.5 $0.00026 $0.00957
Sonnet 5.5 $0.00013 $0.00478
Haiku 4.5 $0.00006 $0.00239

Measured 1mo ago against content hash 1a277739eedb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

code-stealer-detector scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/code-stealer-detector.md · 229 lines

How it starts

The opening of the file, as written. The whole thing — 229 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Code Stealer Detector

You are an adversarial code-provenance auditor. Your mission is to find code in this repository that did not originate here and verify its right to be here. Treat every "novel" function as suspect until its origin is verified.

Threat Model

Real risks you hunt:

  1. Copy-pasted GPL'd code — Stack Overflow answers default-licensed CC BY-SA, GitHub gists often unlicensed, snippets from GPL'd repos
  2. Copyleft contamination — code lifted from GPL/AGPL projects without realizing
  3. Leaked private code — proprietary code from a previous employer, leaked GitHub Copilot training data, copy from a contractor's other client
  4. AI-generated code with no provenance — LLM emits a verbatim copy of a copyrighted snippet
  5. Vendored code without attribution — embedded library copied into source instead of imported, violating attribution
  6. Stale vendored libraries — security-vulnerable old version of a vendored lib, rotting in your repo
  7. Unauthorized embedded fonts/images/assets — shipped without licensing
  8. Obvious style breaks — files where the coding style is dramatically different (smell of pasting)
  9. Mysterious comments in foreign languages — German/Russian/Chinese comments in an English codebase = suspect
  10. Embedded encoded blobs — large base64 strings hiding source code

Audit Workflow

1. Style coherence scan

A function that violates the codebase's style is a copy-paste signal:

# Files that suddenly break naming convention
# Codebase uses camelCase but file has snake_case
grep -rE "^(function|const|let)\s+[a-z]+_[a-z]+" --include="*.js" --include="*.ts" .

# Files with foreign-language comments
grep -rE "//\s+[А-яЁё]" --include="*.js" .         # Cyrillic
grep -rE "//\s+[一-龥]" --include="*.js" .         # CJK
grep -rE "//\s+[äöüßÄÖÜ]" --include="*.js" .       # German
grep -rE "//\s+[áéíóúñÁÉÍÓÚÑ¿¡]" --include="*.js" . # Spanish

# Style-break: tabs vs spaces, indentation mixes
grep -PHn "^\t+ +" --include="*.js" -r .

Read the full file on GitHub · 229 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 229 lines · 64 tokens per session scan A 1a277739eedb

Subscribe to this mod's changes

code-stealer-detector is an agent published in the GitHub repository sifxprime/kodelyth-ecc (11 stars, last pushed 12d ago), licensed MIT. It adds 64 tokens to every session and 2,392 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

healthcare-reviewer

Reviews healthcare application code for clinical safety, CDSS accuracy, PHI compliance, and medical data integrity. Specialized for EMR/EHR, clinical decision support, and health information systems.

raja21068/AutoResearch · 42 tokens

compliance-reviewer

Use when a change touches PII, regulated data, consent, retention, or audit-trail requirements (GDPR/CCPA/HIPAA/PCI) — verifies regulatory posture against the security and docs persona standards. Dispatched only when security is present AND a regulatory surface is flagged.

jeremylongshore/tons-of-skills-marketplace · 63 tokens

compliance_reviewer

Legal and regulatory compliance specialist for privacy auditing, GDPR/CCPA compliance, cookie consent implementation, data handling documentation, open-source license auditing, and terms of service review. Use when the task requires regulatory compliance assessment, privacy policy review, cookie consent architecture…

josstei/maestro-orchestrate · 86 tokens

tax-reviewer

Tax preparation / filing specialist pre-implementation reviewer for the fintech archetype. Outputs threat model TM-tax-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.

avelikiy/great_cto · 42 tokens

voice-ai-reviewer

Voice-AI / telephony pre-implementation reviewer. Specialises in TCPA prior-express-consent, STIR/SHAKEN attestation, state recording-consent matrix (one-/two-party), CRTC CASL (Canada), Ofcom CLI rules (UK), EU AI Act Article 50 synth-voice disclosure, deepfake laws (CA AB-2655, TN ELVIS Act), and PII redaction in…

avelikiy/great_cto · 121 tokens

edtech-reviewer

Education-technology specialist pre-implementation reviewer for edtech archetype. Specialises in COPPA verifiable parental consent, FERPA student-data handling, GDPR-K (digital age of consent), Section 508 + WCAG 2.2 AA accessibility, child-safety content moderation (CSAM hash, NCMEC reporting), and US state…

avelikiy/great_cto · 112 tokens