Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
This module is an implementation of archiver for a7d8473 archive format. It can archive directories, files, soft links, has shell interface.
A7d8473 or simply a7d is a simple archive format, that has some nice features:
This is "Hello, world!" file pushed into a7d8473 archive.
a7d8473
:hello.txt/
Hello, world!
~ ~ ~
Here is a little more complex archive:
a7d8473
/name_of_directory/
:name_of_file.txt/
-> here is the content of file <-
~ ~ ~
!name_of_another_file_that_is_executable.py/
print('Hi')
~ ~ ~
@name_of_soft_link/
target_of_this_soft_link
~ ~ ~
@link_to_Hi.py/
./name_of_another_file_that_is_executable.py
~ ~ ~
/empty_directory/
\
\
The first line of archive file is always "a7d8473".
Other lines describe archived files and directories.
:
before hello.txt
means, that file hello.txt
is neither executable nor soft link.
There are other prefixes of file names:
@
denotes soft links.!
denotes executable files./
denotes directories.:
denotes simple files, which are neither executable nor soft links./
is also used as the end of the name because it is not a valid character in file names.
\
means end of directory, while ~ ~ ~
denotes end of file content.
Only printable ASCII characters are used outside of file contents.
Thus, archive files are text files as long as source files are text files.
FAQs
cool plaintext archiver
We found that a7d 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.