
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@airpie/mdns
Advanced tools
The goal with this is to have a full implementation of MDNS standarts for decoding and encoding in type script.
yarn add @airpie/mdns
Start will create a socket using a random port. This is event driven. Whenever an event is triggered a global event will be fired along side with the specific event.
An event with packet will trigger a new event with the packt decoded.
This sends a query.
import { start, events as mdnsEvents, send, PACKET_RECEIVED } from '@airpie/mdns';
const questions = [
`_airplay_._tcp.local`,
].map((q) => ({
name: q,
type: 0xff,
class: 0x8001,
}));
const TRANSACTION_ID = 0x1111; // any number that would identify queries and responses.
const encodedQuery = encode.header(questions, TRANSACTION_ID);
send(encodedQuery);
mdnsEvents.on(PACKET_RECEIVED, (decodedPacket: DecodedPacket) => {
console.log(decodedPacket);
});
Lots of documentation is necessary specifically around
The idea is to have a close as possible to 100% coverage (I know overrated), but because there are some many nuances from the protocol definition it's better to have all basis covered
This is written from the ground up. Many libraries found were incomplete, lacked documentation and/or reference to resources. This is to start clean and make it as straight forward as possible.
Please PRs are welcome, and emails as well. Feel free to contact me to chat about this.
Coming soon
FAQs
MDNS for AirPie
We found that @airpie/mdns 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.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.