Skip to content

ci: add ThreatCrush security scan - #941

Merged
ralyodio merged 3 commits into
masterfrom
chore/threatcrush-scan
Aug 3, 2026
Merged

ci: add ThreatCrush security scan#941
ralyodio merged 3 commits into
masterfrom
chore/threatcrush-scan

Conversation

@ralyodio

@ralyodio ralyodio commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Installs threatcrush-scan@1.1.0 from the sh1pt Actions Store.

Scans pull requests for hardcoded credentials, injection, SSRF, unsafe deserialisation, XXE and dependency tampering. Findings go to the Security tab as SARIF and to a PR comment; snippets are redacted, so no credential material reaches a CI log.

Report-only. It will not fail a pull request. Once the existing findings are triaged, set the pack's failOn input to critical,high.

Coverage against profullstack/malware-test-prs: 90.32% true-positive rate at a 0.0% false-positive rate against its control group of correct implementations.

Generated by the fleet renderer — the managed header hash matches the pack source.

🤖 Generated with Claude Code

Installs threatcrush-scan@1.1.0 from the sh1pt Actions Store.
Scans pull requests for hardcoded credentials, injection, SSRF, unsafe
deserialisation and dependency tampering; uploads SARIF to the Security
tab.

Report-only — it will not fail a pull request. Set the pack's failOn
input to critical,high once the existing findings are triaged.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

vu1nz Security Review

0 finding(s) in PR #?

No security issues found.

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

ThreatCrush Security Scan

75 finding(s)

HIGH/CRITICAL: 75

Severity Rule Location
HIGH threatcrush-generic-secret packages/affiliates/skimlinks/src/index.test.ts:7
HIGH threatcrush-generic-secret packages/affiliates/skimlinks/src/index.test.ts:38
HIGH threatcrush-generic-api-key packages/affiliates/sovrn/src/index.ts:28
HIGH threatcrush-generic-secret packages/agent-providers/opencode/src/__tests__/opencode.test.ts:99
HIGH threatcrush-generic-api-key packages/ai/ai21/src/index.test.ts:101
HIGH threatcrush-generic-secret packages/ai/amazon-bedrock/src/index.ts:9
HIGH threatcrush-generic-secret packages/ai/amazon-bedrock/src/index.ts:10
HIGH threatcrush-generic-secret packages/ai/amazon-bedrock/src/index.ts:11
HIGH threatcrush-generic-api-key packages/ai/arcee/src/index.test.ts:101
HIGH threatcrush-generic-api-key packages/ai/atlascloud/src/index.test.ts:101
HIGH threatcrush-generic-api-key packages/ai/baseten/src/index.test.ts:101
HIGH threatcrush-generic-api-key packages/ai/cerebras/src/index.test.ts:101
HIGH threatcrush-generic-api-key packages/ai/chutes/src/index.test.ts:101
HIGH threatcrush-generic-api-key packages/ai/deepseek/src/index.test.ts:101
HIGH threatcrush-generic-api-key packages/ai/groq/src/index.test.ts:101
HIGH threatcrush-generic-api-key packages/ai/inception/src/index.test.ts:85
HIGH threatcrush-generic-api-key packages/ai/mistral/src/index.test.ts:99
HIGH threatcrush-generic-api-key packages/ai/morph/src/index.test.ts:85
HIGH threatcrush-generic-api-key packages/ai/phala/src/index.test.ts:99
HIGH threatcrush-generic-api-key packages/ai/reka/src/index.test.ts:99
HIGH threatcrush-generic-api-key packages/ai/stepfun/src/index.test.ts:85
HIGH threatcrush-generic-api-key packages/ai/xai/src/index.test.ts:99
HIGH threatcrush-generic-secret packages/bots/irc/src/index.test.ts:47
HIGH threatcrush-generic-secret packages/bots/irc/src/index.test.ts:48
HIGH threatcrush-generic-secret packages/bots/wechat/src/index.test.ts:8
HIGH threatcrush-generic-secret packages/bots/wechat/src/index.test.ts:44
HIGH threatcrush-generic-secret packages/bots/wechat/src/index.test.ts:184
HIGH threatcrush-generic-secret packages/bots/wechat/src/index.test.ts:203
HIGH threatcrush-generic-secret packages/bridges/matrix/src/index.test.ts:71
HIGH threatcrush-generic-secret packages/bridges/matrix/src/index.ts:58
HIGH threatcrush-generic-secret packages/bridges/matrix/src/index.ts:59
HIGH threatcrush-generic-secret packages/cli/src/commands/secrets.ts:176
HIGH threatcrush-generic-secret packages/cli/src/social-follow.test.ts:122
HIGH threatcrush-generic-secret packages/cloud/cloudflare/src/index.test.ts:202
HIGH threatcrush-generic-secret packages/cloud/cloudflare/src/index.test.ts:217
HIGH threatcrush-generic-secret packages/cloud/linode/src/index.ts:15
HIGH threatcrush-generic-secret packages/dns/azure/src/index.test.ts:12
HIGH threatcrush-generic-secret packages/docs/gslides/src/index.test.ts:127
HIGH threatcrush-generic-secret packages/observability/sentry/src/index.ts:15
HIGH threatcrush-generic-api-key packages/outreach/listennotes/src/index.test.ts:7
HIGH threatcrush-generic-secret packages/outreach/producthunt/src/index.ts:103
HIGH threatcrush-generic-secret packages/payments/stripe/src/index.test.ts:76
HIGH threatcrush-generic-secret packages/payments/stripe/src/index.test.ts:102
HIGH threatcrush-generic-secret packages/payments/stripe/src/index.test.ts:111
HIGH threatcrush-generic-secret packages/payments/stripe/src/index.test.ts:127
HIGH threatcrush-generic-secret packages/payments/stripe/src/index.test.ts:143
HIGH threatcrush-generic-secret packages/promo/posthog/src/index.ts:23
HIGH threatcrush-database-url packages/secrets/env-updater/src/index.test.ts:88
HIGH threatcrush-generic-secret packages/secrets/env-updater/src/index.test.ts:89
HIGH threatcrush-database-url packages/secrets/env-updater/src/index.test.ts:98

…and 25 more. Full results in the Security tab.

Snippets are redacted; ThreatCrush never prints matched credential material.

ralyodio and others added 2 commits August 3, 2026 11:02
Picks up the threatcrush-scan pack fix from #940: the converter now installs
to .github/scripts/.
Regenerated from threatcrush-scan@1.1.0 as merged in #940, which moved the
legacy-output converter to .github/scripts/ — the only destination outside
.github/workflows/ the action-pack allowlist accepts.

Converter content is byte-identical; the workflow changes only in the path
it invokes and the managed header hash, which matches the pack source.
Rendered with default inputs, so the install stays report-only.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@ralyodio
ralyodio marked this pull request as ready for review August 3, 2026 11:22
@ralyodio
ralyodio merged commit e97b8eb into master Aug 3, 2026
8 checks passed
@ralyodio
ralyodio deleted the chore/threatcrush-scan branch August 3, 2026 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants