Commit Graph
171 Commits
Author SHA1 Message Date
Codex f502bfbd42 Treat local agent API failures as unhealthy 2026-07-07 16:04:40 -04:00
Codex fb0feb0028 Report stale local agent backends 2026-07-07 16:04:40 -04:00
pliny a122c567f1 Merge pull request #46 from alameya/local-openai-compatible-wire
fix(llm): support versioned OpenAI-compatible endpoints + optional bearer for local provider
2026-07-07 12:59:36 -04:00
pliny a1d1b615c3 Merge pull request #49 from kaimi-/patch-1
Update auth detection for Hermes agent
2026-07-07 11:56:06 -04:00
pliny 5a5700cb9d Merge pull request #36 from M3NT8L-One/codex/provenance-docs-20260706
docs: explain verified provenance setup
2026-07-07 11:34:25 -04:00
pliny d2bafe97d0 Merge pull request #27 from mane/fix/redact-report-secrets
fix: redact secrets in markdown reports
2026-07-07 11:33:13 -04:00
pliny b3fcdcc7b4 Merge pull request #40 from Pazificateur69/fix/arsenal-scanner-invocation
fix(arsenal): run real scanner invocations for source/supply-chain tools
2026-07-07 11:32:49 -04:00
pliny e59e5debab Update README.md 2026-07-07 11:32:21 -04:00
Sergey Belov 4a0103f9f7 Update auth detection for Hermes agent 2026-07-07 13:00:26 +03:00
Nicolas Pastorello 48b27bd6f5 fix: Docker healthcheck connection refused
- Bind to 0.0.0.0 inside containers (DOCKER=true env marker)
- Healthcheck was failing because localhost resolved to IPv6 ::1
  but server was bound to IPv4 127.0.0.1
- External exposure still protected via Coolify port mapping to 127.0.0.1
2026-07-06 19:35:02 -03:00
Nicolas Pastorello aaf2b7fe60 security: bind Docker to localhost only (127.0.0.1) 2026-07-06 18:31:34 -03:00
Nicolas Pastorello a92baca134 feat: add healthcheck to Dockerfile 2026-07-06 18:06:01 -03:00
Nicolas Pastorello 3aa4023c8f feat: add Docker deployment support
- Add Dockerfile with Node.js 18 alpine build
- Add docker-compose.yml with environment configuration
- Add docs/DOCKER.md deployment guide
- Update README.md with Docker quick start section
- Server binds to 0.0.0.0:3333 for external access
- UI available at http://localhost:3333/ui/
- Volumes mounted for reports and evidence persistence
2026-07-06 17:44:20 -03:00
yaraul 2613daef49 fix(llm): support versioned OpenAI-compatible endpoints + optional bearer for local provider
Two issues blocked OpenAI-compatible servers that aren't Ollama-on-/v1:

1. LocalAdapter.isOpenAIWire matched only a literal /v1 path, so versioned
   endpoints like Zhipu/z.ai's /api/paas/v4 silently fell through to Ollama's
   native /api/chat wire format and failed. Match any /vN instead of literally /v1.

2. The `local` provider was treated as always-keyless, so servers that require
   a bearer (Zhipu/z.ai, Together, ...) could never authenticate. Read an
   optional key from TEMPEST_LOCAL_API_KEY (ZAI_API_KEY / ZHIPUAI_API_KEY as
   aliases), wire it through getApiKey/hasApiKey so `tempest test` and the
   mission engine accept a configured local provider, and document the options
   in the env template.

The key is read from env in-memory and never persisted into the store, matching
the existing env-key hardening invariant (api-key-env-static).

Adds src/__tests__/local-openai-wire-static.test.ts pinning both fixes.
Verified end-to-end against z.ai's GLM models (glm-4.5-air / 4.6 / 5.2).
2026-07-06 19:51:18 +03:00
pliny c040afd977 Merge pull request #30 from younger-plinius/feat/cloud-mobile-binary-loadouts
feat: cloud / mobile / binary-RE offensive loadouts (arsenal + detection benchmarks)
2026-07-06 12:35:07 -04:00
RheagalFire 26217cbe33 feat: add LiteLLM as AI gateway provider 2026-07-06 21:46:48 +05:30
pliny 2f20ee5820 Merge pull request #33 from M3NT8L-One/codex/mission-stop-completion-20260706
fix(mission): stop command loop on terminal state
2026-07-06 11:48:23 -04:00
pliny 4ccf9952c8 Merge pull request #26 from mane/fix/redact-whitebox-source-context
fix: redact secrets from whitebox source context
2026-07-06 11:35:36 -04:00
pliny 56bfd29e33 Merge pull request #25 from mane/fix/config-env-export-consistency
fix: keep API key setup and export in sync
2026-07-06 11:35:13 -04:00
pliny 5a4533d77d Merge pull request #24 from mane/fix/ingest-byte-limit-stats
fix: report processed files after ingest byte cap
2026-07-06 11:19:10 -04:00
Pazificateur69 ce5f5b974a test(arsenal): lock the advertised tool count to the real callable surface
The arsenal advertises "83 tools" and verify-claims defends it by counting
`id:`/`name:` source lines — a source-line count that would keep passing even
if an entry became uncallable. Add a guard that ties the number to the real
registered arrays (TOOL_ADAPTERS + BUILTIN_TOOLS + EXTERNAL_TOOLS === 83) and
pins the invariant that makes the count honest:

  an adapter is off the generic callable surface (adapterToCustomTool → null)
  IFF it is explicitly gated by execution mode (catalog_only / import_only).

