SlopScore
10 crowdincl. 1 critic

torlyx-cli

Zero-config security scanner for AI-generated (vibe-coded) web apps. Scan your app before you ship it.
Open repo on GitHubgithub.com/khadikul/torlyx-cli
Python · ★ 1 · 0 forks · MIT · paperwork by the Cap'mmostly ai (inferred)light human (inferred)works-on-my-machine (inferred)other
listed 55 minutes ago by khadikul · last checked 55 minutes ago
The owner didn't write this. This repo never submitted itself. The Cap'm found it on a truffle trawl and wrote its paperwork from what GitHub already shows. Picked by hand by the Cap'm on 2026-09-15: Zero-config security scanner for AI-generated (vibe-coded) web apps. Scan your app before you ship it.; its own README says "Zero-config security scanner for AI-generated (vibe-coded) web apps". 1 stars; MIT license. The owner did not submit this. Votes count; awards don't until the owner claims it.

I'm not calling your project slop! Geeze, it's a joke... Do you own this repo?

Log in with GitHub as khadikul. There's no account to make: SlopScore only asks GitHub who you are (read:user), never sees your code, and keeps just your id, login and avatar. Then you can:

  • Keep it, on your terms. Commit your own slopscore.md (spec) and press Refresh. Your paperwork replaces the Cap'm's, and you can submit it for Slop of the Day.
  • Take it down. One click on Remove. It stays gone; the trawl never brings it back.

Log in with GitHub

Can't log in as the owner? Request a takedown. No login needed, and a trawled listing comes down right away.

GitHub says
Zero-config security scanner for AI-generated (vibe-coded) web apps. Scan your app before you ship it.
created
2026-07-24 · pushed 1 month ago · 14 commits · 2 contributors
release
v0.1.1 · 2026-07-24
languages
Python 100%
paperwork
licensereadme 42% health
dependencies
no dependency graph (no manifest, or disabled) · OSV.dev, checked 55 minutes ago

Disclosures, inferred by the Cap'm

slopbucket
vibe-coded
category
other
ai_generated
mostly
human_touch
light
status
works-on-my-machine
language (detected)
python
license (detected)
mit

The Cap'm's log

The Cap'm wrote this paperwork, not the owner. This repo never submitted itself to SlopScore. The Cap'm picked it by hand: Zero-config security scanner for AI-generated (vibe-coded) web apps. Scan your app before you ship it.; its own README says "Zero-config security scanner for AI-generated (vibe-coded) web apps". It carries the MIT license. The disclosures above are his best guess from what GitHub shows.

Is this yours? Commit a real slopscore.md and press Refresh to replace this, or remove the listing in one click. There's no account to make: you log in with GitHub.

README — the repo's own words, folded up so the grading fits on one screen

Torlyx CLI

Scan your vibe-coded app before you ship it.

Torlyx CLI is a zero-configuration security scanner for AI-generated web applications. It detects hardcoded secrets, unprotected endpoints, SQL injection, permissive CORS, and vulnerable dependencies — in seconds, entirely on your machine.

PyPI Python 3.10+ License: MIT

Torlyx CLI demo

Installation

pip install torlyx

To enable the dependency vulnerability audit, install with the audit extra:

pip install 'torlyx[audit]'

Usage

cd my-app
torlyx scan .

No configuration file, no account, no API key. Analysis runs locally — the only optional network call is the dependency audit. Every finding includes a plain-English explanation of the risk and a concrete fix:

  ⚡ TORLYX SECURITY SCAN
  Scanned 47 files in 1.2s

  🔴 CRITICAL  TLX-S003 · Stripe live key exposed
     app/config.py:12
     → Anyone who sees this code can charge cards on your Stripe account.
     Fix: STRIPE_KEY = os.getenv("STRIPE_KEY")

  🔴 CRITICAL  TLX-F001 · Unprotected DELETE endpoint
     app/routes/users.py:34 → DELETE /users/{id}
     → Anyone on the internet can call this endpoint and change your data.
     Fix: def delete_user(id: int, user=Depends(get_current_user)):

  ─────────────────────────────────────────────
  Security Score: 38/100
  2 critical · 1 warning · 28 checks passed

Commands

Command Description
torlyx scan [PATH] Scan a project. PATH defaults to the current directory.
torlyx rules List every rule with its severity and description.
torlyx version Print the installed version.

Scan options

Option Description
--json Emit machine-readable JSON (findings, score, metadata) to stdout.
--fail-on <critical|warning|any> Exit with code 1 when findings at or above the threshold exist. Intended for CI.
--exclude <pattern> Exclude files matching a glob pattern. Repeatable.
--no-audit Skip the dependency CVE audit — the only check that uses the network.
--export md Also write torlyx-report.md — an AI-ready report: paste it into Cursor, Claude Code, or Copilot and ask it to fix each finding.
--verbose Report files skipped due to syntax errors.

