Skip to content

Document --fail-on malicious in the agent skill - #136

Merged
juangaitanv merged 1 commit into
mainfrom
juan/skill-fail-on-malicious
Jul 29, 2026
Merged

Document --fail-on malicious in the agent skill#136
juangaitanv merged 1 commit into
mainfrom
juan/skill-fail-on-malicious

Conversation

@juangaitanv

Copy link
Copy Markdown
Contributor

corgea scan --fail-on malicious shipped in #125 (COR-1647) and is documented on the docs site, but skills/corgea/SKILL.md — the agent-facing contract — only ever showed --fail-on CR. An agent reading the skill had no way to know the malicious condition exists.

That matters for the supply-chain story: the scan gate is the only surface that blocks malicious dependencies in ecosystems the corgea npm / corgea pip install gate does not cover (Maven, NuGet).

Changes

  • Two examples in the scan block: --fail-on malicious and --fail-on HI,malicious.
  • A sentence spelling out the accepted conditions, matching the --fail-on help text in main.rs.
  • A CI/CD example combining severity with malicious.

Docs only — no behavior change. ./harness check passes, including the deps skill drift check.

`corgea scan --fail-on malicious` shipped in #125 (COR-1647) and is on the docs
site, but the agent-facing skill contract only showed `--fail-on CR`. Agents
reading the skill had no way to discover the malicious condition — the only
gate covering ecosystems the npm/pip install wrappers do not.

Add the examples, the accepted-condition list matching the clap help text, and
a CI/CD example combining severity with malicious.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No actionable findings. I verified the merge-base diff is limited to skills/corgea/SKILL.md; the documented malicious token, comma-separated OR behavior, at-or-above severity semantics, scan-scoped SCA classification, and CI example all match src/main.rs, src/scanners/blast.rs, and the public CLI documentation. The focused gate implementation already covers single/mixed tokens and malicious-only behavior, git diff --check is clean, and the PR's rust-tests check passes. There were no prior review threads on this PR to reconcile.

Open in Web View Automation 

Sent by Cursor Automation: pr-flow

@juangaitanv
juangaitanv merged commit 7014b9f into main Jul 29, 2026
17 checks passed
@juangaitanv
juangaitanv deleted the juan/skill-fail-on-malicious branch July 29, 2026 13:43
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