Skip to main content
Loss of provenance

A previous release had provenance metadata, but this release does not. View details.

argus-languages

Built-in security scanner for 20+ languages and IaC formats — pure Python, no Semgrep, no Checkov, no extra installs.

pip install argus-languages
argus-languages scan /path/to/your/project

Requires Python 3.10+.


Quick start

pip install argus-languages

# Scan any supported project (auto-detects languages)
argus-languages scan /path/to/project

# JSON output
argus-languages scan /path/to/project --format json

# Scan a single file
argus-languages scan ./src/main.java

Python API

from argus_languages import scan_directory

result = scan_directory("/path/to/repo")
print(f"Findings: {len(result.findings)}")
for f in result.findings:
    print(f"[{f.severity}] {f.file}:{f.line} — {f.title}")

Usage by language

Same command for every language — point at your project root or a specific file.

JavaScript / TypeScript / Vue

argus-languages scan ./my-node-app
argus-languages scan ./src/components/Button.tsx

| Scans | .js .jsx .ts .tsx .mjs .vue | | Checks | XSS, SQL injection patterns, eval/exec, weak crypto, hardcoded secrets, CORS wildcard, NoSQL injection, JWT none algorithm, jwt.decode without jwt.verify (review), ignoreExpiration |

React / Next.js projects: use argus-codescan on npm instead — no Python needed.


Python

argus-languages scan ./django-app
argus-languages scan ./api/main.py

| Scans | .py .pyw | | Checks | Debug mode, hardcoded Flask secret, Django ALLOWED_HOSTS = *, SQL injection, pickle/yaml deserialization, command injection, Django REST Framework AllowAny / empty auth, csrf_exempt, Flask-Login LOGIN_DISABLED, JWT decoded without verification |


Java / Kotlin / Scala

argus-languages scan ./spring-boot-app
argus-languages scan ./android-app/src/main/java

| Scans | .java .jsp .kt .kts .scala | | Checks | SQL concatenation, XXE parsers, LDAP injection, path traversal, Spring CSRF disabled, log injection, Spring Security permitAll on everything, web.ignoring() on everything, @PermitAll (review), jjwt unsigned parse |


PHP

argus-languages scan ./laravel-app
argus-languages scan ./public/index.php

| Scans | .php .phtml, Blade (*.blade.php), composer.json, .env.production / .env.prod, .env.example / .sample / .dist / .template | | PHP | XSS (echo/print/<?= of user input), SQL injection (interpolation or concatenation into SQL values), command injection (system/exec/backticks), LFI, path traversal, SSRF (curl), eval, unserialize/extract on input, uploads saved with the client filename, md5/sha1 password hashing, DES/RC4/ECB ciphers and mcrypt, open redirects, phpinfo(), display_errors | | Laravel | Raw SQL with request input (DB::raw, whereRaw, …), mass assignment (create($request->all()), $guarded = [], unguard), open redirects, CSRF disabled for *, debug mode on in config, path traversal via Storage/response()->download, getClientOriginalName() uploads | | Blade | {!! !!} with request input (high); other unescaped output (medium), skipping trans(), csrf_field(), paginator links and escaped values | | .env | Production files: APP_DEBUG=true, non-production APP_ENV, Debugbar/Telescope on, SESSION_SECURE_COOKIE=false; real APP_KEY committed in example or production files. Local .env is not scanned. | | composer.json | disable-tls, secure-http: false, http:// repositories, allow-plugins: true, curl \| sh scripts, dev minimum-stability. Vulnerable package versions: argus scan sca (composer audit). |

Rules fire on direct use of user input ($_GET, $request->input(), request(), …). A value passed through a variable first ($name = $_POST['name']; echo $name;) needs Semgrep's taint analysis (argus scan sast runs it when installed).


Go

argus-languages scan ./cmd/api
argus-languages scan ./main.go

| Scans | .go | | Checks | SQL via fmt.Sprintf, TLS InsecureSkipVerify, command injection, JWT none signing method, ParseUnverified |


Ruby

argus-languages scan ./rails-app

| Scans | .rb .erb | | Checks | Shell injection, mass assignment, command injection |


C# / Rust / Swift / Scala / Perl / Lua / Elixir

argus-languages scan ./dotnet-api      # .cs
argus-languages scan ./rust-service    # .rs
argus-languages scan ./ios-app         # .swift
argus-languages scan ./elixir-app      # .ex .exs
Language Extensions Example checks
C# .cs SQL concat, BinaryFormatter deserialization, [AllowAnonymous] / .AllowAnonymous() (review)
Rust .rs unsafe blocks, shell via Command
Swift .swift Insecure credential storage
Perl .pl .pm Open with user input
Lua .lua loadstring / dynamic eval
Elixir .ex .exs Code.eval_string

Dart / Flutter (mobile)

argus-languages scan ./my-flutter-app

| Scans | .dart files, pubspec.yaml, AndroidManifest.xml, Info.plist | | Checks | |

