fastapi

Warn

Audited by Socket on Sep 11, 2026

3 alerts found:

Anomalyx2Security
AnomalyLOW
evals/files/reports_router.py

The fragment does not show intentional malware or supply-chain backdoor behavior. It contains medium-severity operational and security weaknesses: hardcoded database credentials, blocking calls in async handlers, and an unbounded five-minute background task that can be abused for resource exhaustion. SQL parameters are used correctly for the visible queries. The external request is fixed to a plausible rates endpoint and does not receive sensitive data in this fragment.

Confidence: 98%Severity: 62%
SecurityMEDIUM
evals/files/users_schemas.py

The code does not show package malware or obfuscation, but it contains significant application security risks: possible plaintext password storage, exposure of password hashes and internal notes, and unauthenticated user enumeration and retrieval. Passwords should be hashed before persistence, sensitive fields should be excluded from response models, and authentication and authorization should be enforced.

Confidence: 97%Severity: 82%
AnomalyLOW
evals/files/orders_deps.py

The fragment does not show clear malicious or supply-chain behavior. It contains ordinary external authentication and database access, but has security weaknesses: hardcoded database credentials, forwarding bearer authorization to an external identity provider, insufficient input validation, incomplete SQL as displayed, and missing order ownership enforcement in get_order. The authorization forwarding is not inherently malicious because the destination is a fixed identity-provider URL and is used for authentication. The incomplete fragment limits confidence in the assessment.

Confidence: 97%Severity: 63%
Audit Metadata
Analyzed At
Sep 11, 2026, 03:15 PM
Package URL
pkg:socket/skills-sh/lynricsy%2Fhyperskills%2Ffastapi%2F@13d89f00aa3b6c8111ec4c8af20e73e3fe7b1c5d4621f6de193350e1d657ac0f
Security Audit — socket — fastapi