Interview Coding Pen — security posture

Base Power Company · security@basepowercompany.com


What this service does, on purpose

This is an internal tool Base Power Company uses to run live technical interviews. A candidate writes code in a browser and we execute it on our servers so both people can see the result. Candidates are members of the public. The code they submit is arbitrary, and we do not attempt to restrict, analyze, or filter it.

Remote code execution by an untrusted party is the function of this service, not a flaw in it. If you have found that you can run arbitrary code here, you have found the product working correctly. We would still rather you read the next section, because the interesting question is not whether you can run code — it is what that code can reach.

The isolation boundary

Base Power production, corporate network, customer data,
cloud credentials, internal services, employee accounts
        ^  no path across this line
The sandbox: an ephemeral per-session Linux VM with
no credentials, no identity, and no data

The execution environment is verified to have:

This service also does not run on any subdomain of basepowercompany.com, so it shares no cookie jar, CSP allowlist, CORS allowlist, or SameSite boundary with our production domain.

Blast radius

The worst realistic outcome of an attacker doing whatever they like inside the sandbox is that they consume some of our CPU for a bounded period and see their own code's output. There is nothing to read, nothing to authenticate as, and nowhere to pivot to.

How we keep this true

These properties are tested, not merely configured. An automated suite submits probe programs through the same public endpoint a candidate uses and asserts that the environment is clean, metadata is unreachable, egress fails, and no credentials are present. It runs on every deploy, and its core checks run again before every interview session.

Out of scope

In scope — please tell us

Reporting

Email security@basepowercompany.com with enough detail to reproduce. We will acknowledge within two business days. We do not run a paid bounty for this asset, and given the scope above we expect few valid findings. We will credit reporters who want credit.

security.txt