
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Python script for detecting faces in an image.
pip install facedetector-py
from facedetector import FaceDetector
img = 'path/to/image.jpg' # or NumPy array
faces = FaceDetector.detect(img)
print(faces)
Output:
[
{
'score': 0.9990496039390564,
'angle': -5.194428907734846,
'pivot': (1960, 819),
'coordinates': [(1920, 782), (1993, 775), (1999, 848), (1927, 855)],
'bounding_box': {
'x': 1920,
'y': 775,
'width': 79,
'height': 80
},
'landmarks': {
'right_eye': (1949.1595, 809.30695),
'left_eye': (1970.3654, 808.0268),
'nose': (1963.1459, 819.6671),
'mouth_right': (1953.5267, 830.48206),
'mouth_left': (1968.4865, 829.6616),
'eyes_center': (1959, 808),
'mouth_center': (1961, 830),
'face_center': (1960, 819)
}
},
...
]
pytest tests/
FAQs
Python script for detecting faces in an image
We found that facedetector-py demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.