Skip to content

Feat/owasp llm 2026 - #15

Merged
akanthed merged 5 commits into
mainfrom
feat/owasp-llm-2026
Aug 11, 2026
Merged

Feat/owasp llm 2026#15
akanthed merged 5 commits into
mainfrom
feat/owasp-llm-2026

Conversation

@akanthed

@akanthed akanthed commented Aug 11, 2026

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

inkantak and others added 5 commits August 6, 2026 12:06
…nscoped Bash grants

- Introduced SKL006 to detect load-time command execution via dynamic-context-injection in agent skills.
- Added SKL007 to identify unscoped Bash grants in allowed-tools frontmatter.
- Updated rule catalog and skill parsing logic to accommodate new rules.
- Created test fixtures for vulnerable skills demonstrating these issues.
…ersistence backdoors, and unsafe deserialization

- Introduced SKL008: Detects skills that fetch and execute remote instructions from external URLs, highlighting risks associated with dynamic payloads.
- Introduced SKL009: Identifies skills that write backdoors into trust-elevated context files, ensuring persistent changes across sessions.
- Introduced SKL010: Flags unsafe deserialization tags in YAML/JSON configurations, preventing potential code execution vulnerabilities.
- Updated FRAMEWORK_MAP and RULE_CATALOG to include new skill rules.
- Enhanced tool-poisoning checks to support new vulnerability detections.
- Added test fixtures for both safe and vulnerable skills to validate new rules.
@akanthed
akanthed merged commit d5cfea9 into main Aug 11, 2026
11 checks passed
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