Skip to main content
Toknbase
SCOPE & SECURITY · REFERENCE

What Toknbase scans for

Credential exposure detection — not code vulnerability scanning. Toknbase finds exposed API keys, tokens, and secrets hardcoded in your repos.

What Toknbase finds

Toknbase scans source code, config files, CI/CD workflows, and git history for exposed credentials that should never be in your codebase.

  • API keys and tokens — AWS, Stripe, GitHub, OpenAI, Google Cloud, Twilio, and 60+ more patterns
  • Hardcoded credentials in source code (.py, .js, .ts, .go, .rb, etc.)
  • Secrets in .env files committed to repos (even if later deleted from the latest commit)
  • Tokens in CI/CD workflow configs (.github/workflows/, .gitlab-ci.yml, .circleci/config.yml)
  • Credentials in git history — every commit, every branch, including deleted files
  • Private keys and certificates (RSA, EC, PEM format)
  • Database connection strings with embedded passwords
  • Bearer tokens and OAuth client secrets in code
  • Hardcoded passwords in config files (Docker, Kubernetes, Helm charts)

What Toknbase does NOT scan

Toknbase does not scan for code vulnerabilities.

Logic bugs, CVEs, injection flaws (SQL injection, XSS, buffer overflows), and insecure code patterns are outside Toknbase's scope. For that,Snyk andSemgrep are the right tools. Most teams use both: Snyk/Semgrep for code security, Toknbase for credential exposure. They complement each other perfectly.

✓ Toknbase's lane

  • Exposed API keys and tokens
  • Hardcoded credentials
  • Secrets in git history
  • CI/CD workflow credential leaks
  • Private keys and certificates

✗ Not Toknbase's scope

  • SQL injection and XSS vulnerabilities
  • Dependency CVEs and outdated packages
  • Insecure coding patterns
  • Buffer overflows and memory issues
  • Code logic bugs

Use Snyk or Semgrep for these.

Zero-knowledge model

Secrets are encrypted before leaving your browser. Toknbase never sees plaintext values — this is an architectural constraint, not a policy.

Algorithm

AES-256-GCM

KDF

HKDF (v5)

Encryption

Client-side

  • Secrets are encrypted in your browser — no server-side key material, ever.
  • The scanner detects credential patterns in file content but masks values immediately.
  • Every scan result is stored with the value masked — never plaintext.
  • Decryption only happens locally, when you explicitly view a secret in the dashboard.

Compliance and verification

Every Toknbase action is logged with a tamper-evident hash chain on the Internet Computer — independently verifiable by anyone.

  • Every action (found, fixed, rotated) is logged on-chain with a cryptographic receipt.
  • The hash chain cannot be altered retroactively — tamper-evident by design.
  • Audit logs can be exported as CSV or PDF for compliance reviews.
  • Verification endpoint: any exported chain tip hash can be independently verified.
  • Secret values are never stored in the audit log — only metadata (action, timestamp, actor).

Note

Verify any audit export attoknbase.net/verify— paste any exported chain tip hash and get an instant verification result, no account needed.

What Toknbase cannot see

By design, Toknbase has zero visibility into your actual secret values. This is not a policy — it is an architectural constraint enforced by the encryption model.

What we storeWhat we cannot access
Encrypted ciphertext blobsPlaintext secret values
Secret names (metadata)Encryption keys or passphrases
Audit log entries (action, timestamp, actor)Master passwords (there are none)
Your Internet Identity principalThe content of your secrets

AI agent exposure risks

AI coding assistants can read your development environment. Here is exactly when your secret values are and are not at risk.

Values NOT exposed

  • ·Using Toknbase MCP server with a scoped agent token
  • ·Secrets stored in Toknbase vault (not in .env files)
  • ·Toknbase servers never see plaintext — encryption is client-side only
  • ·Agent access is user-controlled: you choose which secrets MCP can reach

Risk scenarios

  • ·Pasting a raw API key directly into a chat window
  • ·Storing secrets in .env files the AI agent can read
  • ·Using a full_access token with no folder restrictions
  • ·Not reviewing audit logs for unexpected agent access

Agent token best practices

Follow these practices to minimize exposure surface when connecting AI agents to your Toknbase vault.

ScopeCan doCannot do
read_onlyList secret names, list foldersCreate, update, delete, access values
read_writeAll read_only + create and update secretsDelete secrets, folder management
full_accessAll read_write + delete, batch ops, audit log, retrieve valuesExceed token's folder restrictions
  • Use read_only scope for AI agents that only need to reference what secrets exist.
  • Apply folder restrictions to limit agent access to only the secrets it needs.
  • Rotate agent tokens regularly — especially after ending a project.
  • Review the audit log weekly to spot unexpected access patterns.
  • Never share an agent token in a public repo, chat, or pull request comment.
  • Create separate tokens per AI tool — never reuse the same token across editors.

Authentication

Toknbase uses WebAuthn via the Internet Computer's Identity system. There are no passwords — authentication uses hardware security keys, biometrics (Face ID, Touch ID), or device passkeys.

  • No password database — there is nothing to breach.
  • WebAuthn is phishing-resistant by design — credentials are bound to the domain.
  • Your Internet Identity principal is derived from your device key, not a server.
  • ICP's identity infrastructure is decentralized and operated by independent node providers.

Audit log

Every action on a secret — creation, update, deletion, access attempt, rotation — is recorded in a cryptographic audit log stored on the Internet Computer canister. These records cannot be altered or deleted.

  • On-chain storage makes the log tamper-proof by design.
  • Every entry records: action type, actor principal, timestamp, and affected secret.
  • Export the audit log as CSV for compliance workflows.
  • Audit log entries are anonymized (not deleted) when an account is closed.

SIEM integration

Forward audit events to any SIEM, log aggregator, or security monitoring platform via a structured webhook.

  • Generic webhook works with Splunk HEC, Datadog Logs, Elastic Logstash, Sumo Logic.
  • Events are batched (up to 50 per flush) to avoid overwhelming receiving endpoints.
  • Category-based filtering: forward only secrets activity, access events, or threats.
  • All SIEM delivery activity is itself recorded in the audit log.

Start with zero-trust credential security today

All features included. No credit card required.

Important

Zero-knowledge guarantee: Toknbase encrypts all secrets withAES-256-GCM in your browser before they leave your device. Even Toknbase staff cannot read your plaintext secrets — the server only ever sees encrypted blobs.
Was this page helpful?