Skip to content

Prove the veneer guarantees and file padding as PDX-40 - #32

Merged
Castor-o7 merged 1 commit into
mainfrom
pdx-40-padding-story
Oct 31, 2026
Merged

Castor-o7 merged 1 commit into
mainfrom
pdx-40-padding-story

Conversation

@Castor-o7

Copy link
Copy Markdown
Owner

Story: PDX-15

Closes two loose ends from #31. Tests and docs only, no scoring changes.

  • Removal checks: with the veneer's origin rule or freshness rule removed, the suite still passed, so it wasn't protecting them. Each now has a test.
  • Padding: files PDX-40 and corrects the docstring and SECURITY.md. Add the adversarial test suite (roadmap 3.5) #31's description said PDX-38 covered padding, but PDX-38's text never did.

Tested

With the code intact as a baseline, the suite passes. Each removal then fails its test:

Removed Tests failing
Veneer origin rule 1
Veneer freshness rule 1
Reverse DNS forward confirmation 1
Lookalike domain matching 1
Forged PTR veneer 2
Forged PTR threat floor 1

The whole-veneer removal, run before the new tests, failed 4 tests. The full suite passes locally; see CI for other versions.

Limits

These checks cover the specific rules listed, not every line of detect_veneer or check_rdns.

🤖 Generated with Claude Code

Removal checks showed the suite missed the veneer's origin and freshness rules,
so each now has a test. Padding gets its own story instead of a pointer to
PDX-38, whose text never covered it.

Story: PDX-15

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Castor-o7
Castor-o7 merged commit d0fdb5b into main Oct 31, 2026
5 checks passed
@Castor-o7
Castor-o7 deleted the pdx-40-padding-story branch October 31, 2026 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant