Skip to content

Feature/add scan for litllm - #18

Merged
akanthed merged 6 commits into
mainfrom
feature/add-scan-for-litllm
Aug 19, 2026
Merged

Feature/add scan for litllm#18
akanthed merged 6 commits into
mainfrom
feature/add-scan-for-litllm

Conversation

@akanthed

Copy link
Copy Markdown
Owner

What and why

Detection logic changes (delete this section if not applicable)

  • npm run regression was run and every proven/likely finding it printed was reviewed against its source line
  • A new/updated rule has fixtures in both test-fixtures/vulnerable/ and test-fixtures/safe/
  • src/scanner/catalog.ts and src/scanner/explainer.ts both have an entry for any new rule ID
  • test/corpus.test.js's EXPECTED_VULNERABLE was updated for any new rule

CLI changes (delete this section if not applicable)

  • test/cli.test.js has a new or updated case exercising the built binary (src/cli.ts changes aren't covered by any other test file)

Checklist

  • npm run build && npm test passes
  • Before/after behavior is described above, with a concrete example if the change affects scan output

akanthed and others added 6 commits August 16, 2026 21:57
First of two planned LiteLLM-related features for the next release —
static config scanning now, runtime guardrail hook designed separately later.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…TP endpoints, and guardrails

- Implemented scanning for LiteLLM proxy config files to detect hardcoded secrets (LLC001), plaintext HTTP endpoints (LLC002), and missing guardrails (LLC003).
- Added new rules to the rule catalog and updated the threat model to include LiteLLM configurations.
- Created test fixtures for both safe and vulnerable LiteLLM configurations.
- Added unit tests to validate the functionality of the LiteLLM config scanner.
- Updated package dependencies to include js-yaml for YAML parsing.
- Enhanced sitemap with new documentation links for LiteLLM scanning.
Adds litellm|LLC002|litellm/proxy/_super_secret_config.yaml (reviewed,
real plaintext HTTP endpoint). Drops 3 llama_index VEC001 fingerprints
that no longer fire after upstream changes to those files.
@akanthed
akanthed merged commit fa2a6f0 into main Aug 19, 2026
11 checks passed
@akanthed
akanthed deleted the feature/add-scan-for-litllm branch August 19, 2026 04:24
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.

1 participant