Repository navigation
feat: REP-046 VPN login from an unfamiliar source network - #117
Merged
Merged
Conversation
Fifth entry under the catalog's tactic-gap rule and round 4's proposal of the same id (Initial Access, T1078 and T1133; UC-030), built behind the launch gate by the owner's decision. A first login from a network absent from the user's history violates no velocity constraint, so REP-011 cannot fire on it. Two self-contained populations of users, disjoint by name, each with a compressed history where every user logs in from a primary and a rarely used secondary /28 network of one documentation /24. The attack user logs in from a fresh address in a network another user uses and they never have; the foil user logs in from a fresh address in their own rarely used network, which another user also uses. A new address, a rare network, an organisation-wide network and another user's network are true of both, so per-user network novelty is the only separating feature. No country tag; no vendor profile changed; a newsrc glyph is added. Guards in tests/test_rep046_unfamiliar_vpn_source.py over 20 seeds at 3 presets; the guard caught a builder defect before review (a habitual login from an address the history never drew looked fresh). Positive controls: a foil from a never-used network, an attack network from the adversary pool, and an attack address reused from another user's history each failed their guard. The catalog header now states the id rule and records that REP-054 should have kept round 3's REP-036. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NtL63gY2LQZtZwgNwDM8vs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The fifth and last item of the ranked backlog in
docs/catalog-review-2026-10-07.md, built by the owner's decision and behind the launch gate inCLAUDE.md, which is unchanged. Cut frommainafter #116 merged.REP-046, VPN login from an unfamiliar source network (Initial Access, T1078 and T1133; UC-030). Round 4's proposal of the same id, built as the hard case of REP-011: a first login from a network absent from the user's history violates no velocity constraint, so a geovelocity rule cannot fire on it. Detection needs a per-user source history.
Shape. Two self-contained populations of users, disjoint by name and shuffled so neither takes the base directory pool. Each has a compressed history (REP-008's convention, stated in the run summary) in which every user logs in from a primary and a rarely used secondary network. In the window:
Each population carries its own history, so
--controls negativeis meaningful alone.The foil differs on one feature only. A new address, a rare network, a network the organisation has seen and a network another user uses are true of both logins. Only per-user network novelty separates them. The test asserts each of those verdicts on every seed at every preset. The round-4 proposal's foil (other users' genuine travel) was set aside: it differs from the attack on nothing, so it cannot be a negative control. Its base-rate point is in the transferability note instead.
Honest about the granularity. A network is a /28 of the benign documentation /24, because every login must come from one pool (a second pool would be a free reputation feature) and the documentation ranges hold only three /24s. The entry says a production baseline keys on /24 or ASN. No country tag is emitted; the entry needs no GeoIP.
Ids. The build keeps REP-046, as REP-028 kept its triage id. Round 4's UC-028 was taken by REP-053 meanwhile, so it is UC-030. The catalog header now states the rule, and records that REP-054 was built from round 3's REP-036 and should have kept that id. Renumbering is the owner's call.
No vendor profile changed. The login is the existing tunnel-up on all three vendors. A
newsrcdiagram glyph is added, because thenewdestglyph is labelled "new dst".Verification
tests/test_rep046_unfamiliar_vpn_source.py, 127 cases over 20 seeds at 3 presets: both populations' shape (users, two networks each, the shared benign pool, no country tag, tunnel-up only, window bounds), the attack login's network new to the user and used by another user with a fresh address, the foil login's network in the user's history, rare, and used by another user with a fresh address, disjoint populations, the five rule verdicts on every seed at every preset, pooled parity on history size and window timing, the compressed warm-up stated in the run summary, rendering on all three vendors,--durationbounding the span with counts kept, and the ceiling binding counts.203.0.113.4outside the benign pool);tests/test_foil_parity.pyruns its common checks on REP-046 automatically; green.tests/test_duration.pycovers it by parameter; green. Catalog, contract, README-sync, controls, detection-metadata, vendor golden and web API suites green with the counts at 31.ruff,black --check,mypy replicantclean. Frontend: 255 tests green (the diagram coverage test now includes REP-046 and thenewsrcglyph),tsc -bclean.Documentation impact
replicant/data/technique-catalog.yaml: the entry, the header count, and the id rule with the REP-054 record.replicant/data/detection-contracts.yaml: REP-046 contract (distinct sources per user; temporal span; per-user network history as the only separable feature).README.md: catalog row and the three count statements (30 to 31).docs/catalog-review-2026-10-07.md: dated implementation note on backlog item 5, including the defect the guard caught and the positive controls.docs/technique-catalog-expansion-research-round4.md: dated implementation note on REP-046: why the foil, the country field and the 15-user preset changed.CHANGELOG.mdUnreleased,CLAUDE.mddated implementation note.Unaffected: the three vendor CEF references (no new field or record),
docs/run-manifest.md(no manifest field changed), scenarios (REP-046 joins none), the web UI beyond the glyph (it reads the catalog API).Maintained documentation changed alongside the behavior, or unaffected surfaces are explained above.
CHANGELOG.mdrecords the operator-visible change.Historical decision records were preserved or received a dated addendum.
Documentation claims were checked against the implemented behavior.
Scope boundary
[Unverified], quoted from the round-4 record.CLAUDE.mdis unchanged.🤖 Generated with Claude Code
https://claude.ai/code/session_01NtL63gY2LQZtZwgNwDM8vs
Generated by Claude Code