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.
@atlaspack/query
Advanced tools
A REPL to investigate the Atlaspack graphs in the cache ("offline", after the build).
atlaspack-query
A REPL to investigate the Atlaspack graphs in the cache ("offline", after the build).
Clone and run yarn
, then cd packages/dev/query && yarn link
to make the atlaspack-query
binary
globally available.
Call .help
to view a list of commands.
In a project root containing a .atlaspack-cache
folder:
$ atlaspack-query
> .findBundleReason 27494aebac508bd8 TJbGI
# Asset is main entry of bundle: false
# Asset is an entry of bundle: false
# Incoming dependencies contained in the bundle:
{
id: '3fd182662e2a6fa9',
type: 'dependency',
value: {
specifier: '../../foo',
specifierType: 0,
...
In the .getAsset 3Xzt5
variant, no quotes/parenthesis are
needed. Alternatively, you can use proper JS: getAsset("3Xzt5")
.
The variables assetGraph
and bundleGraph
contain the deserialized objects.
For a single query, the command (which has to be a JS call) can be specified as a CLI parameter (the disadvantage here is that the graphs have to be loaded on every call as opposed to once when starting the REPL):
$ atlaspack-query 'findBundleReason("b0696febf20b57ce", "bNAUZ")'
FAQs
A REPL to investigate the Atlaspack graphs in the cache ("offline", after the build).
We found that @atlaspack/query demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.