tarpit-guard icon
tarpit-guard icon

tarpit-guard

 Like

Pre-flight detector that flags AI-reverse-engineering tarpits (obfuscated / token-burning code) before an agent wastes its budget, Scores source files 0-100 for deliberate anti-AI-analysis obfuscation so coding agents can skip them.

terminal output

Cost / License

  • Free
  • Open Source (MIT)

Since

  • New

GitHub

  • GitHub stars: 4

Platforms

  • Windows
  • Mac
  • Linux
0likes
0articles
Save

Features

Features

Highlights All activities

tarpit-guard News & Activities

Recent activities

tarpit-guard information

AlternativeTo Category

Development

GitHub repository

  •  4 Stars
  •  8 Forks
  •  13 Open Issues
  •   Updated  
View on GitHub
tarpit-guard was added to AlternativeTo by Maniram Tatipamula on and this page was last updated .

No comments or reviews, maybe you want to be first?

What is tarpit-guard?

tarpit-guard is a pre-flight check for AI code-analysis agents. It scans a file or a repository for signs of deliberate anti-analysis hardening, the obfuscation and token-burning tricks that tools such as BLA and javascript-obfuscator use to make AI reverse-engineering expensive, and reports a score from 0 to 100, a confidence value, the signals that fired and a recommended next step.

When a file scores as a tarpit, the recommendation is to stop: do not read, trace or try to deobfuscate it, and skip it or flag it for a human. This saves the large token budget an agent would otherwise spend on a file designed to mislead it.

It separates hostile obfuscation from ordinary minification. Minified builds of jQuery and Lodash score 0, while BLA and javascript-obfuscator output score 78 and 85 on the project's labelled test corpus.

Key points:

  • Pure Python standard library, zero dependencies
  • Runs locally on raw text, with no network access and no code execution
  • Command-line tool for people and CI pipelines, with JSON output
  • Optional MCP server for AI agents (check_file, check_source, scan_repo)
  • Detects only: it never deobfuscates code or extracts hidden values
  • Free and open source under the MIT license

Install with: pip install tarpit-guard