Metadata-Version: 2.4
Name: le-sus
Version: 1.9.0
Summary: Investigate untrusted code, packages and files without running or installing anything.
Author: Jan Tursky
License-Expression: MIT
Project-URL: Homepage, https://github.com/jantursky/le-sus
Project-URL: Changelog, https://github.com/jantursky/le-sus/blob/main/CHANGELOG.md
Project-URL: Demo, https://le-sus.vercel.app
Keywords: security,audit,malware,supply-chain,mcp
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Security
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# Le Sus

Investigate a repository, folder, file, archive, published npm or PyPI package or public GitHub repository for malware and hidden behavior. Nothing in the target is run, installed or extracted. Standard library only, Python 3.9 or newer.

```sh
uvx le-sus path/to/target
uvx le-sus npm:left-pad
```

Or `pipx install le-sus`, then `le-sus`. Do not use `pipx run`, which can start a program planted in the folder you are in. Unset `PYTHONPATH` before looking at something untrusted: if it reaches into that folder, Python runs code from there before the scanner starts.

The exit code is 0 for no known indicators, 1 for needs review, 2 for high-risk indicators, 3 for an incomplete check and 64 for a mistake on the command line. No result means a target is safe.

The local MCP server over stdio has one read-only tool, `investigate`:

```sh
uvx le-sus --mcp
```

`le-sus-mcp` starts the same server after `pipx install le-sus`.

Full documentation, limits and the browser demo: <https://github.com/jantursky/le-sus>

<!-- mcp-name: io.github.jantursky/le-sus -->
