affaan-m/AgentShield Security Scan

Scan Claude Code configurations for security issues

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit May 20, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: affaan-m/agentshield@9bbc007cf5afb562c324bbad4ce6c544420f49f6 # v1.4.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
pathPath to scan for Claude Code configurationsno.
min-severityMinimum severity to report: critical, high, medium, low, infonomedium
fail-on-findingsFail the action if findings are detected at or above min-severitynotrue
formatOutput format: terminal, json, markdown, sarifnoterminal
sarif-outputPath to write SARIF results when format is sarifnoagentshield-results.sarif
baselinePath to an AgentShield baseline JSON file for drift comparisonno""
save-baselinePath to write the current scan as a new AgentShield baseline JSON fileno""
policyPath to an AgentShield organization policy JSON fileno""
fail-on-policyFail the action when the organization policy is non-compliantnotrue
supply-chainVerify MCP npm/git package provenance and known malicious package risknotrue
supply-chain-onlineQuery npm registry metadata during supply-chain verificationnofalse
fail-on-supply-chainFail the action when supply-chain verification finds critical or high package risks; defaults to fail-on-findings when unsetno""
evidence-packPath to write an AgentShield evidence pack for audit and security-review handoffsno""
verify-evidence-packVerify evidence-pack artifact hashes and bundle digest after writingnotrue
policy-promotion-manifestPath to an AgentShield policy export manifest to verify and promote or dry-runno""
policy-promotion-packPolicy pack id to select when the promotion manifest contains multiple packsno""
policy-promotion-outputPath to write the promoted active policy when policy-promotion-dry-run is falseno.agentshield/policy.json
policy-promotion-dry-runVerify promotion review evidence without writing the active policynotrue
fail-on-policy-promotionFail the action when policy promotion review items still require actionnofalse
namedescription
scoreNumeric security score (0-100)
gradeLetter grade (A-F)
total-findingsTotal number of findings
critical-countNumber of critical findings
sarif-pathPath to the generated SARIF file when format is sarif
baseline-pathPath to the generated baseline file when save-baseline is set
baseline-statusBaseline drift status: not-run, missing, passed, or failed
new-findingsNumber of findings introduced since the baseline
resolved-findingsNumber of baseline findings resolved by the current scan
unchanged-findingsNumber of findings unchanged since the baseline
score-deltaNumeric score delta relative to the baseline
policy-statusOrganization policy status: not-run, compliant, non-compliant, or error
policy-violationsNumber of unsuppressed organization policy violations
supply-chain-statusSupply-chain status: not-run, clean, risky, or error
supply-chain-risky-packagesNumber of MCP packages with supply-chain risks
supply-chain-critical-countNumber of MCP packages with critical supply-chain risk
supply-chain-high-countNumber of MCP packages with high supply-chain risk
package-manager-hardening-statusPackage-manager hardening status: hardened or needs-review
package-manager-hardening-findingsNumber of package-manager hardening findings
package-manager-hardening-critical-countNumber of critical package-manager hardening findings
package-manager-hardening-high-countNumber of high package-manager hardening findings
package-manager-hardening-registry-credentialsNumber of package-manager registry credential findings
package-manager-hardening-lifecycle-scriptsNumber of package-manager lifecycle-script findings
package-manager-hardening-release-age-gatesNumber of package-manager release-age gate findings
evidence-pack-pathPath to the generated evidence-pack directory
evidence-pack-statusEvidence-pack verification status: not-run, passed, failed, or error
evidence-pack-digestVerified evidence-pack bundle digest
policy-promotion-statusPolicy promotion status: not-run, verified, needs-review, or error
policy-promotion-packPolicy pack selected during promotion
policy-promotion-review-itemsNumber of policy promotion review items
policy-promotion-action-required-countNumber of policy promotion review items that still require action
policy-promotion-digestVerified digest for the promoted policy pack