Dart source (.dart):

  • Cleartext http:// URLs
  • Hardcoded API keys / tokens
  • Weak MD5/SHA-1 hashing
  • TLS validation disabled (badCertificateCallback)
  • Sensitive data in SharedPreferences
  • Unrestricted WebView JavaScript
  • SQL concatenation in rawQuery

Flutter config:

  • android:debuggable="true" in AndroidManifest
  • Cleartext traffic / allowBackup / exported components
  • iOS ATS disabled (NSAllowsArbitraryLoads)
  • Hardcoded secrets in pubspec.yaml

Skips generated files: *.g.dart, *.freezed.dart.


Terraform

argus-languages scan ./infra
argus-languages scan ./modules/vpc/main.tf

| Scans | .tf .tfvars .hcl | | Checks | Public S3 ACLs, 0.0.0.0/0 security groups, unencrypted EBS, public RDS, hardcoded secrets, IAM wildcards, GCP/Azure public access |


Ansible

argus-languages scan ./ansible
argus-languages scan ./playbooks/site.yml

| Scans | .yml / .yaml in roles/, playbooks/, tasks/, handlers/, etc. | | Checks | Hardcoded passwords, SSL verify disabled, open file permissions (777), shell module usage, hardcoded tokens |


Docker

argus-languages scan ./Dockerfile
argus-languages scan ./docker-compose.yml

| Scans | Dockerfile, docker-compose.yml / .yaml | | Checks | Secrets in ENV, privileged mode, host network, docker socket mount, :latest tags |


Kubernetes

argus-languages scan ./k8s
argus-languages scan ./manifests/deployment.yaml

| Scans | .yaml / .yml / .json with apiVersion + kind | | Checks | Privileged containers, runAsUser 0, hostNetwork/hostPID, plaintext secrets, wildcard RBAC |


Shell / SQL

argus-languages scan ./scripts/deploy.sh
argus-languages scan ./migrations/001_users.sql

| Scans | .sh .bash .zsh / .sql | | Checks | curl piped to bash, unquoted variables / GRANT ALL / dynamic SQL exec |


Monorepo / multi-language project

Scan the whole repo — all languages are detected automatically:

argus-languages scan .

Example: a repo with frontend/ (JS), backend/ (Java), and infra/ (Terraform) is scanned in one command.


Full Argus CLI (optional)

For CSV export, MCP, DAST, and external tools (Checkov, tfsec, ansible-lint):

pip install argus-scan
argus scan code /path/to/project --output ./report.csv
argus scan terraform /path/to/infra
argus scan all /path/to/project

All supported languages

Category Languages / formats
Web & app JavaScript, TypeScript, Python, Java, Kotlin, PHP, Go, Ruby, C#, Rust, Swift, Scala, Perl, Lua, Elixir, Vue, Dart
Mobile Flutter (Dart + AndroidManifest + Info.plist + pubspec.yaml)
Infrastructure Terraform, Ansible, Docker, Kubernetes
Other Shell, SQL

Package Install Use case
argus-languages pip install argus-languages This package — lightweight, all languages above
argus-scan pip install argus-scan Full CLI + MCP + DAST + Checkov/tfsec
argus-codescan npm install argus-codescan React / Next.js / Node only

License

MIT — see GitHub.

Metadata

Release files for argus-languages 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Loss of provenance

These files do not have provenance metadata, despite files in a prior release including this data.

We recommend further investigation before installing these files. View details.

Source distribution (sdist)

Source distribution for argus-languages 0.8.0
File Size Uploaded Provenance Actions
argus_languages-0.8.0.tar.gz 50.3 kB Without provenance Details for argus_languages-0.8.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for argus-languages 0.8.0
File Interpreter ABI Platform Actions
argus_languages-0.8.0-py3-none-any.whl Python 3 none any Details for argus_languages-0.8.0-py3-none-any.whl

Total release size: 116.1 kB

Release files / argus_languages-0.8.0.tar.gz

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL argus_languages-0.8.0.tar.gz
Size 50.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6bf9f73fe8dfffb060f081249502a6150d11fcd7ae269d22677c41fd7bd3ddf9
BLAKE2b-256 checksum
How to use checksums
24980c7b8d8db61d484dbeac92167369f79fed6f5fc70cad36c91fca3e907a32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / argus_languages-0.8.0-py3-none-any.whl

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL argus_languages-0.8.0-py3-none-any.whl
Size 65.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6353261f9db3226f63d6ee6a8b04ee48e30c513052da690391c091a282bdf245
BLAKE2b-256 checksum
How to use checksums
ba879b862598c44e2f257a06b1123abf2ceeec43c26e392f3c0d39d8aa8e34b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Security for argus-languages 0.8.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Loss of provenance

A previous release of these files had provenance metadata, but this release does not.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Release comparison

  • Removed 0.7.0 2 files With provenance
  • Added 0.8.0 2 files Without provenance

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page