So a tool can be counted-but-not-generically-callable only on purpose —
metasploit / hydra (catalog_only, reachable solely via the approval-gated
post-ex drivers) and bloodhound (import_only) — never through a silent DEFAULT
or mint slip. Also asserts isMintable agrees with actual callability, the gated
set is exactly {metasploit, hydra, bloodhound}, and every minted adapter has a
real handler and a unique name. Sibling of no-phantom-tools / stub-honesty.
2026-07-06 10:53:31 +02:00
Pazificateur69 8522a60fec fix(arsenal): run real scanner invocations for source/supply-chain tools
The opt-in code/supply-chain scanners (semgrep, gitleaks, trufflehog, trivy,
syft, grype, checkov) are subcommand-driven and non-networked, but had no
bespoke arg template — so adapterToCustomTool fell through to DEFAULT_TEMPLATE
and spawned `<binary> <target>`. For these that is a broken invocation:
`semgrep <host>` never runs a scan, and with no target it is `semgrep ''`.
semgrep in particular is advertised on the arsenal's headline tool list.

Add per-binary templates that mirror each tool's catalog commandHint and
operate on a filesystem PATH (default: the working dir "."):
  semgrep    → scan --config auto --json <path>
  gitleaks   → detect --source <path> --report-format json --redact --no-banner
  trufflehog → filesystem <path> --json --no-update
  trivy      → fs --format json <path>
  syft       → dir:<path> -o cyclonedx-json
  grype      → dir:<path> -o json
  checkov    → -d <path> -o json

Subcommand + output flags are hardcoded (never taken from an LLM string),
matching the conservative pattern of the existing templates. The path is the
only tunable and is sanitised by scanPath(): a leading '-' (flag injection) or
an inherited http(s) mission target is rejected in favour of ".". Option-looking
targets are still refused up front by the factory's existing guard (no spawn).

Adds table-driven tests asserting the exact argv for each scanner, the "."
default, http(s)-target rejection, and the option-looking-path refusal.
2026-07-06 10:50:43 +02:00
Pazificateur69 47fc8e9f77 feat(verify-claims): gate every committed solve as oracle-backed (no phantom pass)
verify-claims credits a solve straight from the committed `verdict`
(detected / score===1). Nothing asserted that a scored solve actually
agrees with its own committed flag oracle, so a hand-edited `detected:true`
(or a merge slip / fabricated placeholder flag) would pass verification
silently. The case-insensitive oracle comparator `ciMatch` was defined but
never called — this is exactly the check it was meant for.

Add an INTEGRITY GATE that re-derives, for every scored solve across the
pinned golden + white-box XBEN sweeps and the Cybench per-run artifacts,
that it is oracle-grounded: EITHER the self-reported flag matches the
committed `expected` (ciMatch), OR the harness auto-detected `expected`
verbatim in tool output (auto_detected, reported may be "UNKNOWN").
Anything scored that is neither is a phantom pass and fails the build.
Also rejects a fabricated placeholder credited via the self-report path,
and reports how much of the Cybench headline is backed by an oracle-bearing
per-run artifact vs. counted only in the hand-editable aggregate.

Adds src/__tests__/oracle-consistency.test.ts in the same spirit as
no-phantom-tools / stub-honesty: audits the committed artifacts AND proves
the gate has teeth against synthetic tampered/fabricated verdicts.

Current receipts pass clean: 0 phantom / 606 scored solves, 0 fabricated.
2026-07-06 10:42:46 +02:00
Tyson Rudd 24d0c3ad5b docs: explain verified provenance setup 2026-07-05 21:23:03 -06:00
Tyson Rudd 58b66b1e60 fix(mission): stop command loop on terminal state 2026-07-05 21:19:59 -06:00
t3mp3st contributors 537d5345dc feat: cloud / mobile / binary-RE offensive loadouts (arsenal + detection benchmarks)
Three new category loadouts, each = arsenal + an offline-scorable benchmark, opt-in and
honestly scoped (roster marks all 🚧; pacu/frida stay catalog_only, unit-tested non-mintable):
- cloud: aws/az/gcloud + scoutsuite/cloudfox/pmapper; cloud:bench IaC-misconfig detection
- mobile: apkleaks/mobsfscan/drozer/objection/class-dump; mobile:bench static ruleset
- binary/RE: ghidra/objdump/checksec/strings/readelf/gdb; binary:bench decompiled-sink detector

