AUDITSCAN · PUBLIC SOURCE REVIEWEngineering Evidence Certificate
LIVE · LATEST COMPLETED SCAN (main)

psf/requests

AUDITSCAN SCORE · HEURISTIC INDEX · SCOPE LIMITED
Not graded / no measured semantic coverage for these languages
70 of 71 files assessed
2 not assessed: C-CRA-VULN, C-NIS2-VULN

NOT ASSESSABLE

No measured semantic coverage for these languages; patterns were matched but the engine cannot claim a clean scope.

0
Confirmed
3
Review Candidates
98.6%
70 / 71 Files
0 / 3
Derivation-Traced

2 test-only observations were excluded from the security verdict (e.g. tests/test_requests.py:718, tests/test_requests.py:718); they remain in the full report.

371 additional static observations are outside the public security projection (sensitive evidence, duplicate title, missing location, or no replayable derivation); the full report still lists them.
Heuristic score methodology, deduction breakdown & limitations (Base 100 → 82)
Starting Base100.0 pts
Confirmed High/Critical (−15 each, cap 45)−0.0 pts
Confirmed Medium/Low (−7 each, cap 25)−0.0 pts
Review Candidates (size-normalized, cap 18)−10.5 pts
File Scope Adjustment (98.6%)−0.2 pts
Control Posture Adjustment (9/19 pass)−4.2 pts
Blocked / Not-Assessed Controls (2)−2.9 pts
Inconclusive Scope (dead-code capture)−0.0 pts
Unparsed Language Scope−0.0 pts
Subtotal (deductions applied)82.2 pts
Score ceiling (unassessed scope caps the grade)85 pts
Final score (rounded; ceiling applied if lower)82 pts

Rationale & limitations: Confirmed defects weigh more than review candidates, and large repositories are not penalised twice. This is a static summary of the scanned commit, not a breach probability or a runtime test.

Static Verification & Reachability Architecture

01 · DEPENDENCY REACHABILITY (VEX)

7 Dependencies Inventoried

0 matched dependency advisories had observed usage across resolved manifests.

02 · DERIVATION TRACEABILITY

0 / 3 Derivation-Traced

0 of 3 listed rows show the step-by-step path behind the finding. 0 confirmed and 3 review candidates are listed.

03 · RESOURCE & CALL-GRAPH HYGIENE

Resource lifecycle not assessed

This build has no measured resource-lifecycle rules for the scanned languages, so unclosed handles are not scored.

04 · SOURCE-LEVEL CONTROL INDICATORS

9 Clear · 8 Review · 2 Finding

Checked 21 code-verifiable controls across SOC 2, ISO 27001, PCI DSS, HIPAA, GDPR, ASVS, CRA and NIS 2, plus a license check.

Compliance mapping

Controls: 9 passing · 8 in review · 2 gaps · 2 not assessed

All 21 controls

Scope: source and manifests.

