foldscan
Scan what the agent will run, not what the file shows.
foldscan is an open-source scanner for malicious AI-agent skills. Before any rule runs, it unpacks archives, removes padding, decodes layered encodings and maps look-alike letters to Latin, so a hidden command is matched the same way as a plain one.
Site and docs: https://site-ashy-two-46.vercel.app
Install
pipx install foldscan
Optional extras: foldscan[yara] for YARA signatures, foldscan[judge] for the optional model judge, foldscan[ocr] for text in images.
Use
foldscan scan ./my-skill --format table
foldscan scan skill.zip --format sarif --output foldscan.sarif
foldscan rules
foldscan explain FS-UNI-CONFUSABLE
The target can be a skill directory, an archive or a single SKILL.md. Output formats: table, json, markdown, sarif.
Exit codes: 0 clean, 1 findings at or above --fail-on (default high), 2 coverage incomplete, 3 usage error, 4 feature not available, 70 internal error.
How it decides
- Seven stages: inventory, unpack, normalize, analyze, prose, optional judge, verdict.
- Every rule maps to an OWASP Agentic Skills Top 10 ID.
- Rules set the minimum severity. The optional model judge can raise a finding and can never lower or remove one. It is off by default, and foldscan sends nothing anywhere unless you turn it on.
- Anything that could not be analyzed is reported as incomplete coverage, never as clean.
What it does not claim
- Static analysis cannot prove what a remote URL serves at run time. foldscan flags the fetch.
- Heavy packing and obfuscation can defeat static analysis. Sandboxed detonation is on the roadmap.
- No findings means nothing was found in what foldscan analyzed. The coverage report lists what that was.
License
Apache-2.0.
Metadata
Release files for foldscan 0.1.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 |
|---|---|---|---|---|
| foldscan-0.1.0.tar.gz | 55.6 kB | Without provenance | Details for foldscan-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| foldscan-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for foldscan-0.1.0-py3-none-any.whl |
Total release size: 120.1 kB
Release files / foldscan-0.1.0.tar.gz
| Download URL | foldscan-0.1.0.tar.gz |
|---|---|
| Size | 55.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd45c6910e28ecd5313d1af8f23e888a20f1289c42338198c72a5b08fe1319f8
|
|
BLAKE2b-256 checksum How to use checksums |
6f1124ad4b4aed04d6c6e5c2f5e473fb49f965ea829f677ea836c4837123f024
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / foldscan-0.1.0-py3-none-any.whl
| Download URL | foldscan-0.1.0-py3-none-any.whl |
|---|---|
| Size | 64.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
29275b9a56291b6f53cb1aab4fcf2140d474d916208c20f3712a6e006a921fa5
|
|
BLAKE2b-256 checksum How to use checksums |
63057aa54b2abcab5c48dde85c5863b8908596836d8d81255ada01a8be045948
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for foldscan 0.1.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.