fluidattacks-agent
Reports what a running Python workload actually imports and runs, so that a dependency inventory can say which of its findings are reachable at runtime and which are not.
It is a library, not a service. It observes the interpreter it is installed in, sends what it saw, and does nothing else. It takes no dependencies: the standard library only, because it is installed into workloads we do not own.
Installing
pip install fluidattacks-agent
That is the whole setup. A .pth file at the root of the wheel starts the probe
at interpreter start, before the workload's own program runs, so nothing has to
be imported or called by hand.
Turning it off
FLUIDATTACKS_AGENT=off
Also 0, false, no, disabled or none. A workload that says no pays for
reading the setting and for nothing above it. Saying nothing is taken for yes,
because installing the package is the consent.
What it observes
- distributions whose modules were imported, and which modules
- functions that were executed, where the interpreter offers that
- how often, in windows, and when a symbol was first reached
Only what an installed distribution owns is attributed. The standard library and a workload's own first-party code produce no records.
Where reports go
Naming an endpoint is what makes the probe observe at all. A workload that names none starts nothing:
FLUIDATTACKS_AGENT_ENDPOINT |
where reports are posted, https:// only |
FLUIDATTACKS_AGENT_TOKEN_FILE |
a file holding the credential, preferred |
FLUIDATTACKS_AGENT_TOKEN |
the credential itself, read only if no file is named |
FLUIDATTACKS_AGENT_GROUP |
what the reports are filed under |
FLUIDATTACKS_AGENT_WORKLOAD |
what this workload is called |
A file is preferred over a variable because a file can be mode 400, while an environment variable is readable by any process of the same user.
An endpoint named without enough beside it to reach — no credential, or not
https:// — is a misconfiguration, and the probe starts nothing rather than
observe what it could never deliver.
What travels, and what does not
Reports are gzipped and signed with a key derived from the credential; the credential itself never travels, appears in no record, and is in no exception. The far end must prove who it is — certificate chain and hostname both — and no redirect is followed.
What a report contains is distribution names, versions, module and function names, and counts. No arguments, no return values, no file contents, no environment.
Licence
MPL-2.0
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fluidattacks_agent-0.3.0.tar.gz.
File metadata
- Download URL: fluidattacks_agent-0.3.0.tar.gz
- Upload date:
- Size: 25.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e8a27ab8acc4f55e9df628971930d1f88e58de776a88a4c578e9e51f20e0bef
|
|
| MD5 |
f6ec572069983f705bdba8873cbb5caa
|
|
| BLAKE2b-256 |
3a0a073117cf8a2a204e498d3db2b70e9bf9913fd6e1e3b352083edf0c27b6b6
|
File details
Details for the file fluidattacks_agent-0.3.0-py3-none-any.whl.
File metadata
- Download URL: fluidattacks_agent-0.3.0-py3-none-any.whl
- Upload date:
- Size: 34.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0364aba3318278ca064370bdbd2cde2fad14d0facfa847865809aa870762761f
|
|
| MD5 |
7ed4968997f6a6e9e700fb621e9042b5
|
|
| BLAKE2b-256 |
3cf634dcc2f77f72c1a78632a0b575dd669f35a4895cafe5ac8778b3530ebc4b
|