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.
Ruby gem for file tagging, it can:
Clone this repository:
$ git clone https://github.com/adamruzicka/taggata.git
And then execute:
$ bundle install
Scan filesystem:
$ taggata --db-path $DATABASE scan $PATH_TO_SCAN
Search for entries:
$ taggata --db-path $DATABASE search "$SEARCH_QUERY"
Get count of matching entries:
$ taggata --db-path $DATABASE -c search "$SEARCH_QUERY"
Tag an entry:
$ taggata --db-path $DATABASE tag "$SEARCH_QUERY" "$TAG_QUERY"
Remove files matching a query:
$ taggata --db-path $DATABASE remove "$SEARCH_QUERY"
Query formats: Search query has format of "$TYPE:$PARAMETER", where:
is
- searches for tagtag
- the same as is
path
- matches against absolute paths of filesname
- matches against name of the fileis
and tag
it is a stringpath
and name
it is a regular expressionmissing
- searches for files which are present in the database but not on filesystemuntagged
- searches for files without any tagThe search queries can be combined by using operators and
and or
and parentheses.
For example to get all files tagged as photos taken in year 2014 and 2015 one would issue:
$ taggata $DATABASE search "is:photo and ( is:2014 or is:2015 )"
Tag query has format of +$TAG_NAME
or -$TAG_NAME
, one can specify more in one query
For example to tag all untagged files containing Photos
in path with tags photo
and to-backup
one would issue:
$ taggata $DATABASE tag "untagged and path:Photos" "+photo +to-backup -default"
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that taggata 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.