test_every_git_invocation_disarms_the_inspected_trees_config

Tests › tests/test_security_surface.py

passed Passed in the packaged run.

What this test is for

Why it exists

No call site builds a bare git argv.

Verifies REQ-DDB-PIPE-014

tests/test_security_surface.py:90 · its file's page

What it checks (1)

  1. assert not offenders, ("these git calls bypass gitenv.git_argv, so the inspected repository's own .git/config " f"can make git run a command of its choosing: {offenders}" )

Where the product reaches it

No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.

Call flow

test_every_git_invocation_disarms_the_inspected_trees_config→_subprocess_calls

What it reaches

Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.

Requirements it verifies (1)

requirementlinked byimplementers exercised
REQ-DDB-PIPE-014catalogunknown