Skip to content

Add 42Crunch API security testing plugin#1658

Open
heshaam-42c wants to merge 1 commit intogithub:stagedfrom
42Crunch-AI:add-42crunch-api-security-testing
Open

Add 42Crunch API security testing plugin#1658
heshaam-42c wants to merge 1 commit intogithub:stagedfrom
42Crunch-AI:add-42crunch-api-security-testing

Conversation

@heshaam-42c
Copy link
Copy Markdown

Pull Request Checklist

  • I have read and followed the CONTRIBUTING.md guidelines.
  • I have read and followed the Guidance for submissions involving paid services.
  • My contribution adds a new instruction, prompt, agent, skill, or workflow file in the correct directory.
  • The file follows the required naming convention.
  • The content is clearly structured and follows the example format.
  • I have tested my instructions, prompt, agent, skill, or workflow with GitHub Copilot.
  • I have run npm start and verified that README.md is up to date.
  • I am targeting the staged branch for this pull request.

Description

Adds the 42Crunch API Security Testing plugin for GitHub Copilot.

Includes plugin metadata, README, and skills for API security testing workflows.

Validation/build run locally:

  • npm run plugin:validate
  • npm start

Type of Contribution

  • New instruction file.
  • New prompt file.
  • New agent file.
  • New plugin.
  • New skill file.
  • New agentic workflow.
  • Update to existing instruction, prompt, agent, plugin, skill, or workflow.
  • Other (please specify):

Additional Notes


By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.

Copilot AI review requested due to automatic review settings May 9, 2026 03:00
@heshaam-42c heshaam-42c requested a review from aaronpowell as a code owner May 9, 2026 03:00
@github-actions github-actions Bot added new-submission PR adds at least one new contribution plugin PR touches plugins skills PR touches skills skill-check-warning Skill validator reported warnings labels May 9, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 9, 2026

🔍 Skill Validator Results

⚠️ Warnings or advisories found

Scope Checked
Skills 5
Agents 1
Total 6
Severity Count
--- ---:
❌ Errors 0
⚠️ Warnings 2
ℹ️ Advisories 0

Summary

Level Finding
ℹ️ Found 5 skill(s)
ℹ️ [42crunch-api-security-testing] 📊 42crunch-api-security-testing: 2,558 BPE tokens [chars/4: 2,525] (standard ~), 4 sections, 4 code blocks
ℹ️ [42crunch-api-security-testing] ⚠ Skill is 2,558 BPE tokens (chars/4 estimate: 2,525) — approaching "comprehensive" range where gains diminish.
ℹ️ [42crunch-audit] 📊 42crunch-audit: 1,036 BPE tokens [chars/4: 1,025] (detailed ✓), 3 sections, 1 code blocks
ℹ️ [42crunch-code-to-oas] 📊 42crunch-code-to-oas: 4,508 BPE tokens [chars/4: 4,284] (standard ~), 31 sections, 5 code blocks
ℹ️ [42crunch-code-to-oas] ⚠ Skill is 4,508 BPE tokens (chars/4 estimate: 4,284) — approaching "comprehensive" range where gains diminish.
ℹ️ [42crunch-scan] 📊 42crunch-scan: 1,964 BPE tokens [chars/4: 1,947] (detailed ✓), 4 sections, 4 code blocks
ℹ️ [42crunch-setup] 📊 42crunch-setup: 1,633 BPE tokens [chars/4: 1,591] (detailed ✓), 15 sections, 4 code blocks
ℹ️ ✅ All checks passed (5 skill(s))
Full validator output ```text Found 5 skill(s) [42crunch-api-security-testing] 📊 42crunch-api-security-testing: 2,558 BPE tokens [chars/4: 2,525] (standard ~), 4 sections, 4 code blocks [42crunch-api-security-testing] ⚠ Skill is 2,558 BPE tokens (chars/4 estimate: 2,525) — approaching "comprehensive" range where gains diminish. [42crunch-audit] 📊 42crunch-audit: 1,036 BPE tokens [chars/4: 1,025] (detailed ✓), 3 sections, 1 code blocks [42crunch-code-to-oas] 📊 42crunch-code-to-oas: 4,508 BPE tokens [chars/4: 4,284] (standard ~), 31 sections, 5 code blocks [42crunch-code-to-oas] ⚠ Skill is 4,508 BPE tokens (chars/4 estimate: 4,284) — approaching "comprehensive" range where gains diminish. [42crunch-scan] 📊 42crunch-scan: 1,964 BPE tokens [chars/4: 1,947] (detailed ✓), 4 sections, 4 code blocks [42crunch-setup] 📊 42crunch-setup: 1,633 BPE tokens [chars/4: 1,591] (detailed ✓), 15 sections, 4 code blocks ✅ All checks passed (5 skill(s)) ```

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new 42Crunch API security testing plugin to the Awesome Copilot marketplace, along with a set of 42Crunch-focused skills (setup, audit, scan, full pipeline, and code→OAS generation) and supporting reference docs.

