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

0.10.0Python 3.10+MIT

View on PyPI

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

0.12.0PublicTypeScriptNode.js 20+4 dependencies

View on npm

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 history
VersionDownloads (7 days)Published
0.12.0latestnew17 Nov 2026
0.11.116515 Nov 2026
0.11.016015 Nov 2026

Registry figures as of 24 Nov 2026.

Quick version

One line per stack. Details for each follow below.

StackCommandNotes
Java / Kotlinpip install argus-scan && argus scan all .Code + Spring + JSP + Maven/Gradle CVEs and malicious packages. Source rules also via npx argus-codescan scan sast .
Pythonpip install argus-scan && argus scan all .Dependency CVEs built in (OSV). Add pip install semgrep bandit for extra rules
Node / npmnpx argus-codescan scan all .Plus argus scan malware . and argus scan sca . (Python package) for install-script malware and known-malicious packages
PHP / Laravelpip install argus-scan && argus scan all .Dependency CVEs built in (OSV, composer.lock)
Goargus scan all .Dependency CVEs built in (OSV), including the Go toolchain
Ruby, C#, Rust, Flutterargus scan all .Built-in rules and dependency CVEs (OSV)
Terraform / Ansible / Docker / K8sargus scan iac .Built-in rules plus Checkov / Trivy if installed
CI gateargus 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
CheckWhat it findsBuilt in / optional
Source codeSQL 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 logsBuilt in
Spring SecurityanyRequest().permitAll() / "/**" permitted, web.ignoring() of everything, CSRF disabled, @PermitAllBuilt in
Spring Boot configapplication*.properties / *.yml: Actuator exposing every endpoint, H2 console enabledBuilt in
JSPWeb 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 OSVBuilt in (Trivy is used instead when installed)
Known-malicious packagesSame files, checked against OSV MAL- recordsBuilt in
More rulesSemgrep's Java rulesOptional: pip install semgrep
SecretsKeys and passwords in .java, .properties, .ymlOptional: 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 .
CheckWhat it findsBuilt in / optional
Source codeSQL 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 offBuilt in
AI / MLUnsafe model loading (torch.load, pickle, trust_remote_code), LLM output passed to eval/shell/HTML, hardcoded LLM keysBuilt in (argus scan ml .)
Dependencies (CVEs)Exact versions in requirements*.txt, poetry.lock, uv.lock, Pipfile.lock against OSV, with the fixed versionBuilt in
Known-malicious packagesPinned requirements*.txt, poetry.lock, uv.lock against OSV MAL-Built in
Remote dependency sourcesDependencies installed from plain HTTP, archives or unpinned gitBuilt in
More rulesBandit, SemgrepOptional: 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
CheckWhat it findsPackage
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 lowernpm and Python
Source codeeval, SQL built from variables, command injection, XSS (innerHTML, dangerouslySetInnerHTML), NoSQL injection, SSRF, path traversal, weak crypto, hardcoded secretsnpm and Python
ESLint security rules + OpengrepExtra JS/TS rules; Opengrep downloads itself on first usenpm
Known-malicious packagespackage-lock.json, yarn.lock, pnpm-lock.yaml against OSV MAL-Python (argus scan sca .)
Install-script malwarepostinstall / preinstall hooks that download and run code, run inline code or decode payloadsPython (argus scan malware .)
Worm behaviourCredential harvesting plus exfiltration, package code that runs npm publish, obfuscated JS, crypto-wallet hijackingPython (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 .
CheckWhat it findsBuilt in / optional
Source codeSQL 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 hashingBuilt in
LaravelRaw queries with request input, unescaped Blade {!! !!}, routes without auth middleware, mass assignment, open redirects, a real APP_KEY committedBuilt in
composer.jsonInsecure repositories (plain HTTP), risky settingsBuilt in
Dependencies (CVEs)composer.lock against OSV, with the fixed versionBuilt in
Known-malicious packagescomposer.lock against OSV MAL-Built in
Web shellseval($_GET…), system($_POST…) and similarBuilt 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 .
LanguageBuilt inDependencies
Ruby / RailsCommand injection (system, backticks with #{}), skip_before_action :authenticate, CSRF disabled, null_sessionBuilt in (Gemfile.lock, OSV)
C# / .NET[AllowAnonymous], .AllowAnonymous(), Entity Framework raw SQL, Process.Start("cmd", … + input)Built in (NuGet, OSV)
Rustunsafe blocks (review)Built in (Cargo.lock, OSV, cargo update --precise fix)
Dart / FlutterHardcoded secrets, insecure HTTP, SQL concatenation, Android allowBackup / exported componentsBuilt 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)
TargetBuilt inOptional
TerraformPublic buckets, open security groups, hardcoded secrets, unencrypted storageCheckov, Trivy, tfsec, tflint, KICS
AnsibleHardcoded passwords, become passwords, insecure modulesansible-lint, KICS, Checkov
Dockerfile / KubernetesSecrets in ENV, privileged containersCheckov, Trivy
GitHub ActionsScript injection from PR titles/branches, pull_request_target with a PR checkout, actions not pinned to a SHA, write-all permissionsNone

Cutting false positives

  • argus-ignore[rule-id]: reason on 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-on unless you add --fail-on-low-confidence.
  • Malware rules are exempt from all three.
Usage by language · Argus