Repository navigation
NexusShadowScan 0.1.4 (Alpha)
Pre-releaseNexusShadowScan 0.1.4 is an alpha patch release of the five changes merged after 0.1.3: the issue #264 follow-ups (#310) and the corrections that AI-agent reviews of them found (#316), a test-only cleanup fix (#315), and documentation (#292, #317). No connector, signature or mapping is added: it keeps 38 connectors across nine surfaces and 233 signatures / 1,133 signals. Its TestPyPI rehearsal and its PyPI upload were built from the same commit.
Install using CPython 3.11–3.14 in a fresh virtual environment; on 3.12, use 3.12.4 or later (Ubuntu 24.04 ships 3.12.3):
python -m venv .venv && . .venv/bin/activate
python -m pip install "NexusShadowScan==0.1.4"
shadowscan --versionFor cloud SDKs, use python -m pip install "NexusShadowScan[cloud]==0.1.4". The command and Python imports remain shadowscan; the unrelated PyPI package named shadowscan is a different project. For deployments, install a reviewed commit from the hash locks (deployment guide).
TestPyPI's 0.1.4 files are this release's rehearsal, built from the same commit: the wheel is byte-identical to PyPI's, and the sdist differs only in build timestamps.
Compatibility notes for anyone upgrading from 0.1.3:
- Rebaseline
diff. A report written by 0.1.3 is not a comparable baseline: the collection-scope fingerprint covers the package version, the scanner and the signature set, soshadowscan diffagainst it is incomplete and exits 3 (collection or detection scope differs) even when no finding changed. Review the first 0.1.4 report against the old baseline, then adopt it as the new baseline. - New detections can fail gates. The Google Vertex AI, Gemini API and Vertex AI Agent Engine signatures gain Private Service Connect (
aiplatform-ENDPOINT.p.googleapis.com, optionally led by a location, as inus-central1-aiplatform-restricted.p.googleapis.com) and regional endpoint (aiplatform.REGION.rep.googleapis.com) patterns, matched in network and gateway logs and in code and low-code scans. The host rule that eBPF events and the MCP tool-description check use already matched the global Private Service Connect form in 0.1.3, and now also matches the location-led and regional forms of every Google AI service it knows. A repository or log can gain a finding, an eBPF event anllm-egressfinding, and an MCP tool whose description names such a host is taggedtool-poisoning, which adds 15 to its risk. A scan gated with--fail-oncan therefore newly exit 2, and once you have rebaselined,diff --fail-on-newreports such endpoints as they appear. - Incomplete-reason counts move. The shared offline readers and directory walk, the shared export loader,
gateway.logs' own.jsonexports and the export writer (--dump-records) now name each diagnostic's category instead of leaving it to the text classifier. Many of these diagnostics wereotherin 0.1.3, but not all: a missing or inaccessible input and a special file met in a directory walk wereunresolved-link; a file turned away by the spentmax_input_bytesbudget and the export writer's replay limits wereoversize-file; an export cut while it was read wasunscanned-input; and mostnetwork.logsdiagnostics wereupstream-error. Update gates and dashboards that match any of these categories, and rescan before comparing counts. Whether a scan is incomplete, and its exit code, do not change. - The first
--incrementalrun after upgrading rescans every root and takes as long as an uncached scan, because every cache entry is keyed on the version, the scanner and the signature set. Plan CI timeouts for it. - Redaction now covers scalar subclasses. In 0.1.3 a
date,datetime,time,timedelta,DecimalorUUIDsubclass in finding metadata passed the sanitize pass unchanged and reached the JSON report through its own__str__, unredacted. 0.1.4 stores such a value as its standard type, or as its text after redaction. Only connectors that put such values in metadata, typically plugins, are affected: regenerate retained reports from them and keep treating older copies as confidential. - When a connector's deadline expires, the partial report now keeps findings whose metadata holds a scalar subclass (an
IntEnum, a numpyfloat64, a pandasTimestamporNaT); 0.1.3 omitted them. Completed scans report the same values as in 0.1.3, except where the redaction above applies. - Plugin connectors can pass
reason=toConnectorErrorto name the incomplete-reason category their skip is counted under; without one, the message is classified from its text as before.
These notes supersede the 0.1.4 section of RELEASE_NOTES.md at the tag, which misdescribes some of these changes; the corrected text is to land on main. Read the release notes, the deployment guide and the drift guide.
Review and release record: the release source, 94fda063307c2c0c402a0610f378544b6189f809 (Git tree 79be1584e3d14944dcd60386141d9821eb472b3c), is the squash merge of PR #318, which prepared this release. Its approval on the final head, 70e1217900ec4920abd4ebfd875e9a28380720bb, which has the same tree, and the final-head approvals of every other change since 0.1.3 (#310, #315, #316, #292 and #317) came from immanueldahunsi-Project-Nexus, who authored or co-authored none of them. The maintainer accepts these approvals as the independent human review of the candidate that GOVERNANCE.md requires. The approval records do not describe what was checked, and the AI-agent reviews that found the #316 corrections are advisory only. At the maintainer's direction, Claude Code pushed the v0.1.4 tag and started the PyPI run, steps the publishing runbook reserves for the maintainer; the maintainer approved every deployment.
Verify both downloaded files against the release commit. These commands use the tag's hash-locked build backend, so preparing the sdist's metadata does not resolve a backend from the index:
v=0.1.4 commit=94fda063307c2c0c402a0610f378544b6189f809
git clone --branch "v$v" https://github.com/aisecnomad/Nexus-ShadowScan.git src
test "$(git -C src rev-parse HEAD)" = "$commit"
python -m venv rebuild && rebuild/bin/python -m pip install --require-hashes --only-binary=:all: -r src/requirements-build.lock
rebuild/bin/python -m pip download --no-deps --only-binary=:all: --dest dists "NexusShadowScan==$v"
rebuild/bin/python -m pip download --no-deps --no-binary=:all: --no-build-isolation --dest dists "NexusShadowScan==$v"
for f in "dists/nexusshadowscan-$v-py3-none-any.whl" "dists/nexusshadowscan-$v.tar.gz"; do
gh attestation verify "$f" --repo aisecnomad/Nexus-ShadowScan \
--signer-workflow aisecnomad/Nexus-ShadowScan/.github/workflows/release.yml \
--source-ref refs/heads/main --source-digest "$commit" --signer-digest "$commit" \
--deny-self-hosted-runners
doneCompare both digests with SHA256SUMS attached to this release. To verify without the attestation API, add --bundle provenance.sigstore.json; for the SBOM, use --bundle sbom.sigstore.json --predicate-type https://cyclonedx.org/bom. Attestations identify the build, not review or deployment acceptance.
Publication evidence, checked after the upload:
- Production publication run:
publish: pypionmainat94fda063. The TestPyPI rehearsal run built the same commit. - Wheel SHA-256:
32c0a55acba90049eea1ccfa5c4bc495954740ee7e61e7c8b9e9e4cecccac870, identical on TestPyPI and PyPI. Rebuilding the tag with the hash-locked backend reproduces it byte for byte. - Sdist SHA-256:
01ad5c9b27201eebc5fe4ff5d9be8cde28872485460adc0b70efe697dd346999. The sdist is not byte-reproducible, because setuptools records build times; its files match the tag and the rehearsal's sdist. - PyPI provenance for the wheel and the sdist names
aisecnomad/Nexus-ShadowScan,release.ymland thepypienvironment, the same publisher as 0.1.3. - Both files downloaded from PyPI match this release's
SHA256SUMSand pass the verification above, for provenance and the SBOM. - A fresh install of the hash-pinned wheel from PyPI, outside a checkout, passed
pip check,shadowscan --helpand--version, signature and mapping validation, and a sample scan. The same test passed against TestPyPI before the tag. Both ran on macOS with CPython 3.12, not on the Linux x86_64 deployment target. - The
release-assetsjob attached the candidate files,SHA256SUMSand both bundles to this release; each attached file matches the run's attested publication input.
This remains Alpha software. Confidence is heuristic, and bundled regression results do not establish field accuracy: the new endpoint and incomplete-reason cases are synthetic regression tests, the registry, A2A, autonomy and drift fixtures are synthetic, and detection was tuned on the 2026-10-11 ShadowBench estate errors, so later runs on that estate are in-sample. Deployment requires acceptance evidence for the intended tenant and scope. Treat reports as confidential. CI validates the hash-locked install on Linux x86_64 only and tests macOS for development use; Windows is not supported.