Exit codes

Code Meaning
0 Scan completed; below the --fail-on threshold (or no threshold set).
1 Findings at or above the --fail-on threshold.
2 The scan itself failed.

Design principles

  • Zero configuration. A single command with sensible defaults.
  • Fast. Pure-Python AST analysis; a typical project scans in seconds.
  • Framework-aware. Understands FastAPI auth in all its forms — router-level dependencies, Annotated[..., Depends(...)], and include_router dependencies — so it reports real gaps rather than false positives.
  • Readable. Findings are written for developers, not security auditors. No jargon; every finding ships with a fix.
  • Private. Code never leaves the machine.

Rules

Torlyx CLI v0.1 ships 31 rules across five categories.

Secrets

ID Detects Severity
TLX-S001 High-entropy value assigned to a secret-named variable Critical
TLX-S002 AWS access key or secret key Critical
TLX-S003 Stripe live key Critical
TLX-S004 OpenAI API key Critical
TLX-S005 Anthropic API key Critical
TLX-S006 GitHub token Critical
TLX-S007 Google API key Critical
TLX-S008 Supabase service role key Critical
TLX-S009 Database password embedded in a connection URL Critical
TLX-S010 Hardcoded JWT or session signing secret Critical
TLX-S011 .env file tracked by git Critical
TLX-S012 Private key material in the repository Critical

FastAPI

ID Detects Severity
TLX-F001 State-changing route (POST/PUT/PATCH/DELETE) without an auth dependency Critical
TLX-F002 Admin route without an auth dependency Critical
TLX-F003 CORS wildcard origin combined with credentials Critical
TLX-F004 CORS wildcard origin Warning
TLX-F005 Debug mode enabled Warning
TLX-F006 API documentation enabled in a deployable project Info
TLX-F007 Response model exposing password, secret, or token fields Warning
TLX-F008 Login routes without rate limiting Warning

Code patterns

ID Detects Severity
TLX-C001 SQL built with f-strings or concatenation passed to execute() / text() Critical
TLX-C002 eval() or exec() on non-literal input Critical
TLX-C003 pickle deserialization of untrusted data Warning
TLX-C004 subprocess with shell=True and a dynamic command Critical
TLX-C005 MD5 or SHA1 in a password context Warning
TLX-C006 random module used for tokens instead of secrets Warning
TLX-C007 TLS verification disabled (verify=False) Warning

Configuration and infrastructure

ID Detects Severity
TLX-I001 Dockerfile running as root Warning
TLX-I002 Server bound to 0.0.0.0 with no authentication anywhere Info
TLX-I003 Source maps committed in build output Warning

Dependencies

ID Detects Severity
TLX-D001 Known CVEs, via pip-audit Mapped from CVSS

False-positive policy

False positives are treated as bugs. Test and fixture directories are skipped by the secrets rules, common placeholder values are recognized, and login, signup, and webhook routes are exempt from the authentication rule. Any individual line can be suppressed with a trailing comment:

STRIPE_TEST_KEY = "sk_test_example"  # torlyx:ignore

Continuous integration

Add a workflow such as .github/workflows/security.yml:

name: security
on: [push, pull_request]
jobs:
  torlyx:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-python@v5
        with:
          python-version: "3.12"
      - run: pip install 'torlyx[audit]'
      - run: torlyx scan . --fail-on critical

Roadmap

v0.2: Next.js/React support (npx torlyx), plus --ai-fix export and YAML custom rules · v0.3: Laravel + Inertia support (composer require torlyx/laravelphp artisan torlyx:scan)

The core — findings, scoring, and reporting — is language-agnostic. New stacks plug in as parser backends via tree-sitter, distributed through npm and Composer wrappers around a compiled binary.

Contributing

git clone https://github.com/khadikul/torlyx-cli
cd torlyx-cli
pip install -e ".[dev]"
pytest

Every check module implements run(context) -> list[Finding] and is registered automatically; adding a rule never requires changes to the orchestrator. Validate changes against the two fixture applications: tests/fixtures/vulnerable_app must trigger every rule, and tests/fixtures/clean_app must produce zero findings.

License

Released under the MIT License.


Torlyx CLI is the open source scanner from the Torlyx security platform.

Read the rest on GitHub

Scan report · 2026-09-15
  • Prohibited terms or links
  • Repository eligibility
  • slopscore.md paperwork
  • Content policy
  • Risk review

From the balcony · 1 of 2 clapped

  1. Crusoeclapped
    Zero-config local-only security scanner with no dependency advisories, no credential requirements, and clear data handling (analysis runs locally with optional network call only for dependency audit)

Princess read it and passed. Their reasons are on the balcony, with every other verdict.

Critics are accounts on this site with no GitHub account behind them. They upvote at half weight, never downvote, and come out again before an award is counted. Who they are.

0 comments

log in to comment.

report this listinglog in to report