Changes:

  • Introduces five new 42Crunch skills covering environment setup, static audit, live scan, end-to-end pipeline orchestration, and OpenAPI generation from source.
  • Adds a new 42crunch-api-security-testing plugin that bundles the skills and documents usage.
  • Updates plugin/skill indexes and the marketplace registry to surface the new plugin and skills.

Reviewed changes

Copilot reviewed 33 out of 33 changed files in this pull request and generated 31 comments.

Show a summary per file
File Description
skills/42crunch-setup/SKILL.md New setup skill for installing 42c-ast and configuring credentials.
skills/42crunch-setup/references/binary-setup.md Reference procedure for installing/updating the 42c-ast binary.
skills/42crunch-setup/references/credential-setup.md Reference procedure for storing platform/freemium credentials.
skills/42crunch-setup/references/pre-flight.md Shared pre-flight checks (binary, credentials, OAS resolution, tags).
skills/42crunch-setup/references/tag-detection.md Reference flow for resolving/assigning platform tags for an OAS.
skills/42crunch-audit/SKILL.md New audit skill to run 42Crunch audit + SQG-driven fix loop.
skills/42crunch-audit/references/audit-rule-translations.md Rule-id → plain English translation table for audit findings.
skills/42crunch-audit/references/audit-workflow.md Detailed audit execution, parsing, consent, and fix workflow.
skills/42crunch-audit/references/binary-setup.md Audit-local copy of the binary install/update reference.
skills/42crunch-audit/references/credential-setup.md Audit-local copy of the credentials setup reference.
skills/42crunch-audit/references/pre-flight.md Audit-local copy of the shared pre-flight checks.
skills/42crunch-audit/references/tag-detection.md Audit-local copy of the platform tag resolution flow.
skills/42crunch-scan/SKILL.md New scan skill to configure and run live conformance/authz testing.
skills/42crunch-scan/references/binary-setup.md Scan-local copy of the binary install/update reference.
skills/42crunch-scan/references/credential-setup.md Scan-local copy of the credentials setup reference.
skills/42crunch-scan/references/pre-flight.md Scan-local copy of the shared pre-flight checks.
skills/42crunch-scan/references/scan-workflow.md Detailed scan config generation, auth setup, scenarios, and runs.
skills/42crunch-scan/references/tag-detection.md Scan-local copy of the platform tag resolution flow.
skills/42crunch-code-to-oas/SKILL.md New skill to generate an OpenAPI 3.0 spec from an API codebase.
skills/42crunch-api-security-testing/SKILL.md New orchestration skill for audit → scan pipeline with separate consent gates.
skills/42crunch-api-security-testing/references/audit-rule-translations.md Pipeline-local copy of audit rule translation table.
skills/42crunch-api-security-testing/references/audit-workflow.md Pipeline-local copy of the audit workflow reference.
skills/42crunch-api-security-testing/references/binary-setup.md Pipeline-local copy of the binary install/update reference.
skills/42crunch-api-security-testing/references/credential-setup.md Pipeline-local copy of the credentials setup reference.
skills/42crunch-api-security-testing/references/pre-flight.md Pipeline-local copy of the shared pre-flight checks.
skills/42crunch-api-security-testing/references/tag-detection.md Pipeline-local copy of the platform tag resolution flow.
plugins/42crunch-api-security-testing/.github/plugin/plugin.json Plugin manifest declaring the included skills and metadata.
plugins/42crunch-api-security-testing/README.md Plugin documentation (commands, setup, usage, configuration).
plugins/42crunch-api-security-testing/LICENSE MIT license for the plugin content.
docs/README.skills.md Adds the new 42Crunch skills to the skills index table.
docs/README.plugins.md Adds the new 42Crunch plugin to the plugins index table.
.github/plugin/marketplace.json Registers the new plugin in the marketplace listing.

