Skip to content

Install Bandit with the base package - #487

Merged
rng1995 merged 3 commits into
mainfrom
chrisk/core-tier1-scanners
Nov 13, 2026
Merged

rng1995 merged 3 commits into
mainfrom
chrisk/core-tier1-scanners

Conversation

@chrisknvidia

@chrisknvidia chrisknvidia commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

pip install skillevaluator (or uv tool install skillevaluator) now installs everything skillevaluator validate needs, so all default Tier 1 checks run without adding [security].

  • Bandit moves from the security extra into the core dependencies. Before this, a plain install ended validate at 10/11 checks, INCOMPLETE, exit 1 ("bandit not installed").
  • pip-audit stays in the security extra. Only the opt-in dependency audit (--check dependency, dependency-audit) uses it, and it adds about 20 MB of dependencies.
  • SkillSpector and Gitleaks keep downloading themselves on first use (Set up Tier 1 scanners on first use and add --skip #318). Semgrep stays optional.
  • The Bandit missing-scanner hint now says to reinstall SkillEvaluator, without an extra.
  • The docs no longer tell users to install the security extra for the default Tier 1 scanners.

Verification

  • I am familiar with the Contributing Guidelines
  • Added or updated focused tests
  • Updated documentation for user-visible changes
  • Ran make lint (ruff check src tests)
  • Ran make test: no new failures compared with main in the same environment
  • Ran make build
  • Did not add credentials, private datasets, or proprietary benchmark content

Clean-environment check: built the wheel, installed it with no extras into a fresh Python 3.13 venv, and ran skillevaluator validate on a sample skill that has a requirements.txt, with an empty runtime directory. SkillSpector 2.13.3 and Gitleaks 8.30.0 installed themselves, Bandit 1.9.4 came with the package, and the result was 11/11 passed, exit 0. The install grows from 33 MB to 34 MB.

Release Impact

  • No user-visible release note needed
  • Updated CHANGELOG.md

Users get this through pip install skillevaluator once it ships in a PyPI release.

Plain pip install skillevaluator now runs every required Tier 1 scanner. The security extra stays as an empty alias so existing installs keep resolving.

Signed-off-by: Christopher Kevin <[email protected]>
@chrisknvidia chrisknvidia changed the title Install Bandit and pip-audit with the base package Install Bandit with the base package Nov 13, 2026
Only the opt-in dependency audit uses pip-audit, so only Bandit needs to ship with the base package for validate to pass.

Signed-off-by: Christopher Kevin <[email protected]>

@rng1995 rng1995 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Reviewed 916a46ea08ca, checking core vs security-extra requirements, lockfile metadata, missing-scanner guidance, doctor output, and installation docs. The selected packaging assertion/tool-runner suite passed (48 tests), plus 4 Tier 1 doctor scanner tests. No new actionable finding. I did not repeat the clean wheel-install experiment; a broader local packaging check encountered the inherited Harbor 0.24/0.25 environment mismatch.

…nners

Signed-off-by: Christopher Kevin <[email protected]>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
@rng1995
rng1995 enabled auto-merge (squash) November 13, 2026 17:35
@rng1995
rng1995 merged commit 2bd0e79 into main Nov 13, 2026
27 checks passed
@rng1995
rng1995 deleted the chrisk/core-tier1-scanners branch November 13, 2026 17:37
rng1995 added a commit that referenced this pull request Nov 13, 2026
Resolve the CHANGELOG conflict with #487 by putting its Bandit entry at
the top of the one Unreleased > Changed list, above the moved #369 entry.
#488 and #367 keep the places main gives them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
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