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 |
Related packages
| 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.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| argus_languages-0.5.0.tar.gz | 41.0 kB | Without provenance | Details for argus_languages-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| argus_languages-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for argus_languages-0.5.0-py3-none-any.whl |
Total release size: 95.2 kB
Release files / argus_languages-0.5.0.tar.gz
| Download URL | argus_languages-0.5.0.tar.gz |
|---|---|
| Size | 41.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3e2b8f3e1d4a20d16daa4c74dd2824397a9ea513a1940fb36f22a153de293a32
|
|
BLAKE2b-256 checksum How to use checksums |
c908bab68f8c5ece290b0652a53d85cfd8abe1656bde30c8afea8a50f6ba157e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / argus_languages-0.5.0-py3-none-any.whl
| Download URL | argus_languages-0.5.0-py3-none-any.whl |
|---|---|
| Size | 54.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c1fa606a7448731f050a6cfa185e717b0b75c4c9d8117f0ade53e5d06c69f5a
|
|
BLAKE2b-256 checksum How to use checksums |
a23b5b697991154e9299889e39a3d43447dc0e6c016ea697acc2391977549108
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Security for argus-languages 0.5.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.