0.18.0 carried an unpublished 0.17 default giving declared training crawlers
100 free requests a minute; 0.18.1 makes it opt-in. throttle 0.4.2 drops its
nested gateway copy.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gateway 0.18 massScrape (on by default): past 60 anonymous page loads a minute
site-wide, every anonymous page load is answered 402 with the x402 offer for
30 minutes; one address past 120 an hour pays too. Runs before exempt (a
present-but-unverified session cookie no longer passes); passes, Power Keys,
verified authenticate, welcome crawlers, /, sign-in and app paths still read.
Refusals are reported to CrawlProof as bot:swarm.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* App grants: hand one secret to an external app, sealed to its per-user inbox
Phase 1 of the CoinPay <-> logicsrc key hub (spec: claude.ai/artifact/LAZgAiqWqeLQ14uJ5JpdKb).
- /grant consent page: logicsrc fetches the request manifest from the app's
own origin over TLS (/.well-known/logicsrc-grant/<nonce>), public hosts
only, so the page shows a verified origin, not a claimed name
- The browser decrypts with the identity key (as the vault page does) and
seals with @profullstack/sealed-secrets to the app's inbox; the server
stores ciphertext + metadata only (app_grant_requests, app_grants)
- Signed Standard Webhooks to the app: grant.delivered / updated / revoked
- Signing keys (wallet, seed, SSH) are refused for apps
- rotate-keys re-seals the new value to every app grant on the old
fingerprint (resealAppGrants); /apps lists and revokes grants
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* App grants: re-check the webhook host is public on every delivery
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The 28 retired apps now live at <name>.pwa.pit.world and the old domains
only 308 until they lapse. Links, hosts, webring/footer params and
supabase.<d> URLs move to the pwa hosts. Emails, GitHub/npm paths, brand
text and old nginx server_name files are left alone.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
0.5.0 routes scoreQuality through @profullstack/ai-providers: c0mpute
first, paid providers only when a key is set. The Anthropic key this
gate used is out of credit, so it was failing open on every post.
Co-authored-by: riotcoder <riotcoder@profullstack.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
The checkout, webhook settle, return check and expiry/renewal sweep from #272
move into the new @profullstack/key-rotation package (0.1.0) so other fleet
apps can sell the same add-on. lib/auto-rotation.mjs keeps its exports and
binds the package to credshare_teams, owners/admins, the audit log and the
app.logicsrc.com CoinPay business. No schema or behaviour change.
Co-authored-by: Anthony Ettinger <anthony@profullstack.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
- Rotation page button + POST /api/credshare/teams/:slug/rotation/auto/checkout
open a CoinPay hosted checkout (owner/admin only).
- POST /api/coinpay/webhook and the page's return check settle once per checkout
session (rotation_payments); paying again extends from the current end.
- Hourly sweep: renewal email 3 days before, switch off when the days run out.
A team switched on by hand (paid_until NULL) never expires.
- Migration 012 (both dialects), CSP form-action allows coinpayportal.com.
Co-authored-by: Anthony Ettinger <anthony@profullstack.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
libsql-pg's convertDdl turns an inline '-- comment' inside CREATE TABLE into
a column named "--" (Postgres: column "--" specified more than once), which
crash-looped app.logicsrc.com on boot after #269. Comments move above the
statement, without semicolons (the migrator splits on them).
Co-authored-by: Anthony Ettinger <anthony@profullstack.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Every automatic secret older than the team's max age (90 days default) is
queued as one run in awaiting-approval. An owner/admin approves it on the
Rotation page or with `teams rotation-approve`; machine keys can queue but
never approve. logicsrc-rotate --queue (*/5 cron) runs approved runs with
propagate + health checks + rollback. rotation_auto_approve per team is the
paid automatic rotation add-on (off by default).
Co-authored-by: Anthony Ettinger <anthony@profullstack.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
- method "desktop": dashboard-only keys (OpenAI, ElevenLabs, Brave Search,
Civitai, Cloudflare Global API Key roll, Anthropic/Claude OAuth report-only)
rotated by an agent on a W3BS Agentic Desktop Layer host (--desktop /
LOGICSRC_DESKTOP_HOST). Agent browser only, old key by its last 4 chars,
DOM-to-file capture (wl-paste fallback), two-phase revoke after health,
rollback deletes the new key, remote file shredded. needs-login and busy
are waits, not failures. Roll needs --allow-roll plus a capture self-test.
- app.logicsrc.com: /teams/:slug/rotation plan page + rotation run queue
(migration 010), API routes; runner: rotate-keys --from-queue.
- MCP: rotation_plan, rotation_set, rotate_keys (dry run default), rotation_runs.
- docs/rotation.md: desktop rotators and every surface.
Co-authored-by: Anthony Ettinger <anthony@profullstack.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Additive: curated exploits linked from exploitation.public, unvetted PoC
claims that never raise status, CISA SSVC as exploitation.ssvc and mapped
onto status (active=exploited, poc=poc-public, none=none-known), and
detection templates in exploitation.scanners.
Co-authored-by: Anthony Ettinger <anthony@profullstack.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* feat(keyring): revocable share link for SSH public keys (/k/<token>.json|.keys)
Migration 009_keyring_shares (one per user, sha256(token) only). POST/GET/DELETE
/api/keyring/share for a person key or a browser session (CSRF header on
writes; machine keys 403). Public /k/<lks_ token>.json and .keys expose only
ssh-* public halves with ssh-keygen fingerprints computed from the key, CORS *,
public max-age=60, 404 when unknown or revoked, per-IP rate limit. /keyring
gets a Share public keys box (create, copy, rotate, revoke); docs updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* test(keyring-share): assemble the private-key fixture at runtime (ThreatCrush)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Anthony Ettinger <anthony@profullstack.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* OpenVuln 0.1: one OSV-valid record per vulnerability with KEV, EPSS, AI-exploit evidence and per-fact sources
Every OpenVuln record is a valid OSV record; additions live in
database_specific.openvuln: subject (package/agent/service/campaign...),
class, label, fix, exploitation (kev, epss, ai benchmarks), sources,
deep_dive with AI disclosure fields. Publisher index at
/.well-known/openvuln.json. First directory: nichedb.dev/c/vulns.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenVuln: changes points at the feed's JSON (/f/openvuln-records.json)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Anthony Ettinger <anthony@profullstack.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
- Catalog covers every key in the team plan (unknown 275 -> 0): new methods
`provider` and `not-secret`, plus family/owner/never/disruptive on every
spec. Wallets, treasury, Lightning, exchanges, Stripe, npm, GitHub App keys,
signing identities and the personal vault are `never` and owner-only; an
__ROTATE__ entry cannot make them automatic.
- Two-phase provider rotators (rotators.ts): resend, cloudflare-token,
coinpay-api-key, coinpay-webhook-secret, vapid, postgres-role (SCRAM
verifier over stdin, refuses self-hosted Supabase).
- rotate-keys --propagate [root]: finds consumer env files by value, backs
up (.bak-rotate-<date>, 600), rewrites, restarts with the site's deploy.env
through deploy-gate 3 at a time, health-checks local + public URL, revokes
the old credential only after; any failure restores vaults, files and the
provider. --scheduled, --max, --max-sites, --exclude-site, --report.
- scripts/logicsrc-rotate: weekly job, dry run unless LOGICSRC_ROTATE_LIVE=1,
mails rotated / skipped / manual-by-owner report (never values).
- docs/rotation.md (logicsrc.com/docs/rotation) + docs/ROTATION.md pointer,
including the wallets and signing keys section.
Co-authored-by: Anthony Ettinger <anthony@profullstack.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* security: keep signing keys out of deployable team vaults (CLI 0.13.0)
After the 2026-10-27 dev2 incident, root on the box drained every wallet
whose key sat in an app.env, and deploys write app.env from team vaults.
Wallet keys, seed phrases, hsm secrets and SSH/deploy keys now stay out of
that path:
- server: a machine (deploy) key never receives a signing key from
GET /vaults/:id/secrets (listed as `withheld`, audited as
secrets:withheld:signing) and cannot write or delete one (403
signing_key_machine_write). People still see them, so they can move them.
- CLI `teams push` refuses a .env holding signing keys, by name or by value
shape (PEM private key, 0x-hex, Solana base58/byte array, mnemonic), unless
--allow-signing-keys.
- CLI `teams pull` withholds signing keys by default; --include-signing-keys
needs a person at a terminal, so deploy-app.sh's fallback to the logged-in
account withholds them too.
- One name rule in packages/opencreds/src/signing-keys.ts, mirrored in
apps/pwa/src/lib/signing-keys.mjs, both held to one fixture file.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: bound the wallet-name regex, build PEM fixtures at runtime
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Anthony Ettinger <anthony@profullstack.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
`logicsrc keyring` (alias `kr`; `keys` is API keys): add/gen/list/show/restore/
rm/export --pub/sync/status. A keyring is an OpenCreds user-profile vault (same
PBKDF2-600k + HKDF + AES-256-GCM scheme as `logicsrc vault`, recovery key);
each private key is an OpenCreds `key` item envelope, public halves stay
readable. Works fully local under ~/.config/logicsrc/keyring; `keyring sync`
pushes ciphertext to the account. restore writes the default file name,
600/644, refuses a different existing key without --force and backs it up
first; private keys are printed only with --print-private.
- apps/pwa: /api/keyring (person Bearer key; session read-only; machine keys
refused), additive migration 008_keyring, server refuses any upload that
carries plaintext private key material (incl. base64'd PEM "ciphertext");
/keyring page lists public halves and decrypts in the browser (WebCrypto,
same derivation) for download.
- logicsrc-mcp: list/show/export_authorized_keys/add (sealed only)/remove/
restore instructions; never returns a private key.
- docs/keyring.md served at /docs/keyring.
- Tests: crypto round trip, ssh-keygen fingerprint parity, AAD binding,
restore perms + overwrite guard + backup, two-machine sync, server stores
ciphertext only, browser decrypt opens CLI-sealed envelopes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
logicsrc teams clean <team> <project> <env> [--key K] [--dead] [--approve]
moves keys out of a live vault into its archive vault. Nothing is deleted:
a key leaves the live vault only after its archived copy reads back with
the same fingerprint. --dead finds URL values whose host no longer resolves
and Supabase JWTs whose project ref is such a host. A different value
already archived under a name is kept; the new copy gets a __<UTC stamp>
suffix. Each archived key has an __ARCHIVE__<NAME> entry (from, why, when,
who). Dry run unless --approve.
Co-authored-by: Anthony Ettinger <anthony@profullstack.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
An attacker with root on dev2 read identity.json (identity secret key + a user
lsk_ token) and used the token against app.logicsrc.com. This closes the gaps
that made that worse than it had to be, and adds the tools to recover.
Identity keys
- A registered identity public key is never replaced by a login any more
("last login wins" let a stolen token swap in an attacker key). Changing it
needs `logicsrc teams rotate-identity`: the server seals a random answer to
the CURRENT key (single use, 5 min); the CLI proves possession and re-seals
every vault grant to the new key in one transaction (POST /keys/rotate).
- Lost key: reset from a signed-in browser (Settings), which drops every grant
sealed to the old key. `logicsrc teams key --import` moves a key to a new box.
Vault re-key
- `logicsrc teams rekey <team> <project> <env>` and `--all`: new vault key,
values re-encrypted client side, re-sealed to every current member and
machine key. Server bumps credshare_vaults.key_version; writes that name a
retired version get 409, and the rekey UPDATE only touches rows whose value
did not change mid-flight. A verify pass (per vault and a final sweep)
re-seals any value a racing older client wrote under the retired key.
Key pinning (TOFU)
- CLI pins teammates' and machine keys' fingerprints in known-keys.json (0600)
and refuses to seal (grant, rekey) to a changed key without
--accept-key-change. `teams members` shows fingerprints and pin status;
the dashboard shows fingerprints and public/pins.js flags changes.
Audit
- Every person read of a vault key (/grant) and of ciphertext (/secrets) is
audited with IP and user agent (also denied reads and identity events).
GET /teams/:slug/audit, `logicsrc teams audit`, and tables on the dashboard
and vault pages.
At rest / transport
- Session tokens stored as sha256 (rows hashed in migration 007); CLI auth
codes hashed. New API keys no longer travel in the /settings URL.
- CSP (script-src 'self', no inline script or handlers, frame-ancestors none),
HSTS, X-Frame-Options, Referrer-Policy no-referrer, COOP/CORP, no-store on
authenticated pages. Inline scripts moved to /app.js and
/vendor/profile-enhance.js.
- The shared footer renders from the bundled template of a pinned
@profullstack/footer 0.5.0 (allowlist sanitizer); no runtime CDN fetch.
- Migrations can run as a separate owner role (MIGRATE_DATABASE_URL) so the
app can connect as a DML-only role with an append-only audit table.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
One inventory file per operator: every machine, its profile, cost and
public metadata. Server devices point at the OpenServer offer they were
bought as.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
`credentials rotate` only re-keys a vault: values stay the same, so it does
nothing after a value leaks. This adds value rotation that agents can run.
- `teams rotation <team> [project] [env]`: per value, the method (random,
ssh-keygen, command, manual), where the instructions come from, how many
vaults hold it, and since when. --format json carries the steps for agents.
- `teams rotation-set <team> <project> <env> <KEY>`: store instructions as an
encrypted `__ROTATE__<KEY>` entry. The team provider hides that prefix
from sync, so it never lands in a .env and a push never deletes it.
- `teams rotate-keys <team> [project] [env] [--key] [--approve]`: dry run by
default. random/ssh-keygen/command values are minted and written to EVERY
vault holding the same value (by fingerprint); manual ones come back as
steps. `--set-from-stdin` stores a hand-rotated value everywhere the old
one lives. Values never print.
- Built-in catalog by key name: wallet keys and data-encryption keys are
never automatic; provider keys point at the provider's dashboard; only
secrets we mint ourselves are random (META_APP_SECRET etc. are not).
- Empty values (one shared fingerprint) are never planned or overwritten.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The create-account form (/?mode=up) asks for first/last name (required) and
company domain, job title, LinkedIn (optional) beside the email box, rendered
by renderProfileFields. /auth/register validates them with validateProfile
before the user exists and stores them with saveSignupProfile in a new
user_profiles table keyed by users.id. GET/PUT/PATCH /api/v1/me/profile
(session cookie) and a "Your details" card on /settings. Sign-in, passkey and
CoinPay are unchanged.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Profullstack footer on the app.logicsrc.com sign-in page (webring + built.indie + pwamart badges)
Server-rendered @profullstack/footer (clearnet template) under the LogicSRC
footer on the public sign-in page (/), bundled at boot and refreshed from the
@latest template every 15 min. Serves /.well-known/openwebring.json for the
Profullstack ring. Lockfile footer 0.2.1 -> 0.2.6 (checked with bun 1.4.2
--frozen-lockfile).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* PWA manifest + meta description: say what the app is (it carried a moshcode tagline)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* test(web): ring nav has previous/next only since footer 0.2.2 (no random hop)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
POST /api/hire-us/coinpay-checkout now opens a CoinPay checkout session
instead of a single-chain USDC_POL /api/payments/create. The buyer picks
any coin the business has a wallet for, or PayPal. Each session sends
customer_email (required), account_id (CoinPay OAuth sub when signed in,
else the buyer email for guests), property logicsrc.com and the Hire Us
metadata. The cs_ id is recorded in the new hire_us_checkouts table.
The webhook records session payments from the session fields
(checkout_session_id, account_id, customer_email, property), stores the
session id on hire_us_payments, marks the checkout paid, and stays
idempotent on payment_id across confirmed, forwarded and replays.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
PAYMENT-REQUIRED / PAYMENT-SIGNATURE / PAYMENT-RESPONSE (x402 v2 transport
headers), sale metadata (property, page, payer, UA, ip hash) sent to CoinPay
and onSale, and a Buy a day pass button (CoinPay hosted checkout, any coin or
PayPal) on the 402 page once CoinPay serves checkout sessions.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The CoinPay webhook only logged. It now verifies X-CoinPay-Signature
(t=,v1= over t.rawBody), reads the nested payload (data.payment_id, not
the top-level event id), and records a confirmed/forwarded Hire Us
payment once in hire_us_payments (payment_id primary key), mapped to the
buyer via metadata.account_id/email. Unknown or pending payments are a
200 no-op. Hire Us checkout now sends property, account_id (CoinPay
session) and email in metadata.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
- Homepage: removed the 300x250 ad.network unit, its CSS, its rescan effect and the home-only ad.js tag (the ad.network meta verification tag stays).
- Blog index and posts: the single unit is now text_link (AdUnit default), full width with an 8px margin, no centred 300x250 box.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* OpenTask 0.1 + OpenWorkflow 0.1: specs, schemas, fixtures, validators
docs/opentask.md mints OpenTask: one task a person does on a computer,
written down as meaning (goal, apps, parameters with a sensitivity class
and never a value, semantic steps with no coordinates, capture gaps, stop
conditions, approvals, a success check, provenance, runners with digests)
so an agent can do it again. docs/openworkflow.md mints OpenWorkflow: a
collection of OpenTasks inline or by URL + sha256, in sequence or any
order respecting after, with a publisher index at
/.well-known/openworkflow.json.
- @logicsrc/schemas 0.6.0: opentask, openworkflow, openworkflow-index
- @logicsrc/validators 0.6.0: step numbering, placeholders, apps,
no example on personal/secret parameters, after references
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* logicsrc-web: register OpenTask and OpenWorkflow
Registry entries (process family, status 0.1) after OpenErrand, with the
family blurb updated; /opentask and /openworkflow landing pages naming
w3bs.org/tasks and w3bs.org/workflows as the reference publisher and
moshscript (moshcode run) as one runner; the worked examples served under
/examples and a logicsrc.com workflow index at
/.well-known/openworkflow.json; contract tests holding the pages' lists and
the served files against the docs and fixtures, and both specs added to
spec discovery.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Anthony 2026-10-19 (bot hits decisions): sweep every site to the latest gateway;
"allow apple/google/cloudflare/bing etc. and ai chat bots".
- Verified Googlebot/bingbot/Applebot/DuckDuckBot/Cloudflare (full published
lists, IPv4+IPv6) unmetered; the same strings from elsewhere are charged.
- ChatGPT-User/OAI-SearchBot/Perplexity (from their published addresses),
Claude-User, Claude-SearchBot, meta-externalfetcher, meta-webindexer, YouBot,
ExaSearchBot, AionBot: welcome, unmetered, never challenged.
- From 0.8: headless browsers, SEO resellers, stale desktop UA pools and
Amazonbot are charged; training crawlers still pay.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The fleet is rolling out @profullstack/footer on purpose; put it back as
the site footer (links, webring, copyright) on SiteShell pages and the
homepage, before the pit.world global footer (still last in <body>).
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Fetch https://pit.world/snippets/footer.html?site=logicsrc.com server-side
(1h revalidate, 3s timeout, renders nothing on failure) as the last thing
in <body>. Replace the @profullstack/footer block (links row + webring row
+ copyright) with one row: copyright and the needed links. The network and
ring links now come from the global footer.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>