Backend Unslop

fikrifirmanfVerified creator@fikrifirmanf0on fikrifirmanf/backend-unslop-mcpMCP server + Skill

Verified creator: @fikrifirmanf signed in with the GitHub account that owns this repository. It is not a safety check.

Audit API and database code for validation, query, error-handling, and security mistakes.

MCP configuration

Copy into a client that accepts mcpServers JSON. Other clients may use a different configuration format.

{
  "mcpServers": {
    "backend-unslop": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ]
    }
  }
}

Use this in your own environment. Copying text here does not run it.

Made forDevelopment
What you needNode.js >=18, an MCP client, and backend source code and access to the project checks
Project links
Published version1.2.2
Project licenseMIT
Sources checked2026-10-29

How to use it

  1. Open the project documentation and choose the instructions for your AI client.
  2. Copy the configuration and companion skill command if needed.
  3. Configure the tools in your own environment, then try the example request.

SKILL.md

The instructions your assistant reads, from fikrifirmanf/backend-unslop-mcp/skills/backend-unslop/SKILL.md. Its authors wrote it, so read it before you install.

name: backend-unslop
description: Enforces production-grade polyglot backend architecture, API reliability, and SQL/database hygiene (TypeScript/Node, Python, Go, Rust, Java/Kotlin, C#, PHP, Ruby, PostgreSQL, ClickHouse, Redis, async workers). Trigger whenever writing or modifying API routes, database queries, migrations, background jobs, or backend services.

Backend & SQL Anti-Slop Protocol

Never output naive queries, unvalidated handlers, silent error blocks, or blocking I/O slop across any backend language.

1. SQL & database (HARD BANS)

  • No SELECT *: always project explicit columns (PostgreSQL, MySQL, SQLite, and ClickHouse alike).
  • No string-interpolated or concatenated SQL: never use JS template literals (${}), Python f-strings/.format()/%, Go fmt.Sprintf, Rust format!, Ruby #{} or string + concatenation. Always use parameter bindings ($1, ?, :name, %(name)s, @p1) or typed query builders/ORMs.
  • No N+1 in loops: no DB, Redis, or HTTP calls inside loops (for, for...of, .map(), Python for ... in, Go for range, Rust for). Batch with ANY($1), IN (...), bulk upserts, or JOIN.
  • No unbounded reads: every list query has an explicit LIMIT and cursor/offset pagination.
  • Workload separation: keep OLTP transactions short; no analytics or external HTTP calls inside BEGIN...COMMIT.

2. API, async & errors (HARD BANS)

  • Validate every boundary: handlers, webhooks, queue consumers, and RPC/tool entrypoints must validate input with strict schemas before domain logic:
    • TypeScript/JS: Zod, TypeBox, Valibot
    • Python: Pydantic, msgspec, Marshmallow
    • Go: go-playground/validator or explicit struct validation
    • Rust: serde + validator / garde
    • Java/Kotlin/C#/PHP/Ruby: Jakarta Bean Validation (@Valid), FluentValidation, Symfony/Laravel FormRequest, Dry-Validation
  • No type escapes: never use : any, as any, @ts-ignore, @ts-expect-error, or # type: ignore to bypass validation.
  • No blocking long requests: work over ~2s goes to a queue/background worker; stream progress via SSE/WebSocket or pollable job status.
  • Idempotency & timeouts: set explicit timeouts/deadlines (AbortSignal.timeout, context.WithTimeout, httpx.Timeout, tokio::time::timeout) on every network/DB call; retried mutations must be idempotent.
  • No silent catch or stack leaks: never use empty catch {}, except: pass, empty if err != nil {}, or bare rescue. Never return raw driver errors, err.stack, traceback.format_exc(), or err.Error() directly to HTTP clients. Return structured error codes and log context server-side.
  • No unfinished placeholders: never leave TODO, FIXME, NotImplementedError, todo!(), or unimplemented!() in production handlers.

3. Security defaults (HARD BANS)

  • No hardcoded credentials: API keys, passwords, tokens, private keys and connection strings come from the environment or a secret manager. Never paste a real-looking key, even "temporarily".
  • No UPDATE/DELETE without WHERE.
  • Never disable TLS verification (rejectUnauthorized: false, verify=False, InsecureSkipVerify: true). Fix the CA bundle.
  • Passwords: argon2id, scrypt or bcrypt only. Never md5/sha1/sha256.
  • Tokens, OTPs, reset codes, salts: crypto.randomBytes/randomUUID, secrets, crypto/rand. Never Math.random() or random.
  • No eval, new Function, or shell strings built from input. Pass argv arrays (execFile, subprocess.run([...]), exec.Command(bin, args...)).
  • JWTs: verify the signature with an explicit algorithms allowlist; jwt.decode alone is not authentication.
  • CORS: list the allowed origins explicitly; never * with credentials.
  • Outbound calls carry timeouts: fetch(url, { signal: AbortSignal.timeout(ms) }), requests.get(url, timeout=5), &http.Client{Timeout: ...}.
  • Go: never discard an error with _. Rust: propagate with ? instead of .unwrap() outside tests. Python: no bare except:.

4. Mandatory verification loop

Before claiming a backend/database task is complete:

  1. Call MCP tool audit_backend_slop with every modified file or directory (omit files to audit the git working-tree changes).
  2. Call verify_backend_compile with the same files. It runs TypeScript (tsc --noEmit), Go (go vet), Rust (cargo check), Python (py_compile), PHP (php -l) and Ruby (ruby -c).
  3. On status: "FAIL", fix every ERROR at its root cause and re-run until PASS. Review WARN findings.
  4. A finding that is a verified false positive may be suppressed with a comment on or above the line: // unslop-ignore RULE_ID -- why this is safe. A suppression without a reason is itself an ERROR. Never suppress to get past a real problem.
  5. SKIPPED means the toolchain is missing: tell the user verification did not run. Never report it as passing.

View on GitHub

Other setup options

Companion skill command

Run on your own machine if you want to install the companion skill.

npx -y [email protected] install-skills

Example request

Review this API with backend-unslop. Trace inputs to database calls, check bound parameters and pagination, and inspect public errors. Separate findings from checks you could not run.

Example results

Illustrative example

Review outline - Validate request filters before database calls. - Bind query values instead of constructing SQL from input. - Bound list queries and outbound requests. - Return safe public errors and retain diagnostic context server-side.

Illustrative response outline, not a recorded run.

Illustrative examples show a possible response format. They are not recorded runs or verified results. Actual responses will vary.

Security checks

Automated checks, last run Nov 30, 2026. They can miss problems and do not guarantee a listing is safe. Read the source and what you are asked to run before you use it.

4 of 4 checks passed
  • PassedSetup commands and descriptionLayer 1

    The install commands and description match none of the risky patterns we look for.

    Source: AIWantsThis screening rules

  • PassedInstall scripts and package statusLayer 2

    The npm package runs no code at install time and is not deprecated.

    Source: npm registry

  • PassedKnown vulnerabilities in the packageLayer 2

    OSV.dev lists no advisories for this package.

    Evidence (1)
    [email protected]
    No advisories listed in OSV.dev.

    Source: OSV.dev

  • PassedSource repositoryLayer 2

    The repository is public, not archived and has recent activity.

    Evidence (3)
    Last push
    2026-10-22
    Archived
    no
    License
    MIT

    Source: GitHub