Skip to content

Catalog: Shell BECs (no-set-x-left-in) #69

Closed

Description

@DataDave-Dev

Part of #25 (one language per PR). No code required — a catalog BEC is a single YAML file using the generic forbid check.

Task

Add a ready-to-import Shell BEC under src/becwright/becs/:

  • no-set-x-left-in.bec.yaml — forbid set -x tracing left enabled in **/*.sh (it leaks env values — including secrets — into logs).

How

  1. Copy the format from src/becwright/becs/no-debug-go.bec.yaml.
  2. Write a real intent and why_it_matters (the log-leak angle is the why).
  3. Use check: "becwright run forbid --pattern '...'" with paths **/*.sh.
  4. Add the entry to src/becwright/becs/README.md.

Acceptance criteria

  • pytest green (test_catalog_bundles_are_valid covers bundle parsing).
  • becwright add no-set-x-left-in installs it in a scratch repo.

See CONTRIBUTING.md → "Adding a catalog BEC".

Activity

  1. added
    help wanted
    good first issue
    catalog
    on Jul 2, 2026
  2. PedroVBAmorim commented on Jul 2, 2026

    @PedroVBAmorim
    Contributor

    Hello, I would like to work on this

  3. DataDave-Dev commented on Jul 2, 2026

    @DataDave-Dev
    OwnerAuthor

    @PedroVBAmorim Excellent, you can't work in it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

cataloggood first issuehelp wanted

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions