Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
gif-info is analyzer of the GIF image format. It performs complete analysis of internal GIF block structure and streams it as an "object stream" with metainformations of each block. Also can interpret internal structure by providing the simple object-like interface to base image file informations. Works above all seekable IO streams, so allows processing of the big files too. Doesn't perform LZW decompressing, returns raw data for both color tables and images.
Two different approaches are available: sequential and static. First one yields "stream" of objects which are equivalent to functional blocks in the GIF file and which contain low-level GIF data. It's equivalent of for example SAX parser although, of sure, less complex. The other one provides classical single object-like access to interpreted file informations.
Examples of both are available in the bin
directory. git-info
command writes out content of the static information object, git-dump
dumps content of low level blocks stream.
Modifiing the file and writing changes back is possible (see StructFx library documentation). It isn't implemented directly by this library, but should be easy to implement it if you will need it -- with exception of data blocks as comments or image data -- it's necessary split them to blocks manually in your writing routine. Other structures provided by the library contains binary serialization routines implicitly.
Copyright © 2011 - 2016 Martin Poljak. See LICENSE.txt
for
further details.
FAQs
Unknown package
We found that gif-info demonstrated a not healthy version release cadence and project activity because the last version was released 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.