Production CLI + rules engine for web-app security gates — by Agent Breach.
Complements Agent Breach DAST. No account required. Not a penetration test or SOC 2 attestation.
npm i -D @agentbreach/absec
npx absec init
npx absec check --fail-on mediumGate OpenAPI auth gaps:
npx absec openapi ./openapi.json --fail-on highCheck local app headers (localhost only by default):
npx absec headers http://127.0.0.1:3000| Package | Role |
|---|---|
@agentbreach/absec |
CLI (absec) |
@agentbreach/absec-core |
Shared analyzers + SARIF (used by absec-mcp and absec-assert) |
absec init— config + GitHub Actions workflowabsec check [paths]— static rules (secrets, JWT none, cookie smells, authz hints)absec openapi <file>— securitySchemes / write-path authabsec headers <url>— CSP/HSTS/XFO (use--allow-remoteonly on systems you own)absec baseline create|verify— fail only on new findingsabsec hook install— git pre-commitabsec sarif/--format sarif— Code Scanning
{
"severityThreshold": "medium",
"disabledRules": [],
"ignorePaths": ["**/node_modules/**", "**/dist/**"],
"baselinePath": ".absec-baseline.json"
}Inline suppressions: # absec-ignore: ABSEC-JWT-001
- No default telemetry (
ABSEC_TELEMETRY=1to opt in — reserved, currently unused) - Non-localhost HTTP blocked without
--allow-remote - See SECURITY.md
Apache-2.0 © Agent Breach