| Version | Supported |
|---|---|
| 0.1.x | ✅ |
Do not open a public GitHub issue for a security problem.
Email 29535497+cptlight@users.noreply.github.com with:
- a description of the issue and its impact,
- reproduction steps or a proof of concept,
- the affected component (kernel, adapters, CLI, or adapter format),
- the version, and how you are running it.
If you would prefer to encrypt, ask for our PGP key in a first plain email.
| Stage | Target |
|---|---|
| Acknowledgement | within 48 hours |
| Initial assessment and severity | within 5 days |
| Fix for critical issues | within 7 days |
| Fix for high issues | within 30 days |
| Public disclosure | coordinated, after a fix ships |
We will credit you in the release notes unless you ask us not to.
- The governance kernel (
packages/kernel) - risk-gate bypass, audit tampering, credential exposure, prompt-injection bypass. - The adapter format and generator (
packages/adapters) - a way to make the generator emit an adapter that grants more access than it appears to. - The CLI (
packages/cli) - code execution, path traversal, credential leakage into output or shell history. - The API (
apps/api) - authentication bypass, privilege escalation, IDOR, SSRF via an adapter'sbase_url, tenant isolation. - Deployment artifacts - a default that exposes a credential or an unnecessary network surface.
- Vulnerabilities in a target API that an adapter points at. Report those to the vendor. (If TCPcore fails to contain the consequences, that is in scope.)
- Findings that require an operator to have already set a secret to a publicly known value.
- Missing hardening headers on the docs site.
- Denial of service through sheer request volume against your own deployment.
- Reports produced solely by an automated scanner with no demonstrated impact.
These are properties we intend to hold, and will treat a violation of as a bug:
-
No agent can reach an integration without passing through
governedCall. There are exactly two agent-facing entry points, and both enforce the risk gate and write an audit row. -
No credential is ever returned in a response body, written to an audit row, or emitted in a log. Credentials are AES-256-GCM encrypted at rest and decrypted only inside the token broker, for the duration of one call.
-
A high-risk or
agent_forbiddencapability is never executed by an agent. These are hard blocks in the risk gate, not warnings. -
An approved action executes as the reviewer, never as the proposing agent. Otherwise "a human approved it" would mean nothing.
-
Unclassified input fails closed. An unrecognised HTTP method, an unparseable schema, or an unknown capability defaults to denial or approval, never to silent execution.
-
Demo mode cannot reach the internet. With
DEMO_MODE=true, the kernel refuses outbound calls to any host not onDEMO_WHITELIST.
If you are self-hosting TCPcore, these are the things that matter most:
-
JWT_ACCESS_SECRET,JWT_REFRESH_SECRETandTCPCORE_CREDENTIAL_KEYare randomly generated, at least 32 bytes, distinct, and stored in a secret manager - not in a committed.env. -
TCPCORE_CREDENTIAL_KEYis backed up separately. Losing it means every stored integration credential must be re-entered; leaking it exposes them. -
CORS_ORIGINis an explicit origin, not*. - The API is behind TLS. The kernel refuses plaintext
httpto non-loopback hosts, but defense in depth is cheap. - PostgreSQL and Redis are not published to the public internet.
-
DEMO_MODEis off in production. It seeds known credentials and relaxes the outbound guard. - The admin console is not reachable by unauthenticated users, and
VIEWERaccounts are read-only by design - verify your reverse proxy agrees. - Rate limits are in place in front of
/api/auth/*. TCPcore ships a login limiter, but an edge limiter is better. - Audit rows are shipped to append-only storage. The API treats them as append-only, and there is deliberately no update or delete endpoint, but a database administrator can still alter them.
- You have reviewed every adapter's risk levels yourself. An adapter is policy, and a community adapter is someone else's policy.
The full threat model - including prompt injection, confused-deputy risks, and the SSRF surface created by adapter-declared base URLs - is in docs/THREAT-MODEL.md. It states what is defended, which control implements each defence, and what is deliberately out of scope.