iulianvostrut/ContextHound Scan

Static analysis for prompt injection and LLM security risks, with SARIF upload to GitHub Code Scanning

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
versionExact context-hound npm version to run. Defaults to the version released with this Action.no2.2.2
dirDirectory to scan, relative to the workspace.no.
configPath to a .contexthoundrc.json config file.no""
thresholdFail when the repo risk score is at or above this value (0-100). Empty uses the config file or the default of 60.no""
fail-onFail on any finding of this severity or above: critical, high or medium.no""
min-confidenceOnly report rules at or above this confidence: low, medium or high.no""
diffScan only files changed vs. this git ref (for example origin/main). Needs actions/checkout with fetch-depth: 0. Empty scans everything.no""
presetComma-separated rule presets, for example owasp-llm-top10 or mcp,agentic. Empty runs all rules.no""
sarif-outPath to write the SARIF report to.noresults.sarif
upload-sarifUpload the SARIF report to GitHub Code Scanning (needs security-events: write).notrue
node-versionSet up this Node.js version first. Empty uses the Node.js already on the runner (20 or later required).no""
commentOn pull requests, post a summary comment and update it on every run (needs pull-requests: write). Fork pull requests get a warning instead.nofalse
github-tokenToken used to post the pull request comment.no${{ github.token }}
namedescription
scoreRepo risk score (0-100).
findingsNumber of findings reported.
passedtrue when the scan passed its gates, otherwise false.
sarif-filePath of the SARIF report.