Skip to content

fix: strengthen CERT_DISABLE_PATTERNS for live + future cert variants#100

Merged
heznpc merged 1 commit intomainfrom
fix/cert-detection-strengthening
May 10, 2026
Merged

fix: strengthen CERT_DISABLE_PATTERNS for live + future cert variants#100
heznpc merged 1 commit intomainfrom
fix/cert-detection-strengthening

Conversation

@heznpc
Copy link
Copy Markdown
Owner

@heznpc heznpc commented May 10, 2026

Summary

Verified the live cert URL on 2026-05-11:
```
https://anthropic.skilljar.com/claude-certified-architect-foundations-access-request
```

Existing `/\/claude-certified/i` catches it, but the wider detection had gaps for future cert tiers and public abbreviations now in use.

Why this matters

Extension activity on a proctored cert exam page could be flagged as cheating — $99 exam fee + Anthropic's first formal credential. Currently no known incidents (live URL covered), but the patch hardens forward-compat.

Three new patterns

Pattern Catches
`foundations-access-request` Skilljar's standard cert-access URL shape — works for any vendor prefix
`[/-]cca-?(foundations|professional|expert|associate)\b` CCA-prefixed paths once higher tiers ship (Foundations → Associate → Professional → Expert ladder)
`/ccaf\b` The CCAF abbreviation used in third-party prep guides / Udemy practice tests / GitHub study repos

Tests

+5 cases in tests/content-helpers.test.js:

  • Live URL verified 2026-05-11
  • Future tier variants (cca-foundations, cca-professional, cca-expert, ccaf, hypothetical anthropic-architect-foundations-access-request)
  • No false positives on normal course URLs

336/336 pass.

No version bump

Purely defensive pattern addition, no behavior change on any currently-published URL.

🤖 Generated with Claude Code

Verified the actual cert URL on 2026-05-11:
  https://anthropic.skilljar.com/claude-certified-architect-foundations-access-request

The existing `/\/claude-certified/i` pattern catches the live URL, but
the broader detection had gaps for future cert tiers and the
abbreviations now in public use.

Added three patterns:

  /foundations-access-request/i
    Matches Skilljar's standard "*-foundations-access-request" URL
    shape, regardless of vendor prefix. Covers the live URL plus
    hypothetical future certs (e.g., a non-Claude-prefixed Anthropic
    cert).

  /[/-]cca-?(?:foundations|professional|expert|associate)\b/i
    Anthropic's cert ladder is positioned as Foundations → Associate
    → Professional → Expert. The `cca-` (Claude Certified Architect)
    abbreviation is already used across third-party prep guides,
    GitHub repos, and Udemy practice tests — likely to appear in
    URL paths once higher tiers ship.

  /\/ccaf\b/i
    `CCAF` is the abbreviation seen in third-party study materials
    for Claude Certified Architect — Foundations specifically.

Why this matters: extension activity on a proctored cert exam page
could be flagged as cheating, putting our users at real risk
($99 exam fee + Anthropic's first formal credential). Already 0
known incidents because the live URL is covered, but the patch
hardens forward-compat.

+5 tests in tests/content-helpers.test.js (live URL verified date
2026-05-11, future cert tier coverage, no false positives on
normal course URLs). 336/336 pass.

No version bump — purely defensive pattern addition with no
behavior change for any currently-published URL.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@heznpc heznpc merged commit fb9d81d into main May 10, 2026
3 checks passed
@heznpc heznpc deleted the fix/cert-detection-strengthening branch May 10, 2026 15:17
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