hay-core

hay-chat/hay-core Checked 3 days ago

Self-hosted AI customer support.

D40/100
Maintenance
87
Security
0
Works
40
Community
29

Weights: maintenance 30, security 30, works 25, community 15. Formula 2026.10-1, computed 3 days ago by code; an AI never sets scores.

Score capped: high-severity findings pending review (max 60)
  • last activity 11 days ago
  • 12 open pull requests
  • 15 critical/high dependency vulnerabilities
  • 36 high-severity static findings
  • smoke test: skipped
  • 7 stars

Smoke test

Result
Not smoke-tested no published package: source-only repository

Security scan

Scanned the git repository https://github.com/hay-chat/hay-core, 1621 files. Tools: builtin, osv-scanner.

Capabilities found in the code

  • Controls a web browser
  • Reads environment variables
  • Writes or deletes files
  • Makes network requests
  • Runs shell commands

Dependency vulnerabilities: 15 critical, 0 high, 38 medium.

SeverityFindingWhere
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
function readCouponPolicy(prefix, env = process.env) {
packages/plugin-sdk/coupon-policy/index.cjs
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
function readReturnInstructions(env = process.env) {
packages/plugin-sdk/return-instructions/index.cjs
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
ls.length > 0 && !manifest.capabilities.includes("credentials")) {
packages/plugin-sdk/runner/bootstrap.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
// Read from process.env
packages/plugin-sdk/sdk/config-runtime.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
constructor(private readonly options: CredentialStoreOptions) {
packages/plugin-sdk/sdk/credential-store.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
if (!allowedEnvVars.includes(descriptor.env)) {
packages/plugin-sdk/sdk/register.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
* - Read auth credentials (`auth.get()`)
packages/plugin-sdk/types/contexts.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
/** Read auth state and persist refreshed credentials. */
packages/plugin-sdk/types/cron.ts
highhidden-unicode: invisible/bidi Unicode characters (zero-width) can hide instructions or codepackages/plugin-sdk/types/cron.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
* - Read auth credentials (auth.get)
packages/plugin-sdk/types/hooks.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
* Auth runtime API for reading auth credentials.
packages/plugin-sdk/types/mcp.ts
highhidden-unicode: invisible/bidi Unicode characters (zero-width) can hide instructions or codepackages/plugin-sdk/types/register.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
* Core reads the secret from `process.env[secretEnv]` and verifies the EXACT
packages/plugin-sdk/types/webhook-routing.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
readCredentials,
plugins/core/correios/src/credentials.test.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
export function readCredentials(config: ConfigReader): CorreiosCredenti
plugins/core/correios/src/credentials.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
readCredentials,
plugins/core/correios/src/index.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
if (error.message.includes("credentials") || error.message.includes("API reques
plugins/core/klaviyo/src/index.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
message.includes("credentials") ||
plugins/core/magento/src/index.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
ultAuthMode, getAuthMode, oauthStoreId, readCredentials } from "./connection.js";
plugins/core/nuvemshop/src/connection.test.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
export function readCredentials(config: ConfigReader): NuvemshopCredent
plugins/core/nuvemshop/src/connection.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
readCredentials,
plugins/core/nuvemshop/src/index.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
function readSelfHostedCredentials(ctx: {
plugins/core/shopify/src/index.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
if (error.message.includes("credentials") || error.message.includes("API reques
plugins/core/stripe/src/index.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
message.includes("credentials") ||
plugins/core/twenty/src/index.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
message.includes("credentials") ||
plugins/core/woocommerce/src/index.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
import { createTicket, readTicketForm, type ZendeskCredentials } from "./tickets.js";
plugins/core/zendesk/src/index.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
sameSite: (["strict", "lax", "none"].includes(process.env.AUTH_COOKIE_SAME_SITE ?? "")
server/config/env.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
ker, so only names in this set are ever read from `process.env`.
server/lib/config-resolver.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
Credentials.length > 0 && !capabilities.includes("credentials")) {
server/lib/plugin-archive.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
// id run MCP tools, send channel messages or swap the worker's credentials.
server/routes/v1/plugins/proxy.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
private readonly dimensions = parseInt(process.env.EMBEDDING_DIM || "1536");
server/services/insights/insight-embedding.service.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
store or account id) so the plugin can read them from its credentials.
server/services/oauth.service.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
"Not included: plugin credentials, API keys and passwords.",
server/services/organization-export.service.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
// Document import reads the plugin's schema; no credentials are returned.
server/types/scopes.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
/** Reads `tools/demo-account/.env` (gitignored) into process.env; real en
tools/demo-account/scripts/lib/data.ts
highprompt-injection-text: contains instructions aimed at the AI agent (tool poisoning)
* Dry-run never sends anything, so it needs no credentials (callers skip lookups themselves).
tools/demo-account/scripts/shopify/client.ts

Static findings are leads for human review, not proof of malice. Only known-malicious advisories (OSV MAL-*) and registry takedowns block a server automatically.

Repository health

Repository
hay-chat/hay-core
Last commit
14 days ago
Commits (90 days)
1271
Pull requests
12 open, 175 merged; oldest open since Nov 16, 2026
Issues
0 open, 11 closed
Contributors
2

Check history

  1. 3 days ago Score & page continue
  2. 3 days ago Description continue
  3. 3 days ago Smoke test continue smoke: skipped
  4. 3 days ago Security scan continue 36 high-severity findings sent to review
  5. 11 days ago Repo health continue