Using Argus by language
Two packages, one scanner. Pick the Python package for full coverage and the MCP server, or run the npm package with no Python at all.
PyPI
argus-scan
Open-source security scanner with many eyes. SAST, DAST, SCA, secrets, IaC, Terraform, Ansible via CLI and MCP.
- Required dependencies
- anyio · argus-languages · mcp · pyyaml
- Optional dependencies
- ansible-lint · bandit · checkov · detect-secrets · flake8 · flake8-bandit · pip-audit · safety · semgrep
- Best for
- Every language, malware and supply-chain checks, IaC, containers, the MCP server
npm
argus-codescan
No Python needed. Node / React / Next.js projects, plus Java/Kotlin, Python, PHP and Go source rules.
- Repository
- github.com/argus-code-scanning/argus-codescan-mcp
- Best for
- Node / React / Next.js projects, plus Java/Kotlin, Python, PHP, Go source rules
| Version | Downloads (7 days) | Published |
|---|---|---|
0.12.0latest | new | 17 Nov 2026 |
0.11.1 | 165 | 15 Nov 2026 |
0.11.0 | 160 | 15 Nov 2026 |
Registry figures as of 24 Nov 2026.
Quick version
One line per stack. Details for each follow below.
| Stack | Command | Notes |
|---|---|---|
| Java / Kotlin | pip install argus-scan && argus scan all . | Code + Spring + JSP + Maven/Gradle CVEs and malicious packages. Source rules also via npx argus-codescan scan sast . |
| Python | pip install argus-scan && argus scan all . | Dependency CVEs built in (OSV). Add pip install semgrep bandit for extra rules |
| Node / npm | npx argus-codescan scan all . | Plus argus scan malware . and argus scan sca . (Python package) for install-script malware and known-malicious packages |
| PHP / Laravel | pip install argus-scan && argus scan all . | Dependency CVEs built in (OSV, composer.lock) |
| Go | argus scan all . | Dependency CVEs built in (OSV), including the Go toolchain |
| Ruby, C#, Rust, Flutter | argus scan all . | Built-in rules and dependency CVEs (OSV) |
| Terraform / Ansible / Docker / K8s | argus scan iac . | Built-in rules plus Checkov / Trivy if installed |
| CI gate | argus scan all . --fail-on high --format sarif -o argus.sarif |
Commands that work everywhere
argus scan all . # everything that applies to the project
argus scan all . --fail-on high # exit 1 on high/critical findings (CI)
argus scan all . --format sarif -o argus.sarif # GitHub code scanning
argus review . # only files changed vs HEAD (add --staged before a commit)Built in means it works right after install. Optional means Argus uses the tool if it is on your PATH and skips it otherwise; the report lists what was skipped. Online lookups (OSV) send only package names and versions. Use --no-network to turn them off.
Java
pip install argus-scan
argus scan all .
argus scan sca . # dependencies only
argus scan sast . # source code only| Check | What it finds | Built in / optional |
|---|---|---|
| Source code | SQL built from strings (JDBC, Statement, string concatenation), XXE, LDAP injection, path traversal, unsafe deserialization, command injection (Runtime.exec / ProcessBuilder with input), JJWT tokens parsed without a signature, log injection, PII in logs | Built in |
| Spring Security | anyRequest().permitAll() / "/**" permitted, web.ignoring() of everything, CSRF disabled, @PermitAll | Built in |
| Spring Boot config | application*.properties / *.yml: Actuator exposing every endpoint, H2 console enabled | Built in |
| JSP | Web shells (Runtime.exec / ProcessBuilder in .jsp pages) | Built in |
| Dependencies (CVEs) | Reads pom.xml (resolves ${properties}), gradle.lockfile, build.gradle(.kts), libs.versions.toml; reports the CVE, severity and nearest fixed version from OSV | Built in (Trivy is used instead when installed) |
| Known-malicious packages | Same files, checked against OSV MAL- records | Built in |
| More rules | Semgrep's Java rules | Optional: pip install semgrep |
| Secrets | Keys and passwords in .java, .properties, .yml | Optional: gitleaks / TruffleHog |
With npm only: npx argus-codescan scan sast . runs the same Java, Spring and JSP source rules. Dependencies need the Python package.
Kotlin
Same as Java: the Java rules also cover .kt / .kts, Kotlin SQL string templates ("… WHERE id = ${id}"), Gradle Kotlin DSL (build.gradle.kts) and version catalogs.
pip install argus-scan && argus scan all .
# or, source rules only:
npx argus-codescan scan sast .Python
pip install argus-scan
argus scan all .| Check | What it finds | Built in / optional |
|---|---|---|
| Source code | SQL injection, command injection (os.system, shell=True), eval/exec, unsafe deserialization (pickle, yaml.load), path traversal, SSRF, weak crypto, hardcoded secrets, Django/DRF/Flask auth switched off | Built in |
| AI / ML | Unsafe model loading (torch.load, pickle, trust_remote_code), LLM output passed to eval/shell/HTML, hardcoded LLM keys | Built in (argus scan ml .) |
| Dependencies (CVEs) | Exact versions in requirements*.txt, poetry.lock, uv.lock, Pipfile.lock against OSV, with the fixed version | Built in |
| Known-malicious packages | Pinned requirements*.txt, poetry.lock, uv.lock against OSV MAL- | Built in |
| Remote dependency sources | Dependencies installed from plain HTTP, archives or unpinned git | Built in |
| More rules | Bandit, Semgrep | Optional: pip install bandit semgrep |
Node.js, JavaScript, TypeScript
npm, yarn and pnpm projects. No Python needed:
npx argus-codescan scan all . # dependencies + source + secrets, writes a CSV report
npx argus-codescan scan all . --fail-on high --no-csv
npx argus-codescan review --staged # before a commit| Check | What it finds | Package |
|---|---|---|
| Dependencies (CVEs) | Exact versions in package-lock.json, yarn.lock, pnpm-lock.yaml against OSV, with the path (typeorm › tinyglobby › picomatch) and fix command. Dev-only packages one severity lower | npm and Python |
| Source code | eval, SQL built from variables, command injection, XSS (innerHTML, dangerouslySetInnerHTML), NoSQL injection, SSRF, path traversal, weak crypto, hardcoded secrets | npm and Python |
| ESLint security rules + Opengrep | Extra JS/TS rules; Opengrep downloads itself on first use | npm |
| Known-malicious packages | package-lock.json, yarn.lock, pnpm-lock.yaml against OSV MAL- | Python (argus scan sca .) |
| Install-script malware | postinstall / preinstall hooks that download and run code, run inline code or decode payloads | Python (argus scan malware .) |
| Worm behaviour | Credential harvesting plus exfiltration, package code that runs npm publish, obfuscated JS, crypto-wallet hijacking | Python (argus scan malware .) |
For a Node project, the best coverage is both: npx argus-codescan scan all . in CI, plus pip install argus-scan && argus scan malware . && argus scan sca . for the supply-chain checks.
PHP and Laravel
pip install argus-scan
argus scan all .| Check | What it finds | Built in / optional |
|---|---|---|
| Source code | SQL injection (mysql_query, string-built SQL), command injection (system, exec, shell_exec, backticks), eval, file inclusion, path traversal, XSS (echo $_GET), SSRF, open redirects, weak password hashing | Built in |
| Laravel | Raw queries with request input, unescaped Blade {!! !!}, routes without auth middleware, mass assignment, open redirects, a real APP_KEY committed | Built in |
composer.json | Insecure repositories (plain HTTP), risky settings | Built in |
| Dependencies (CVEs) | composer.lock against OSV, with the fixed version | Built in |
| Known-malicious packages | composer.lock against OSV MAL- | Built in |
| Web shells | eval($_GET…), system($_POST…) and similar | Built in (argus scan malware .) |
With npm only: npx argus-codescan scan sast . runs basic PHP rules.
Go
pip install argus-scan
argus scan all .Built in: insecure TLS (InsecureSkipVerify), SQL built with fmt.Sprintf, command injection (exec.Command("sh", "-c", …)), net/http/pprof exposed, JWT none / unverified parsing.
Dependencies: built in. go.mod modules and your Go toolchain version are checked against OSV, with the go get command to fix them.
Ruby / Rails, C# / .NET, Rust, Dart / Flutter
pip install argus-scan
argus scan all .| Language | Built in | Dependencies |
|---|---|---|
| Ruby / Rails | Command injection (system, backticks with #{}), skip_before_action :authenticate, CSRF disabled, null_session | Built in (Gemfile.lock, OSV) |
| C# / .NET | [AllowAnonymous], .AllowAnonymous(), Entity Framework raw SQL, Process.Start("cmd", … + input) | Built in (NuGet, OSV) |
| Rust | unsafe blocks (review) | Built in (Cargo.lock, OSV, cargo update --precise fix) |
| Dart / Flutter | Hardcoded secrets, insecure HTTP, SQL concatenation, Android allowBackup / exported components | Built in (pubspec.lock, OSV) |
Infrastructure, CI and containers
argus scan iac . # Terraform, Kubernetes, Dockerfiles, CloudFormation
argus scan terraform .
argus scan ansible .
argus scan container nginx:1.25 # image CVEs (needs Trivy)
argus scan dast https://staging.example.com # live site (needs OWASP ZAP or Nikto)| Target | Built in | Optional |
|---|---|---|
| Terraform | Public buckets, open security groups, hardcoded secrets, unencrypted storage | Checkov, Trivy, tfsec, tflint, KICS |
| Ansible | Hardcoded passwords, become passwords, insecure modules | ansible-lint, KICS, Checkov |
| Dockerfile / Kubernetes | Secrets in ENV, privileged containers | Checkov, Trivy |
| GitHub Actions | Script injection from PR titles/branches, pull_request_target with a PR checkout, actions not pinned to a SHA, write-all permissions | None |
Cutting false positives
argus-ignore[rule-id]: reasonon a line, or on the line above, suppresses one finding (a reason is required).- Findings in
tests/,fixtures/,docs/,examples/and minified files are lowered one severity level. - Low-confidence rules are reported but don't fail
--fail-onunless you add--fail-on-low-confidence. - Malware rules are exempt from all three.