PyPI / psycopg2-binary / 2.9.13
psycopg2-binary 2.9.13
- Source
- https://github.com/psycopg/psycopg2
- Tag scanned
2.9.13- Compared with
2.9.12(0 signals introduced since)- Files
- 159 scanned, 20 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 9 info
- Scan time
- 5.8 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 6 of 6 warn and critical signals; 6 demoted to info.
- Disclude version
- 4.1.0
- Scanned (UTC)
- 2026-10-22 03:10
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
likely benign Build script that runs a sibling helper script and strips shared libraries after a wheel build.
Reasoning
Snippet is a standard psycopg build script: dir is set from a script-location computation and invoked as a helper; the strip and find usage is typical wheel-building. The dynamic command is a normal bash idiom for calling sibling scripts, not obfuscation.
-
;likely benign Build hook that invokes a local libpq build script per Linux distribution.Reasoning
The variable command runs build_libpq.sh from a directory variable within a distro case statement, consistent with cibuildwheel setup for Alpine. Legitimate build orchestration.
-
| | ;likely benign Build hook invoking local libpq build script for RPM-based distributions.Reasoning
Same pattern as the other finding in this file, invoking the bundled build_libpq.sh for CentOS/Rocky/Alma. The helper path is local to the repository and not fetched from elsewhere.
-
# Build dependency libraries # Show dependency treelikely benign macOS wheel build step calling the bundled libpq build script.Reasoning
Runs a project-local build_libpq.sh via a project-directory variable in a macOS wheel build. Standard build tooling; the variable is derived from the repo location.
-
for; do && break if [; thenlikely benign CI retry loop waiting for a PostgreSQL service using a needlessly eval'd command.Reasoning
eval on the literal 'pg_isready' is a harmless, odd construction in a retry loop waiting for PostgreSQL to start in CI. It is poor style but does not execute attacker-controlled content.
-
is and . -
likely benign Test expectation string containing a sequence of ASCII and control-character hex escapes.
Reasoning
A test fixture spells out control bytes and ASCII as hex escapes to check COPY/composite text escaping. The hex run is an expected literal in a test of byte handling, not an encoded payload.
Reproduce This Scan
Run disclude locally to verify. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.
&&