
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.
@agnoc/cli
Advanced tools
Agnoc command line tool.
Using npm:
$ npm install -g @agnoc/cli
or using yarn:
$ yarn add -g @agnoc/cli
The tool is named agnoc
:
$ agnoc --help
This command configures the wifi connection of the robot to the given one.
$ agnoc wlan my-wifi my-password
This command reads a binary pcap dump file generated with tcpdump and prints packets to stdout.
$ agnoc read dump.pcap
[ID: 7a479a0fbb978c12] [Flow: 1] [UID: 1] [DID: 2] [OP: DEVICE_GETTIME_RSP] {"result":0,"body":{"deviceTime":1606129555,"deviceTimezone":3600}}
It is possible to output to json format to be able to parse and manipulate it:
$ agnoc read --json dump.pcap
[
{
"ctype": 2,
"flow": 1,
"deviceId": 1,
"userId": 2,
"sequence": "7a479a0fbb978c12",
"payload": {
"opcode": {
"code": "0x1012",
"name": "DEVICE_GETTIME_RSP"
},
"object": {
"result": 0,
"body": {
"deviceTime": 1606129555,
"deviceTimezone": 3600
}
}
}
}
]
It is possible to use stdin as input, for example:
$ cat dump.pcap | agnoc read -
[ID: 7a479a0fbb978c12] [Flow: 1] [UID: 2] [DID: 1] [OP: DEVICE_GETTIME_RSP] {"result":0,"body":{"deviceTime":1606129555,"deviceTimezone":3600}}
This command reads a binary tcp flow file generated with WireShark or TShark and prints packets to stdout.
$ agnoc decode example.bin
[ID: 7a479a0fbb978c12] [Flow: 1] [UID: 1] [DID: 2] [OP: DEVICE_GETTIME_RSP] {"result":0,"body":{"deviceTime":1606129555,"deviceTimezone":3600}}
It is possible to output to json format to be able to parse and manipulate it:
$ agnoc decode --json example.bin
[
{
"ctype": 2,
"flow": 1,
"deviceId": 1,
"userId": 2,
"sequence": "7a479a0fbb978c12",
"payload": {
"opcode": {
"code": "0x1012",
"name": "DEVICE_GETTIME_RSP"
},
"object": {
"result": 0,
"body": {
"deviceTime": 1606129555,
"deviceTimezone": 3600
}
}
}
}
]
It is possible to use stdin as input, for example:
$ echo "2500000002010100000002000000128c97bb0f9a477a121008001a090893afeefd0510901c" | xxd -r -p | agnoc decode -
[ID: 7a479a0fbb978c12] [Flow: 1] [UID: 2] [DID: 1] [OP: DEVICE_GETTIME_RSP] {"result":0,"body":{"deviceTime":1606129555,"deviceTimezone":3600}}
As a reverse operation to decode
, encode
command allows to build a binary dump using json as input:
$ agnoc encode example.json | xxd -r -p
2500000002010200000001000000128c97bb0f9a477a121008001a090893
afeefd0510901c
Also, it can be used with stdin:
$ echo '[{"ctype":2,"flow":1,"deviceId":1,"userId":2,"sequence":"7a479a0fbb978c12","opcode":{"code":"0x1012","name":"DEVICE_GETTIME_RSP"},"payload":{"result":0,"body":{"deviceTime":1606129555,"deviceTimezone":3600}}}]' | agnoc encode - | xxd -p
2500000002010200000001000000128c97bb0f9a477a121008001a090893
afeefd0510901c
0.17.2 (2023-04-28)
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
FAQs
Agnoc command line
The npm package @agnoc/cli receives a total of 1 weekly downloads. As such, @agnoc/cli popularity was classified as not popular.
We found that @agnoc/cli 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
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.