code-stealer-detector

code-stealer-detector is an agent for coding agents 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

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.

agentmods
npx agentmods add agents/sifxprime/kodelyth-ecc/code-stealer-detector
Clone the repo
git clone --depth 1 https://github.com/sifxprime/kodelyth-ecc

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00064 $0.02392
Opus 5 $0.00032 $0.01196
Sonnet 5 $0.00013 $0.00478
Haiku 4.5 $0.00006 $0.00239

Measured 3d ago against content hash 1a277739eedb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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. 3d 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. 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

code-reviewer

Reviews code for project guideline compliance, bugs, and quality issues. Use after writing code, before commits, or before PRs. Specify files to review or defaults to unstaged git changes. High-confidence issues only (80+) to minimize noise.

coleam00/Archon · 53 tokens

ui-visual-validator

Rigorous visual validation expert specializing in UI testing, design system compliance, and accessibility verification. Masters screenshot analysis, visual regression testing, and component validation. Use PROACTIVELY to verify UI modifications have achieved their intended goals through comprehensive visual analysis.

wshobson/agents · 54 tokens

backend-development-security-auditor

Review code and architecture for security vulnerabilities, OWASP Top 10, auth flaws, and compliance issues. Use for security review during feature development.

wshobson/agents · 36 tokens

compliance

The Compliance agent protects your project from legal and regulatory risk. It audits dependency licenses for compatibility (is that GPL-3.0 package going to force your MIT project open-source?), checks data handling against GDPR requirements (do you have a data inventory? can users request deletion?), verifies WCAG…

nxtg-ai/forge-plugin · 0 tokens

a11y-architect

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI components, establishing design systems, or auditing code for inclusive user experiences.

raja21068/AutoResearch · 45 tokens

python-reviewer

Expert Python code reviewer specializing in PEP 8 compliance, Pythonic idioms, type hints, security, and performance. Use for all Python code changes. MUST BE USED for Python projects.

masrisystems/dot-agents · 43 tokens