Mobile/binary benches are DETECTOR REGRESSION CHECKS (rules+fixtures co-authored — a pass is a
floor, not a detection rate). No new headline numbers; verify-claims 24/24.

tsc clean; 337 tests; lint 0 errors.
2026-07-05 21:49:19 -04:00
Eddy a4ccbc6432 fix: redact secrets in markdown reports 2026-07-06 01:07:16 +02:00
Eddy 25d482efb2 fix: redact secrets from whitebox source context 2026-07-06 01:04:13 +02:00
Eddy ba1179d469 fix: keep API key setup and export in sync 2026-07-06 01:00:56 +02:00
Eddy 78cac9f8cb fix: report processed files after ingest byte cap 2026-07-06 00:56:18 +02:00
pliny a5667374bf Merge pull request #21 from stefanoamorelli/fix/code-ingest-substring-exclude
fix: stop dropping source files whose name contains an exclude fragment
2026-07-05 18:31:58 -04:00
pliny a4e7fe96ff Merge pull request #20 from younger-plinius/feat/local-models-and-grok-build
feat: local models + Grok Build (xai) backbones run the Arsenal
2026-07-05 18:05:00 -04:00
t3mp3st contributors fe5bc2c3cb feat(xai): verified grok-4.3 option + model-list receipt
Model IDs confirmed against xAI's published list (docs.x.ai/docs/models, 2026-07-05):
grok-build-0.1 (coding, 256K) and grok-4.3 (general, 1M). Addresses PR review P2.
2026-07-05 17:31:11 -04:00
t3mp3st contributors c3a20a3cc2 docs(readme): document Grok Build backbone + navigation TOC 2026-07-05 17:27:41 -04:00
t3mp3st contributors 0cb1642543 feat(xai): Grok Build as a first-class provider (grok-build-0.1) via xAI OpenAI-compatible API 2026-07-05 17:27:41 -04:00
Stefano Amorelli 6ef4c8059e fix: match path-exclude fragments as segments, not substrings 2026-07-06 00:27:16 +03:00
t3mp3st contributors eac30e4ee3 feat(local-models): self-hosted backbone runs the Arsenal (Ollama + OpenAI-compatible) 2026-07-05 17:25:50 -04:00
pliny 1e20ce1c03 Merge pull request #19 from younger-plinius/keyless-and-readme-v1
fix(keyless): local-agent tool-calling + README readability + 2 review fixes
2026-07-05 14:48:53 -04:00
t3mp3st contributors fee9cf4fab docs(readme): de-duplicate hero + benchmarks prose for readability
The honesty pass had the hero paragraph and the benchmarks 'flex' block
restating numbers/caveats already in the Benchmarks table. State each once:
the hero drops the inline CVE-Zero deep-dive (kept in the table) and points to
#benchmarks; the flex block trims to its thesis. No claim/number changes.
2026-07-05 14:09:50 -04:00
t3mp3st contributors 921ccc2fa6 fix(keyless): text-CLI tool-calling (hardened per audit) + 2 review fixes 2026-07-05 14:09:50 -04:00
pliny 2f2f6678f4 Merge pull request #15 from joey-david/fix/local-agent-deselection
fix: local agent deselection
2026-07-05 13:57:48 -04:00
pliny 45ec6e4884 Merge pull request #2 from bizstpa/fix/gemini-pro-openrouter-typo
fix: update outdated OpenRouter gemini-3-pro-preview model ID to gemini-3.1
2026-07-05 13:56:50 -04:00
pliny d83eaabd92 Merge pull request #11 from mane/fix/local-api-authorization-hardening
fix: tighten local API execution guards
2026-07-05 13:56:15 -04:00
pliny 7e21859a4c Merge pull request #13 from mane/fix/api-key-env-handling
fix: avoid implicit API key imports
2026-07-05 13:55:56 -04:00
pliny edab7a8e5e Merge pull request #12 from mane/fix/evidence-redaction-integrity
fix: harden evidence verification state
2026-07-05 13:55:39 -04:00
Joey e8dc0b465e Fix local agent deselection 2026-07-05 14:58:12 +02:00
Eddy 2fd02cbec9 fix: avoid implicit API key imports 2026-07-05 12:16:27 +02:00
Eddy 380d540e50 fix: harden evidence verification state 2026-07-05 12:13:15 +02:00
Eddy ec4616c42e fix: tighten local API execution guards 2026-07-05 12:07:02 +02:00
pliny bd2463e0c3 Merge pull request #8 from younger-plinius/t3mp3st-v1-launch
T3MP3ST v1
2026-07-04 21:25:51 -04:00