Skip to content
ExtensionHow it was tested

What we did to earn the claims on the other pages.

Every promise on the “what we receive” page is enforced by a test that fails if the promise breaks. This page says what those tests are, what the live verification found, and which bugs testing caught before release — because a testing page that reports no problems is not a testing page.

The numbers

PackageTestsResult
Node / React / Next.js codepulse-scan94all passing
Python codepulse-scan81all passing
Laravel code-pulse/laravel40all passing
WordPress plugin37all passing
Shopify codepulse-shopify12all passing
Total2640 failing

The tests run with no network and no account. They can be run by anyone who has the packages — the suites ship inside the repositories, not just on our machines.

What the tests actually check

Not “does the code run”. They check the decisions that determine whether your secrets leave your machine, with the same scenarios repeated in all five languages so no package can quietly drift from the others.

  • Exclusions hold. A fixture project containing .env, a private key, local_settings.py, wp-config.php, a lockfile and a node_modules tree is collected, and the result is asserted not to contain any of them.
  • A .gitignore negation cannot re-enable a hard refusal. A fixture with !.env in it still does not upload .env.
  • Symlinks are not followed. A link pointing at a file outside the project is created, the project is collected, and the outside file’s contents are asserted absent from the payload.
  • Redaction catches real secret shapes — AWS, GitHub, Stripe, Razorpay, OpenAI, Google, JWTs, private-key blocks, Django and Laravel app keys, WordPress salts, passwords in connection strings.
  • Redaction does not catch things it should not. Placeholders, process.env.X, os.environ["X"], function calls and ordinary prose are asserted to come through untouched — a redactor that destroys readable code makes the analysis worse.
  • The key never leaks. It is asserted absent from URLs, request bodies, log lines and error messages — including a test where the server returns an error containing the key, which must come back scrubbed.
  • Plain http:// is refused for every host except localhost, so a mistyped URL cannot put the key on the wire.
  • Every refusal behaves. Invalid key, revoked key, suspended account and lapsed subscription each produce the right status, the right message and the right exit code.
  • Limits are enforced before the request. An oversized project fails with an explanation rather than a server rejection.

The live end-to-end verification

Automated tests prove the logic. They do not prove that the thing we actually deployed behaves the same way. So each package was run against production, with a real key, on a project built specifically to catch us out.

The test project deliberately contained:

  • an .env with a real-shaped AWS secret and GitHub token,
  • a local_settings.py with an admin password,
  • a settings.py with a Django SECRET_KEY, a live Stripe key and a database password inside a DATABASES dict,
  • a secret inside a .venv/site-packages file,
  • a binary file renamed to look like source, and a .bak file excluded by .gitignore,
  • plus genuinely vulnerable code — SQL by concatenation, an unvalidated upload, DEBUG = True.

The scan ran, returned four correct findings including the SQL injection, and then the stored bundle was inspected on the server and searched for every planted secret:

--- leaked secrets check (anything printed = FAIL) ---
--- done; files in bundle ---
7 files
  .gitignore
  manage.py
  pyproject.toml
  requirements.txt
  shop/migrations/0001_initial.py
  shop/settings.py
  shop/views.py

--- settings.py as stored on our server ---
SECRET_KEY = '[REDACTED:django-secret-key]'
STRIPE_KEY = "[REDACTED:stripe-key]"
DEBUG = True
DATABASES = {'default': {'ENGINE': 'django.db.backends.postgresql',
    'NAME': 'shop', 'USER': 'shopuser', 'PASSWORD': '[REDACTED:assigned-secret]'}}

Nothing printed under the leak check, which is the point: not one of the planted secrets reached the server, and the files that did arrive had their secrets replaced while the surrounding code stayed readable enough to analyse. Exit codes were verified too — a revoked key returned 3, and --fail-on high returned 1 on a project with a high-severity finding.

What testing found — and we fixed

These are the real defects the process caught. They are listed because a security claim from a team that found nothing is not worth much.

FoundWhy it matteredFixed
Unquoted config values were not redactedA Django DATABASES dict and a docker-compose POSTGRES_PASSWORD both slipped past the redactor. A customer’s database password would have been uploaded. Caught by the live run, not by the unit tests.Fixed in all five packages, with regression tests in each
The retention job was never scheduledThe code that deletes uploaded source after 14 days existed and was correct, but nothing ever called it. The retention promise was false in practice.Now a nightly scheduled job, with a dry-run mode to verify it
One host did not force HTTPSPlain http:// to the scan host returned a page instead of a redirect — a key sent to that URL would have crossed the network in cleartext first.Redirect fixed, HSTS added, and the packages now refuse plain http themselves
The rate limiter held key materialRequest buckets were keyed by a prefix of the raw key, kept in memory for the life of the process.Buckets are now keyed by a hash
The WordPress plugin had no PreviewEvery other package could show you what it would send before sending it. The plugin could not — but its readme and this site both said it could. Found while capturing screenshots of a feature that turned out not to exist.Preview built and shipped, usable before a key is even entered
The plugin's menu was documented in the wrong placeFive pages, including this site and the plugin readme, told you to open Settings → Code Pulse. The plugin registers itself under Tools.Corrected everywhere
A new platform value had no database entryAdding Python to the portal would have failed at the database on the first Python install.Schema updated before release
Three of those seven were found by running the thing rather than by a unit test — two against production, one while capturing screenshots. That is why the live verification is part of the process and not a formality.

What is not covered

  • No independent third-party penetration test has been performed on the extension pipeline. The review was ours.
  • Redaction is tested against the credential shapes listed, not against every possible secret. A secret with no recognisable shape will not be caught — see the honest limit on the What we receive page.
  • The tests prove what the packages send. They cannot prove anything about code you have excluded from the scan.

If you need an independent assessment before adopting it, the data page has everything an assessor would start from, and we will answer a security questionnaire.

Run the suites yourself

cd extensions
(cd npm && npm test)
(cd python && python3 -m unittest discover -s tests -t .)
(cd laravel && php tests/standalone.php)
(cd wordpress && php tests/run.php)
(cd shopify && npm test)

The PHP suites need nothing but PHP — no Composer, no PHPUnit, no WordPress install — so the logic that decides what leaves a machine can always be verified.