Control & RequirementStatusObserved Evidence & Next Step
C-CRYPTO Use strong cryptography
Frameworks: SOC2, ISO27001, PCI, HIPAA, GDPR, ASVS
Sensitive data must use strong, approved algorithms (no MD5/SHA-1/DES, use CSPRNG).
GAP
direct evidence
Observed: src/requests/auth.py:179 · src/requests/auth.py:187 · src/requests/auth.py:237
Why and next step
Why: Direct code pattern for a weak algorithm. Constant-time comparison is tracked under access control, not here.
C-NIS2-CRYPTO Cryptography policy signals (Art. 21(2)(h) context)
Frameworks: NIS2
Article 21(2)(h) covers policies and procedures for cryptography. Weak algorithm use is direct code evidence; a plaintext URL is indicative.
GAP
direct evidence
Observed: src/requests/auth.py:179 · src/requests/auth.py:187 · src/requests/auth.py:237
Why and next step
Why: Weak algorithm use is direct code evidence. A plaintext URL does not establish that sensitive data uses it; Art. 21(2)(h) is a policy requirement.
C-CRA-PIN Component baseline hygiene (CRA Annex I context)
Frameworks: CRA
CRA Annex I requires vulnerability and component identification, including an SBOM. Pinning is a supporting hygiene signal, not a statutory pinning mandate.
REVIEW
indicative evidence
Observed: requirements-dev.txt:3 (Unpinned dependency pytest-cov: exact version cannot be verified) · requirements-dev.txt:6 (Unpinned dependency trustme: exact version cannot be verified) · requirements-dev.txt:7 (Unpinned dependency wheel: exact ve
Why and next step
Why: Unpinned ranges are a supply-chain hygiene signal. Annex I does not require every dependency to be pinned to a fixed version.
C-CRA-SECURE Secure defaults: TLS, config, logging
Frameworks: CRA
Encrypt data in transit, harden defaults, never log secrets.
REVIEW
indicative evidence
Observed: src/requests/utils.py:968 · src/requests/adapters.py:182 · src/requests/sessions.py:503
Why and next step
Why: Disabled verification, debug defaults, wildcard CORS, and logged secrets are direct code signals. A plaintext URL alone is indicative.
C-ENCRYPT-TRANSIT Encrypt data in transit
Frameworks: SOC2, ISO27001, PCI, HIPAA, GDPR, ASVS
Services must use TLS for sensitive data; a plaintext URL is a transport signal, not proof of what is transmitted.
REVIEW
indicative evidence
Observed: src/requests/utils.py:968 · src/requests/adapters.py:182 · src/requests/sessions.py:503
Why and next step
Why: Disabled TLS verification is direct code evidence. A plaintext URL shows a transport choice, not that sensitive data uses it.
C-INPUT Validate & parameterize input
Frameworks: SOC2, ISO27001, PCI, HIPAA, ASVS
Untrusted input must be validated and queries parameterized (no injection).
REVIEW
indicative evidence
Observed:
Why and next step
Why: A RISKY injection finding is a confirmed gap; an UNKNOWN taint/injection candidate keeps the control in review because the flow is not established.
C-LIC-COPYLEFT No strong-copyleft licenses (deal gate)
Frameworks: LICENSE
GPL/AGPL-family code triggers enterprise procurement rejection.
REVIEW
indicative evidence
Observed: requirements-dev.txt:5 · requirements-dev.txt:2 · requirements-dev.txt:3
Why and next step
Why: A denied (strong-copyleft) license is a gap; an UNKNOWN license cannot establish copyleft and stays review.
C-LIC-INV License inventory is complete
Frameworks: LICENSE
Every dependency needs a resolved license for the questionnaire.
REVIEW
indicative evidence
Observed: requirements-dev.txt:5 · requirements-dev.txt:2 · requirements-dev.txt:3
Why and next step
Why: An unresolved (UNKNOWN) license makes the inventory incomplete (review); a denied license is still a resolved license.
C-NIS2-ACCESS Credential hygiene signals (Art. 21(2)(i) context)
Frameworks: NIS2
Article 21(2)(i) covers access-control policies and asset management. Hardcoded credentials are direct code evidence of a hygiene gap; a non-constant-time comparison is only a…
REVIEW
indicative evidence
Observed: src/requests/auth.py:104 · src/requests/auth.py:349
Why and next step
Why: A non-placeholder credential assignment is a committed credential-like value (shared secret classification); a non-constant-time comparison is only a side-channel signal.
C-NIS2-SUPPLY Supplier baseline hygiene (Art. 21(2)(d) context)
Frameworks: NIS2
Article 21(2)(d) covers supply-chain security. Unpinned ranges are a hygiene signal, not a statutory pinning mandate.
REVIEW
indicative evidence
Observed: requirements-dev.txt:3 (Unpinned dependency pytest-cov: exact version cannot be verified) · requirements-dev.txt:6 (Unpinned dependency trustme: exact version cannot be verified) · requirements-dev.txt:7 (Unpinned dependency wheel: exact ve
Why and next step
Why: Unpinned ranges are a supply-chain hygiene signal. The article does not require every dependency to be pinned to a fixed version.
C-CFG-SECRETS No secrets in config files
Frameworks: SOC2, ISO27001, PCI, HIPAA, GDPR
Committed .env / config must not contain real credentials.
NO VIOLATION
indicative evidence
Observed: Pattern-scanned 20 non-test source files for committed config secrets (.env, docker/k8s/helm); 0 matches.
C-CONFIG Harden configuration defaults
Frameworks: SOC2, ISO27001, PCI, HIPAA, ASVS
No debug mode, wildcard CORS, or insecure defaults in config.
NO VIOLATION
indicative evidence
Observed: Pattern-scanned 20 non-test source files for insecure config defaults (debug mode, wildcard CORS); 0 matches.
C-CRA-SBOM Maintain a software bill of materials (CRA Art. 13)
Frameworks: CRA
Every third-party dependency must be inventoried with version + manifest location.
EVIDENCE OBSERVED
indicative evidence
Observed: Declarations inventoried (requirements-dev.txt:5, requirements-dev.txt:2).
C-CRA-SECRETS No hardcoded credentials (CRA secure-by-design)
Frameworks: CRA
CRA Annex I requires products to ship without known exploitable weaknesses.
NO VIOLATION
indicative evidence
Observed: Pattern-scanned 20 non-test source files for hardcoded credentials; 0 matches.
C-EXEC Restrict unsafe execution
Frameworks: SOC2, PCI, HIPAA, ASVS
Avoid eval/exec/subprocess from untrusted input.
NO VIOLATION
indicative evidence
Observed: Pattern-scanned 20 non-test source files for unsafe execution (eval / exec / subprocess / deserialization); 0 matches.
C-LIC-PROJECT Project license is declared
Frameworks: LICENSE
Questionnaires ask what license the product itself ships under.
EVIDENCE OBSERVED
direct evidence
Observed: Declarations inventoried (pyproject.toml).
C-LOGGING Avoid logging sensitive data
Frameworks: SOC2, ISO27001, HIPAA, GDPR
Do not log credentials/PII in plaintext.
NO VIOLATION
indicative evidence
Observed: Pattern-scanned 20 non-test source files for sensitive-data logging (credentials / PII); 0 matches.
C-RESOURCES Manage resources safely
Frameworks: SOC2, ISO27001, ASVS
Open files/connections must be released and open errors handled before use.
NO VIOLATION
indicative evidence
Observed: Pattern-scanned 20 non-test source files for unclosed resources (file/connection leaks); 0 matches.
C-SECRETS No secrets in source code
Frameworks: SOC2, ISO27001, PCI, HIPAA, GDPR, ASVS
API keys, passwords, tokens must not be hardcoded in source.
NO VIOLATION
indicative evidence
Observed: Pattern-scanned 20 non-test source files for hardcoded secrets (API keys, passwords, tokens); 0 matches.
C-CRA-VULN Triage known vulnerabilities with VEX (CRA Arts. 13-14)
Frameworks: CRA
Triage known CVEs in dependencies with observed code usage; unused dependencies are classified from static usage analysis.
NOT ASSESSED
indicative evidence
Observed: No dependency advisory inventory was available for this scan.
Why and next step
Why: An affected dependency is a gap; an in-triage or unclassified statement means applicability is unresolved (review). No advisory inventory is not-assessed.
C-NIS2-VULN Vulnerability handling with VEX triage (Art. 21(2)(e))
Frameworks: NIS2
Triage known CVEs in dependencies with observed code usage; unused dependencies are classified from static usage analysis.
NOT ASSESSED
indicative evidence
Observed: No dependency advisory inventory was available for this scan.
Why and next step
Why: An affected dependency is a gap; an in-triage or unclassified statement means applicability is unresolved (review).

Observations for review (3)

MEDIUMREVIEWDependenciessource-linked observation
requirements-dev.txt:3 ↗

Unpinned dependency pytest-cov: exact version cannot be verified

Dependency pytest-cov is unpinned (no version); AuditScan cannot reliably match advisory ranges or a fixed release.

Source at requirements-dev.txt:3
1-e .[socks]
2pytest>=2.8.0,<10
3pytest-cov
4pytest-httpbin==2.1.0
5httpbin~=0.10.0
MEDIUMREVIEWDependenciessource-linked observation
requirements-dev.txt:6 ↗

Unpinned dependency trustme: exact version cannot be verified

Dependency trustme is unpinned (no version); AuditScan cannot reliably match advisory ranges or a fixed release.

Source at requirements-dev.txt:6
4pytest-httpbin==2.1.0
5httpbin~=0.10.0
6trustme
7wheel
MEDIUMREVIEWDependenciessource-linked observation
requirements-dev.txt:7 ↗

Unpinned dependency wheel: exact version cannot be verified

Dependency wheel is unpinned (no version); AuditScan cannot reliably match advisory ranges or a fixed release.

Source at requirements-dev.txt:7
5httpbin~=0.10.0
6trustme
7wheel
Version history (2 meaningful snapshots)
VersionRevisionScanned (UTC)CoverageChangeSnapshot
v1
3c7baaa05ab421 Nov 2026, 12:54 UTCcompletebaselineView snapshot
v2CURRENTRULES CHANGED
3c7baaa05ab427 Nov 2026, 19:55 UTCcomplete-293 findings
new: High decision complexity in HTTPDigestAuth.build_digest_header, High decision complexity in PreparedRequest.prepare_body, High decision complexity in SessionRedirectMixin.resolve_redi… · gone: High decision complexity in SessionRedirectMixin.resolve_redi…, High decision complexity in HTTPDigestAuth.build_digest_header, High decision complexity in PreparedRequest.prepare_body · +375 more
View snapshot

A rescan is listed only when it finds at least one more issue or improves findings by 10% or more; the latest scan always drives this page. A version marked RULES CHANGED was scanned with a different rule set, so its delta is not a code-only regression.

Scan history

Scanned21 Nov 2026, 12:54 UTC
Completed scans4
Cryptographic Verification & Reproducibility Manifest (SHA-256)
Engine & Ruleset0.1.0 · 730d3675d3675797
Coverage Scope70 / 71 files (1 skipped · 0 excluded)
Source Scan Executed21 Nov 2026, 12:54 UTC
Advisory Feed CheckedChecked during the scan
Certificate Generated03 Dec 2026, 11:06 UTC
Pinned Commit SHA3c7baaa05ab4aa49cc819ce3a819d260de19c157
Snapshot Manifest SHA-256d886432084f846d924b6feb8422d28e29e8415e1540f9a4099e2fefde5bcf5cc
Public Projection Digest SHA-25600a0040c17ded16c4d2f209729174406c685f3415b4208c20e6f4ca3e294ef6a

Was this report useful? Send feedback

Tell us what would make this clearer. Add an email so we can reply, or write to research [at] auditscan.sh.