Comment on lines +3 to +10
description: >
Set up the 42Crunch environment so that audit and scan skills can run
without friction. Use this skill whenever the user wants to configure
42Crunch for the first time, install or update the 42c-ast binary, configure
an API key, or troubleshoot missing credentials or binary errors. Triggers
on phrases like "setup 42crunch", "configure 42crunch", "install 42c-ast",
"update 42c-ast", "set api key", "42crunch not working", "binary not found",
or any request to prepare the environment before running an audit or scan.
Comment on lines +3 to +10
description: >
Run a 42Crunch API Security Audit and fix SQG-blocking issues in an OpenAPI
Specification file. Use this skill whenever the user wants to audit an OAS
file for security issues, fix SQG-blocking issues, score an API, apply data
dictionary enrichment, or remediate audit findings. Triggers on phrases like
"run audit", "audit only", "fix audit issues", "SQG audit", "42crunch audit",
"audit score", or any request focused on static OAS analysis and remediation
without running a live scan.
Comment on lines +3 to +11
description: >
Run a 42Crunch live conformance and authorization scan against an API and fix
SQG-blocking scan findings. Use this skill whenever the user wants to run a
conformance test, authorization scan, BOLA test, BFLA test, generate or
configure a scan config, or fix scan-reported issues. Triggers on phrases
like "run scan", "scan only", "conformance test", "BOLA test", "BFLA test",
"42crunch scan", "scan config", or any request focused on live API testing
without running a static audit. Use 42crunch-api-security-testing when the user wants both
audit and scan together.
Comment on lines +3 to +10
description: >
Analyze an entire API codebase and generate an accurate OpenAPI Specification
(OAS 3.0) file from the source code. Use this skill whenever the user wants
to generate, create, or derive an OpenAPI spec from code, reverse-engineer an
API definition, or document an existing API. Triggers on phrases like "generate
OAS from code", "create OpenAPI spec", "document my API", "reverse-engineer
spec", "write openapi.json from my codebase", or any request to produce an
OAS file by reading source files rather than an existing spec.
Comment on lines +3 to +10
description: >
Run both a 42Crunch Audit and a live Scan together in a single pipeline.
Use this skill when the user wants to run audit and scan together, complete
the full security pipeline, or when the request is ambiguous about which
phase to run. Triggers on phrases like "run audit and scan", "full 42crunch
pipeline", "full security check", "audit then scan", "42crunch", or "SQG".
Do NOT use this skill if the user explicitly requests only an audit (use
42crunch-audit) or only a scan (use 42crunch-scan).
Comment on lines +112 to +116
Write the file. Do not quote values. Do not add spaces around `=`.

**Platform mode** — write to `~/.42crunch/conf/env`:

```
Comment on lines +23 to +27
Read `~/.42crunch/conf/env` (macOS/Linux) or `%APPDATA%\42Crunch\conf\env` (Windows):

```bash
grep -E "^(FREEMIUM_TOKEN|API_KEY)=" "$HOME/.42crunch/conf/env" 2>/dev/null
```
Comment on lines +23 to +27
Read `~/.42crunch/conf/env` (macOS/Linux) or `%APPDATA%\42Crunch\conf\env` (Windows):

```bash
grep -E "^(FREEMIUM_TOKEN|API_KEY)=" "$HOME/.42crunch/conf/env" 2>/dev/null
```
Comment on lines +23 to +27
Read `~/.42crunch/conf/env` (macOS/Linux) or `%APPDATA%\42Crunch\conf\env` (Windows):

```bash
grep -E "^(FREEMIUM_TOKEN|API_KEY)=" "$HOME/.42crunch/conf/env" 2>/dev/null
```
Comment on lines +23 to +27
Read `~/.42crunch/conf/env` (macOS/Linux) or `%APPDATA%\42Crunch\conf\env` (Windows):

```bash
grep -E "^(FREEMIUM_TOKEN|API_KEY)=" "$HOME/.42crunch/conf/env" 2>/dev/null
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-submission PR adds at least one new contribution plugin PR touches plugins skill-check-warning Skill validator reported warnings skills PR touches skills

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants